redoc 2.1.5 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [2.2.0](https://github.com/Redocly/redoc/compare/v2.1.5...v2.2.0) (2024-10-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * show siblings schema with oneOf ([#2576](https://github.com/Redocly/redoc/issues/2576)) ([60d131b](https://github.com/Redocly/redoc/commit/60d131b0a9dab4710e900323c9ba81160cecf7d8))
7
+
8
+
9
+ ### Features
10
+
11
+ * add support x-badges ([#2605](https://github.com/Redocly/redoc/issues/2605)) ([64f1877](https://github.com/Redocly/redoc/commit/64f18779e5fe7e03f25862463cbc5062e85c867c))
12
+
13
+
14
+
1
15
  ## [2.1.5](https://github.com/Redocly/redoc/compare/v2.1.4...v2.1.5) (2024-06-10)
2
16
 
3
17
 
package/README.md CHANGED
@@ -49,7 +49,7 @@ Redoc is provided as a CLI tool (also distributed as a Docker image), HTML tag,
49
49
  If you have Node installed, quickly generate documentation using `npx`:
50
50
 
51
51
  ```bash
52
- npx @redocly/cli build-docs openapi.yaml
52
+ npx @redocly/cli build-docs openapi.yaml
53
53
  ```
54
54
 
55
55
  The tool outputs by default to a file named `redoc-static.html` that you can open in your browser.
@@ -116,6 +116,7 @@ Redoc uses the following [specification extensions](https://redocly.com/docs/api
116
116
  * [`x-logo`](docs/redoc-vendor-extensions.md#x-logo) - is used to specify API logo
117
117
  * [`x-traitTag`](docs/redoc-vendor-extensions.md#x-traitTag) - useful for tags that refer to non-navigation properties like Pagination, Rate-Limits, etc
118
118
  * [`x-codeSamples`](docs/redoc-vendor-extensions.md#x-codeSamples) - specify operation code samples
119
+ * [`x-badges`](docs/redoc-vendor-extensions.md#x-badges) - specify operation badges
119
120
  * [`x-examples`](docs/redoc-vendor-extensions.md#x-examples) - specify JSON example for requests
120
121
  * [`x-nullable`](docs/redoc-vendor-extensions.md#x-nullable) - mark schema param as a nullable
121
122
  * [`x-displayName`](docs/redoc-vendor-extensions.md#x-displayname) - specify human-friendly names for the menu categories
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * ReDoc - OpenAPI/Swagger-generated API Reference Documentation
3
3
  * -------------------------------------------------------------
4
- * Version: "2.1.5"
4
+ * Version: "2.2.0"
5
5
  * Repo: https://github.com/Redocly/redoc
6
6
  */
7
7