|
| 1 | +## 0.3.0 (Dec 16, 2021) |
| 2 | + |
| 3 | +High level enhancements |
| 4 | + |
| 5 | +- Docusaurus beta.13 support (Thanks @Josh-Cena!) |
| 6 | + |
| 7 | + ```js |
| 8 | + // Be sure to update @docusaurus/core: |
| 9 | + "dependencies": { |
| 10 | + "@docusaurus/core": "2.0.0-beta.13", |
| 11 | + // ... |
| 12 | + } |
| 13 | + ``` |
| 14 | + |
| 15 | +- The OpenAPI `info` stanza will now generate an "Introduction" page |
| 16 | + |
| 17 | + ```yaml |
| 18 | + openapi: 3.0.3 |
| 19 | + info: |
| 20 | + title: Swagger Petstore |
| 21 | + version: 1.0.0 |
| 22 | + description: | |
| 23 | + This is a sample server Petstore server. |
| 24 | + You can find out more about Swagger at |
| 25 | + [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). |
| 26 | + For this sample, you can use the api key `special-key` to test the authorization filters. |
| 27 | + ``` |
| 28 | +
|
| 29 | +- Request bodies will now render JSON Schema with the use of `allOf` keywords |
| 30 | + |
| 31 | + ```yaml |
| 32 | + requestBody: |
| 33 | + content: |
| 34 | + description: Example request |
| 35 | + application/json: |
| 36 | + schema: |
| 37 | + allOf: |
| 38 | + - $ref: "#/components/schema/Example1" |
| 39 | + - $ref: "#/components/schema/Example2" |
| 40 | + ``` |
| 41 | + |
| 42 | +- Enum options will now be displayed in schema tables |
| 43 | + <table> |
| 44 | + <tbody> |
| 45 | + <tr> |
| 46 | + <td> |
| 47 | + |
| 48 | + `status` string |
| 49 | + |
| 50 | + Enum: `"available"`, `"pending"`, `"sold"` |
| 51 | + |
| 52 | + Pet status in the store |
| 53 | + |
| 54 | + </td> |
| 55 | + </tr> |
| 56 | + </tbody> |
| 57 | + </table> |
| 58 | + |
| 59 | +Other enhancements and bug fixes |
| 60 | + |
| 61 | +- Initial proxy code ([#97](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/97)) |
| 62 | +- Add support for an introduction page ([#94](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/94)) |
| 63 | +- Add `allOf` JSON schema support ([#96](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/96)) |
| 64 | +- Display enum values in tables ([#93](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/93)) |
| 65 | +- Initial plugin refactor ([#86](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/86)) |
| 66 | +- Upgrade to Docusaurus beta.13 ([#88](https://github.com/cloud-annotations/docusaurus-plugin-openapi/pull/88)) |
| 67 | + |
1 | 68 | ## 0.2.3 (Dec 11, 2021) |
2 | 69 |
|
3 | 70 | Enhancements and bug fixes |
|
0 commit comments