From 187e5555585b584769286cd14b383c4e4b12af1f Mon Sep 17 00:00:00 2001 From: Alex Varchuk Date: Wed, 12 Oct 2022 15:28:08 +0300 Subject: [PATCH] chore: update link to redocly.com and add security to definition (#2173) --- README.md | 18 +++++++++--------- demo/openapi-3-1.yaml | 2 ++ demo/openapi.yaml | 2 ++ .../loadAndBundleSpec.test.ts.snap | 6 ++++++ 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8838d132..bdd0eea5 100644 --- a/README.md +++ b/README.md @@ -72,16 +72,16 @@ Checkout the following feature comparison of Redocly's premium products versus R Refer to the Redocly's documentation for more information on these products: -- [Portals](https://redoc.ly/docs/developer-portal/introduction/) -- [Reference](https://redoc.ly/docs/api-reference-docs/getting-started/) -- [Redoc](https://redoc.ly/docs/redoc/quickstart/intro/) +- [Portals](https://redocly.com/docs/developer-portal/introduction/) +- [Reference](https://redocly.com/docs/api-reference-docs/getting-started/) +- [Redoc](https://redocly.com/docs/redoc/quickstart/intro/) ## Features - Responsive three-panel design with menu/scrolling synchronization -- [Multiple deployment options](https://redoc.ly/docs/redoc/quickstart/intro/) -- [Server-side rendering (SSR) ready](https://redoc.ly/docs/redoc/quickstart/cli/#redoc-cli-commands) +- [Multiple deployment options](https://redocly.com/docs/redoc/quickstart/intro/) +- [Server-side rendering (SSR) ready](https://redocly.com/docs/redoc/quickstart/cli/#redoc-cli-commands) - Ability to integrate your API introduction into the side menu -- [Simple integration with `create-react-app`](https://redoc.ly/docs/redoc/quickstart/react/) +- [Simple integration with `create-react-app`](https://redocly.com/docs/redoc/quickstart/react/) [Example repo](https://github.com/APIs-guru/create-react-app-redoc) - [Command-line interface to bundle your docs into a **zero-dependency** HTML file](https://redoc.ly/docs/redoc/quickstart/cli/) @@ -89,9 +89,9 @@ Refer to the Redocly's documentation for more information on these products: ![](docs/images/nested-demo.gif) ## Customization options -[Customization services](https://redoc.ly/#services) -- High-level grouping in side-menu with the [`x-tagGroups`](https://redoc.ly/docs/api-reference-docs/specification-extensions/x-tag-groups/) specification extension -- Branding/customizations using the [`theme` option](https://redoc.ly/docs/api-reference-docs/configuration/theming/) +[Customization services](https://redocly.com/#services) +- High-level grouping in side-menu with the [`x-tagGroups`](https://redocly.com/docs/api-reference-docs/specification-extensions/x-tag-groups/) specification extension +- Branding/customizations using the [`theme` option](https://redocly.com/docs/api-reference-docs/configuration/theming/) ## Support - OpenAPI v3.0 support diff --git a/demo/openapi-3-1.yaml b/demo/openapi-3-1.yaml index 4b2418c9..81ad7dd7 100644 --- a/demo/openapi-3-1.yaml +++ b/demo/openapi-3-1.yaml @@ -88,6 +88,8 @@ x-tagGroups: tags: - pet_model - store_model +security: + - {} paths: /pet: parameters: diff --git a/demo/openapi.yaml b/demo/openapi.yaml index afa56594..0adb6933 100644 --- a/demo/openapi.yaml +++ b/demo/openapi.yaml @@ -83,6 +83,8 @@ x-tagGroups: tags: - pet_model - store_model +security: + - {} paths: /pet: parameters: diff --git a/src/utils/__tests__/__snapshots__/loadAndBundleSpec.test.ts.snap b/src/utils/__tests__/__snapshots__/loadAndBundleSpec.test.ts.snap index 4e7fea79..ecdf3e21 100644 --- a/src/utils/__tests__/__snapshots__/loadAndBundleSpec.test.ts.snap +++ b/src/utils/__tests__/__snapshots__/loadAndBundleSpec.test.ts.snap @@ -1743,6 +1743,9 @@ culpa qui officia deserunt mollit anim id est laborum. }, }, }, + "security": Array [ + Object {}, + ], "servers": Array [ Object { "description": "Default server", @@ -3729,6 +3732,9 @@ culpa qui officia deserunt mollit anim id est laborum. }, }, }, + "security": Array [ + Object {}, + ], "servers": Array [ Object { "description": "Default server",