v0.3.0
0.3.0 (Dec 16, 2021)
High level enhancements
-
Docusaurus beta.13 support (Thanks @Josh-Cena!)
// Be sure to update @docusaurus/core: "dependencies": { "@docusaurus/core": "2.0.0-beta.13", // ... }
-
The OpenAPI
info
stanza will now generate an "Introduction" pageopenapi: 3.0.3 info: title: Swagger Petstore version: 1.0.0 description: | This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
-
Request bodies will now render JSON Schema with the use of
allOf
keywordsrequestBody: content: description: Example request application/json: schema: allOf: - $ref: "#/components/schema/Example1" - $ref: "#/components/schema/Example2"
-
Enum options will now be displayed in schema tables
status
stringEnum:
"available"
,"pending"
,"sold"
Pet status in the store
Other enhancements and bug fixes