redoc 2.1.3 → 2.1.5

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.
Files changed (81) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +7 -8
  3. package/bundles/756674defce81e90acea.worker.js.LICENSE.txt +1 -1
  4. package/bundles/redoc.browser.lib.js +151 -145
  5. package/bundles/redoc.browser.lib.js.LICENSE.txt +1 -1
  6. package/bundles/redoc.browser.lib.js.map +1 -1
  7. package/bundles/redoc.lib.js +149 -143
  8. package/bundles/redoc.lib.js.LICENSE.txt +1 -1
  9. package/bundles/redoc.lib.js.map +1 -1
  10. package/bundles/redoc.standalone.js +258 -252
  11. package/bundles/redoc.standalone.js.LICENSE.txt +31 -24
  12. package/bundles/redoc.standalone.js.map +1 -1
  13. package/package.json +30 -32
  14. package/typings/common-elements/Tooltip.d.ts +2 -2
  15. package/typings/common-elements/linkify.d.ts +3 -3
  16. package/typings/common-elements/perfect-scrollbar.d.ts +3 -3
  17. package/typings/components/ApiInfo/ApiInfo.d.ts +1 -1
  18. package/typings/components/ApiLogo/ApiLogo.d.ts +1 -1
  19. package/typings/components/ApiLogo/styled.elements.d.ts +2 -2
  20. package/typings/components/CallbackSamples/CallbackReqSamples.d.ts +1 -1
  21. package/typings/components/CallbackSamples/CallbackSamples.d.ts +1 -1
  22. package/typings/components/Callbacks/CallbackDetails.d.ts +1 -1
  23. package/typings/components/Callbacks/CallbackOperation.d.ts +1 -1
  24. package/typings/components/Callbacks/CallbackTitle.d.ts +2 -2
  25. package/typings/components/Callbacks/CallbacksList.d.ts +1 -1
  26. package/typings/components/Callbacks/styled.elements.d.ts +1 -1
  27. package/typings/components/ContentItems/ContentItems.d.ts +4 -4
  28. package/typings/components/Endpoint/Endpoint.d.ts +1 -1
  29. package/typings/components/ErrorBoundary.d.ts +1 -1
  30. package/typings/components/ExternalDocumentation/ExternalDocumentation.d.ts +1 -1
  31. package/typings/components/Fields/ArrayItemDetails.d.ts +2 -2
  32. package/typings/components/Fields/EnumValues.d.ts +1 -1
  33. package/typings/components/Fields/Examples.d.ts +2 -2
  34. package/typings/components/Fields/Extensions.d.ts +1 -1
  35. package/typings/components/Fields/Field.d.ts +1 -1
  36. package/typings/components/Fields/FieldConstraints.d.ts +1 -1
  37. package/typings/components/Fields/FieldDetails.d.ts +1 -1
  38. package/typings/components/Fields/Pattern.d.ts +2 -2
  39. package/typings/components/GenericChildrenSwitcher/GenericChildrenSwitcher.d.ts +1 -1
  40. package/typings/components/JsonViewer/JsonViewer.d.ts +2 -2
  41. package/typings/components/Loading/Loading.d.ts +1 -1
  42. package/typings/components/Loading/Spinner.svg.d.ts +2 -2
  43. package/typings/components/Markdown/AdvancedMarkdown.d.ts +2 -2
  44. package/typings/components/Markdown/Markdown.d.ts +1 -1
  45. package/typings/components/Markdown/SanitizedMdBlock.d.ts +2 -2
  46. package/typings/components/MediaTypeSwitch/MediaTypesSwitch.d.ts +1 -1
  47. package/typings/components/Parameters/Parameters.d.ts +1 -1
  48. package/typings/components/Parameters/ParametersGroup.d.ts +1 -1
  49. package/typings/components/PayloadSamples/Example.d.ts +3 -3
  50. package/typings/components/PayloadSamples/ExampleValue.d.ts +2 -2
  51. package/typings/components/PayloadSamples/MediaTypeSamples.d.ts +1 -1
  52. package/typings/components/PayloadSamples/PayloadSamples.d.ts +1 -1
  53. package/typings/components/Redoc/Redoc.d.ts +1 -1
  54. package/typings/components/RedocStandalone.d.ts +2 -2
  55. package/typings/components/RequestSamples/RequestSamples.d.ts +1 -1
  56. package/typings/components/ResponseSamples/ResponseSamples.d.ts +1 -1
  57. package/typings/components/Responses/ResponseDetails.d.ts +1 -1
  58. package/typings/components/Responses/ResponseHeaders.d.ts +1 -1
  59. package/typings/components/Responses/ResponsesList.d.ts +1 -1
  60. package/typings/components/Schema/ArraySchema.d.ts +1 -1
  61. package/typings/components/Schema/DiscriminatorDropdown.d.ts +1 -1
  62. package/typings/components/Schema/ObjectSchema.d.ts +2 -2
  63. package/typings/components/Schema/OneOfSchema.d.ts +2 -2
  64. package/typings/components/Schema/RecursiveSchema.d.ts +2 -2
  65. package/typings/components/Schema/Schema.d.ts +1 -1
  66. package/typings/components/SchemaDefinition/SchemaDefinition.d.ts +1 -1
  67. package/typings/components/SearchBox/SearchBox.d.ts +3 -1
  68. package/typings/components/SearchBox/styled.elements.d.ts +2 -2
  69. package/typings/components/SecurityRequirement/OAuthFlow.d.ts +1 -1
  70. package/typings/components/SecurityRequirement/SecurityDetails.d.ts +2 -2
  71. package/typings/components/SecurityRequirement/SecurityHeader.d.ts +2 -2
  72. package/typings/components/SecurityRequirement/SecurityRequirement.d.ts +2 -2
  73. package/typings/components/SecuritySchemes/SecuritySchemes.d.ts +1 -1
  74. package/typings/components/SelectOnClick/SelectOnClick.d.ts +2 -2
  75. package/typings/components/SideMenu/MenuItem.d.ts +2 -2
  76. package/typings/components/SideMenu/MenuItems.d.ts +1 -1
  77. package/typings/components/SideMenu/SideMenu.d.ts +3 -1
  78. package/typings/components/SourceCode/SourceCode.d.ts +3 -3
  79. package/typings/components/StickySidebar/ChevronSvg.d.ts +2 -2
  80. package/typings/components/StickySidebar/StickyResponsiveSidebar.d.ts +2 -2
  81. package/typings/services/OpenAPIParser.d.ts +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,23 @@
1
+ ## [2.1.5](https://github.com/Redocly/redoc/compare/v2.1.4...v2.1.5) (2024-06-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update react to 18 and react-tabs to 6 ([#2547](https://github.com/Redocly/redoc/issues/2547)) ([c664dd0](https://github.com/Redocly/redoc/commit/c664dd0d56571ce799b8eadd081d86a6b2cdefae))
7
+
8
+
9
+
10
+ ## [2.1.4](https://github.com/Redocly/redoc/compare/v2.1.3...v2.1.4) (2024-04-25)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * add deprecated css to clickable property name ([#2526](https://github.com/Redocly/redoc/issues/2526)) ([b0d03d0](https://github.com/Redocly/redoc/commit/b0d03d02069c1508447ddebc2f8a3fffa9b03ce5))
16
+ * use h2/h3 for headings instead of h1/h2 for better seo ([#2514](https://github.com/Redocly/redoc/issues/2514)) ([2b72dc0](https://github.com/Redocly/redoc/commit/2b72dc0e90f759a8ee2e47691c844e7f05928a24))
17
+ * security vulnerability ([#2445](https://github.com/Redocly/redoc/pull/2445)) ([1f11f5](https://github.com/Redocly/redoc/commit/1f11f597c4f10ddd601db247f5034052b6ca689f))
18
+
19
+
20
+
1
21
  ## [2.1.3](https://github.com/Redocly/redoc/compare/v2.1.2...v2.1.3) (2023-10-24)
2
22
 
3
23
 
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
1
  <div align="center">
2
2
  <img alt="Redoc logo" src="https://raw.githubusercontent.com/Redocly/redoc/main//docs/images/redoc.png" width="400px" />
3
3
 
4
- # Generate interactive API documentation from OpenAPI definitions
4
+ # Generate beautiful API documentation from OpenAPI
5
5
 
6
6
  [![npm](http://img.shields.io/npm/v/redoc.svg)](https://www.npmjs.com/package/redoc) [![License](https://img.shields.io/npm/l/redoc.svg)](https://github.com/Redocly/redoc/blob/main/LICENSE)
7
7
 
8
- [![bundle size](http://img.badgesize.io/https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js?compression=gzip&max=300000)](https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js) [![npm](https://img.shields.io/npm/dm/redoc.svg)](https://www.npmjs.com/package/redoc) [![](https://data.jsdelivr.com/v1/package/npm/redoc/badge)](https://www.jsdelivr.com/package/npm/redoc)
8
+ [![bundle size](http://img.badgesize.io/https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js?compression=gzip&max=300000)](https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js) [![npm](https://img.shields.io/npm/dm/redoc.svg)](https://www.npmjs.com/package/redoc) [![jsDelivr status](https://data.jsdelivr.com/v1/package/npm/redoc/badge)](https://www.jsdelivr.com/package/npm/redoc)
9
9
  </div>
10
10
 
11
11
 
@@ -34,13 +34,11 @@ enter the URL for your definition and select **TRY IT**.
34
34
 
35
35
  - Responsive three-panel design with menu/scrolling synchronization
36
36
  - Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0
37
- - [Multiple deployment options](https://redocly.com/docs/redoc/)
38
- - Interactive interface so your users can try the API immediately
39
37
  - Ability to integrate your API introduction into the side menu
40
38
  - High-level grouping in side menu with the [`x-tagGroups`](https://redocly.com/docs/api-reference-docs/specification-extensions/x-tag-groups/) specification extension
41
39
  - [Simple integration with `create-react-app`](https://redocly.com/docs/redoc/quickstart/react/)
42
40
  - Code samples support (with vendor extension) <br>
43
- ![](docs/images/code-samples-demo.gif)
41
+ ![code samples in action](docs/images/code-samples-demo.gif)
44
42
 
45
43
  ## Usage
46
44
 
@@ -50,7 +48,7 @@ Redoc is provided as a CLI tool (also distributed as a Docker image), HTML tag,
50
48
 
51
49
  If you have Node installed, quickly generate documentation using `npx`:
52
50
 
53
- ```
51
+ ```bash
54
52
  npx @redocly/cli build-docs openapi.yaml
55
53
  ```
56
54
 
@@ -73,9 +71,9 @@ Add your own `spec-url` to the `<redoc>` tag; this attribute can also be a local
73
71
 
74
72
  ### More usage options
75
73
 
76
- Check out the [deployment documentation](./deploment/index/md) for more options, and detailed documentation for each.
74
+ Check out the [deployment documentation](./docs/deployment/intro.md) for more options, and detailed documentation for each.
77
75
 
78
- ## Redoc vs. Reference
76
+ ## Redoc vs. Redocly API Reference
79
77
 
80
78
  Redoc is Redocly's community-edition product. Looking for something more?
81
79
  We also offer [hosted API reference documentation](https://redocly.com/docs/api-registry/guides/api-registry-quickstart/)
@@ -104,6 +102,7 @@ A sample of the organizations using Redocly tools in the wild:
104
102
  - [Commbox](https://www.commbox.io/api/)
105
103
  - [APIs.guru](https://apis.guru/api-doc/)
106
104
  - [BoxKnight](https://www.docs.boxknight.com/)
105
+ - [Quaderno API](https://developers.quaderno.io/api)
107
106
 
108
107
  _Pull requests to add your own API page to the list are welcome_
109
108
 
@@ -1,7 +1,7 @@
1
1
  /*!
2
2
  * ReDoc - OpenAPI/Swagger-generated API Reference Documentation
3
3
  * -------------------------------------------------------------
4
- * Version: "2.1.3"
4
+ * Version: "2.1.5"
5
5
  * Repo: https://github.com/Redocly/redoc
6
6
  */
7
7