From d5f5ec4c470758e2c58f6469ce05d95941464446 Mon Sep 17 00:00:00 2001 From: Andrew Tatomyr Date: Mon, 21 Oct 2024 15:59:49 +0300 Subject: [PATCH] chore: update outdated links --- .github/styles/Redocly-Docs/FutureTense.yml | 2 +- .github/styles/Redocly-Docs/HeaderGerunds.yml | 2 +- .github/styles/Redocly-Docs/InclusionGenderCulture.yml | 2 +- CONTRIBUTING.md | 2 +- __tests__/bundle/info-description-override-error/main.yaml | 2 +- __tests__/bundle/info-description-override/main.yaml | 2 +- __tests__/bundle/info-description-override/snapshot.js | 2 +- __tests__/bundle/info-override/main.yaml | 2 +- __tests__/bundle/info-override/snapshot.js | 2 +- .../operation-description-override-error/openapi.yaml | 2 +- .../bundle/operation-description-override/openapi.yaml | 2 +- __tests__/bundle/operation-description-override/snapshot.js | 2 +- __tests__/bundle/tag-description-override-error/main.yaml | 2 +- __tests__/bundle/tag-description-override-error/snapshot.js | 2 +- __tests__/bundle/tag-description-override/main.yaml | 2 +- __tests__/bundle/tag-description-override/snapshot.js | 2 +- __tests__/commands.test.ts | 2 +- .../lint/assertion-string-property-min-length/openapi.yaml | 2 +- .../lint/assertions-casing-camel-case-error/openapi.yaml | 2 +- .../lint/assertions-casing-kebab-case-error/openapi.yaml | 2 +- .../lint/assertions-casing-pascal-case-error/openapi.yaml | 2 +- .../lint/assertions-casing-snake-case-error/openapi.yaml | 2 +- .../lint/assertions-custom-function-options/openapi.yaml | 2 +- __tests__/lint/assertions-defined-error/openapi.yaml | 2 +- __tests__/lint/assertions-enum-error/openapi.yaml | 2 +- __tests__/lint/assertions-enum-on-keys-error/openapi.yaml | 2 +- __tests__/lint/assertions-error/openapi.yaml | 2 +- __tests__/lint/assertions-match-parent-keys/openapi.yaml | 2 +- .../lint/assertions-max-length-array-error/openapi.yaml | 2 +- .../lint/assertions-max-length-string-error/openapi.yaml | 2 +- .../lint/assertions-min-length-array-error/openapi.yaml | 2 +- .../lint/assertions-min-length-string-error/openapi.yaml | 2 +- .../lint/assertions-mutually-exclusive-error/openapi.yaml | 2 +- .../lint/assertions-mutually-required-error/openapi.yaml | 2 +- __tests__/lint/assertions-non-empty-error/openapi.yaml | 2 +- __tests__/lint/assertions-non-empty-off/openapi.yaml | 2 +- __tests__/lint/assertions-non-empty-warn/openapi.yaml | 2 +- __tests__/lint/assertions-pattern-error/openapi.yaml | 2 +- __tests__/lint/assertions-pattern-with-object/openapi.yaml | 2 +- __tests__/lint/assertions-query-in-parameters/openapi.yaml | 2 +- __tests__/lint/assertions-require-any-error/openapi.yaml | 2 +- __tests__/lint/assertions-show-suggestions/openapi.yaml | 2 +- .../lint/assertions-type-integer-in-parameter/openapi.yaml | 2 +- .../assertions-type-integer-in-schema-response/openapi.yaml | 2 +- __tests__/lint/assertions-undefined-error/openapi.yaml | 2 +- __tests__/lint/assertions/openapi.yaml | 2 +- __tests__/lint/info-contact--lint-in-apis/openapi.yaml | 2 +- __tests__/lint/info-contact/openapi.yaml | 2 +- __tests__/lint/no-http-verbs-in-paths-error/openapi.yaml | 2 +- .../no-http-verbs-in-paths-split-words-error/openapi.yaml | 2 +- __tests__/lint/no-invalid-media-type-examples/openapi.yaml | 2 +- __tests__/lint/no-path-trailing-slash-off/openapi.yaml | 2 +- .../lint/operation-security-scheme-oas3-error/openapi.yaml | 2 +- __tests__/lint/path-excludes-patterns/openapi.yaml | 2 +- .../lint/request-response-mime-type-oas3-error/openapi.yaml | 2 +- .../request-response-mime-type-oas3.1-error/openapi.yaml | 2 +- .../openapi.yaml | 2 +- .../zero-config/default-recommended-fallback/openapi.yaml | 2 +- .../no-default-recommended-fallback/openapi.yaml | 2 +- package.json | 2 +- packages/cli/package.json | 2 +- packages/cli/src/commands/build-docs/utils.ts | 2 +- .../preview-docs/preview-server/oauth2-redirect.html | 2 +- .../commands/preview-docs/preview-server/preview-server.ts | 6 +++--- packages/core/package.json | 2 +- packages/core/src/benchmark/benches/rebilly.yaml | 3 --- packages/core/src/config/config.ts | 2 +- 67 files changed, 68 insertions(+), 71 deletions(-) diff --git a/.github/styles/Redocly-Docs/FutureTense.yml b/.github/styles/Redocly-Docs/FutureTense.yml index 1836c0e8b..9166ca746 100644 --- a/.github/styles/Redocly-Docs/FutureTense.yml +++ b/.github/styles/Redocly-Docs/FutureTense.yml @@ -1,6 +1,6 @@ extends: existence message: 'Avoid using future tense: "%s". Use present tense instead.' -link: https://intranet.redoc.ly/contributing/documentation-style-guide/#tone-and-audience +link: https://intranet.redocly.com/contributing/documentation-style-guide/#tone-and-audience ignorecase: true level: error raw: diff --git a/.github/styles/Redocly-Docs/HeaderGerunds.yml b/.github/styles/Redocly-Docs/HeaderGerunds.yml index 5f5930708..788279390 100644 --- a/.github/styles/Redocly-Docs/HeaderGerunds.yml +++ b/.github/styles/Redocly-Docs/HeaderGerunds.yml @@ -1,6 +1,6 @@ extends: existence message: 'Do not start headings with with a gerund (ing word). Use an imperative verb instead.' -link: https://intranet.redoc.ly/contributing/documentation-style-guide/#content-organization +link: https://intranet.redocly.com/contributing/documentation-style-guide/#content-organization level: error scope: heading tokens: diff --git a/.github/styles/Redocly-Docs/InclusionGenderCulture.yml b/.github/styles/Redocly-Docs/InclusionGenderCulture.yml index ea1b653ee..ff6e31c9c 100644 --- a/.github/styles/Redocly-Docs/InclusionGenderCulture.yml +++ b/.github/styles/Redocly-Docs/InclusionGenderCulture.yml @@ -1,6 +1,6 @@ extends: substitution message: 'Use inclusive language. Consider "%s" instead of "%s".' -link: https://intranet.redoc.ly/contributing/documentation-style-guide/#grammar-and-syntax +link: https://intranet.redocly.com/contributing/documentation-style-guide/#grammar-and-syntax level: error ignorecase: true swap: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a3c788ed9..36b1dbdb4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -189,7 +189,7 @@ If you made any changes, make sure to compile the code before running the tests. - **`__tests__`**: contains e2e tests. The e2e tests are written and run with [Jest](https://jestjs.io/). -- **`docs`**: contains the documentation source files. When changes to the documentation are merged, they automatically get published on the [Redocly docs website](https://redoc.ly/docs/cli/). +- **`docs`**: contains the documentation source files. When changes to the documentation are merged, they automatically get published on the [Redocly docs website](https://redocly.com/docs/cli/). - **`packages`**: contains the source code. Сonsists of two packages - CLI and core. The codebase is written in Typescript. diff --git a/__tests__/bundle/info-description-override-error/main.yaml b/__tests__/bundle/info-description-override-error/main.yaml index a72db7df1..a589e63bd 100644 --- a/__tests__/bundle/info-description-override-error/main.yaml +++ b/__tests__/bundle/info-description-override-error/main.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/bundle/info-description-override/main.yaml b/__tests__/bundle/info-description-override/main.yaml index a72db7df1..a589e63bd 100644 --- a/__tests__/bundle/info-description-override/main.yaml +++ b/__tests__/bundle/info-description-override/main.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/bundle/info-description-override/snapshot.js b/__tests__/bundle/info-description-override/snapshot.js index b99767005..2ca0b227d 100644 --- a/__tests__/bundle/info-description-override/snapshot.js +++ b/__tests__/bundle/info-description-override/snapshot.js @@ -17,7 +17,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com servers: - url: //petstore.swagger.io/v2 description: Default server diff --git a/__tests__/bundle/info-override/main.yaml b/__tests__/bundle/info-override/main.yaml index a72db7df1..a589e63bd 100644 --- a/__tests__/bundle/info-override/main.yaml +++ b/__tests__/bundle/info-override/main.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/bundle/info-override/snapshot.js b/__tests__/bundle/info-override/snapshot.js index 91fb81235..5e145a47e 100644 --- a/__tests__/bundle/info-override/snapshot.js +++ b/__tests__/bundle/info-override/snapshot.js @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com x-vendor: custom extension servers: - url: //petstore.swagger.io/v2 diff --git a/__tests__/bundle/operation-description-override-error/openapi.yaml b/__tests__/bundle/operation-description-override-error/openapi.yaml index c7bdafcb3..f0c21fd9f 100644 --- a/__tests__/bundle/operation-description-override-error/openapi.yaml +++ b/__tests__/bundle/operation-description-override-error/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet: put: diff --git a/__tests__/bundle/operation-description-override/openapi.yaml b/__tests__/bundle/operation-description-override/openapi.yaml index c7bdafcb3..f0c21fd9f 100644 --- a/__tests__/bundle/operation-description-override/openapi.yaml +++ b/__tests__/bundle/operation-description-override/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet: put: diff --git a/__tests__/bundle/operation-description-override/snapshot.js b/__tests__/bundle/operation-description-override/snapshot.js index 56628ed33..36c7bccb9 100644 --- a/__tests__/bundle/operation-description-override/snapshot.js +++ b/__tests__/bundle/operation-description-override/snapshot.js @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com servers: - url: //petstore.swagger.io/v2 description: Default server diff --git a/__tests__/bundle/tag-description-override-error/main.yaml b/__tests__/bundle/tag-description-override-error/main.yaml index d8ab2987d..b4cf177ea 100644 --- a/__tests__/bundle/tag-description-override-error/main.yaml +++ b/__tests__/bundle/tag-description-override-error/main.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com tags: - name: pet description: Everything about your Pets diff --git a/__tests__/bundle/tag-description-override-error/snapshot.js b/__tests__/bundle/tag-description-override-error/snapshot.js index b9f31c2c6..f759e6000 100644 --- a/__tests__/bundle/tag-description-override-error/snapshot.js +++ b/__tests__/bundle/tag-description-override-error/snapshot.js @@ -8,7 +8,7 @@ bundling ./main.yaml... Failed to read markdown override file for tag "pet". ENOENT: no such file or directory, open './pet-tag-description.md' -15 | email: email@redoc.ly +15 | email: email@redocly.com 16 | tags: 17 | - name: pet | ^^^^^^^^^ diff --git a/__tests__/bundle/tag-description-override/main.yaml b/__tests__/bundle/tag-description-override/main.yaml index d8ab2987d..b4cf177ea 100644 --- a/__tests__/bundle/tag-description-override/main.yaml +++ b/__tests__/bundle/tag-description-override/main.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com tags: - name: pet description: Everything about your Pets diff --git a/__tests__/bundle/tag-description-override/snapshot.js b/__tests__/bundle/tag-description-override/snapshot.js index df3a19942..f59372748 100644 --- a/__tests__/bundle/tag-description-override/snapshot.js +++ b/__tests__/bundle/tag-description-override/snapshot.js @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com servers: - url: //petstore.swagger.io/v2 description: Default server diff --git a/__tests__/commands.test.ts b/__tests__/commands.test.ts index 9bad1cbfb..b6a8f2eea 100644 --- a/__tests__/commands.test.ts +++ b/__tests__/commands.test.ts @@ -614,7 +614,7 @@ describe('E2E', () => { (expect(cleanupOutput(result))).toMatchSpecificSnapshot(join(testPath, 'snapshot.js')); expect(fs.existsSync(join(testPath, 'nested/redoc-static.html'))).toEqual(true); - expect(fs.statSync(join(testPath, 'nested/redoc-static.html')).size).toEqual(32949); + expect(fs.statSync(join(testPath, 'nested/redoc-static.html')).size).toEqual(32952); }); }); diff --git a/__tests__/lint/assertion-string-property-min-length/openapi.yaml b/__tests__/lint/assertion-string-property-min-length/openapi.yaml index baab0e830..ea926de95 100644 --- a/__tests__/lint/assertion-string-property-min-length/openapi.yaml +++ b/__tests__/lint/assertion-string-property-min-length/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-casing-camel-case-error/openapi.yaml b/__tests__/lint/assertions-casing-camel-case-error/openapi.yaml index f1e56a061..2e3426331 100644 --- a/__tests__/lint/assertions-casing-camel-case-error/openapi.yaml +++ b/__tests__/lint/assertions-casing-camel-case-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-casing-kebab-case-error/openapi.yaml b/__tests__/lint/assertions-casing-kebab-case-error/openapi.yaml index 7f2017a20..1da27fe17 100644 --- a/__tests__/lint/assertions-casing-kebab-case-error/openapi.yaml +++ b/__tests__/lint/assertions-casing-kebab-case-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-casing-pascal-case-error/openapi.yaml b/__tests__/lint/assertions-casing-pascal-case-error/openapi.yaml index fc4944c0a..b9297c78f 100644 --- a/__tests__/lint/assertions-casing-pascal-case-error/openapi.yaml +++ b/__tests__/lint/assertions-casing-pascal-case-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-casing-snake-case-error/openapi.yaml b/__tests__/lint/assertions-casing-snake-case-error/openapi.yaml index b5a51cbb9..574401bce 100644 --- a/__tests__/lint/assertions-casing-snake-case-error/openapi.yaml +++ b/__tests__/lint/assertions-casing-snake-case-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-custom-function-options/openapi.yaml b/__tests__/lint/assertions-custom-function-options/openapi.yaml index 4dfb610ba..a5b64cb8d 100644 --- a/__tests__/lint/assertions-custom-function-options/openapi.yaml +++ b/__tests__/lint/assertions-custom-function-options/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-defined-error/openapi.yaml b/__tests__/lint/assertions-defined-error/openapi.yaml index fc2be83c0..8804abcfc 100644 --- a/__tests__/lint/assertions-defined-error/openapi.yaml +++ b/__tests__/lint/assertions-defined-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-enum-error/openapi.yaml b/__tests__/lint/assertions-enum-error/openapi.yaml index 290e73188..aa8b00cea 100644 --- a/__tests__/lint/assertions-enum-error/openapi.yaml +++ b/__tests__/lint/assertions-enum-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-enum-on-keys-error/openapi.yaml b/__tests__/lint/assertions-enum-on-keys-error/openapi.yaml index 8c829f8f5..c75a851fd 100644 --- a/__tests__/lint/assertions-enum-on-keys-error/openapi.yaml +++ b/__tests__/lint/assertions-enum-on-keys-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-error/openapi.yaml b/__tests__/lint/assertions-error/openapi.yaml index 9a15b2a4e..da6c00fd2 100644 --- a/__tests__/lint/assertions-error/openapi.yaml +++ b/__tests__/lint/assertions-error/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com tags: - name: test description: Description. diff --git a/__tests__/lint/assertions-match-parent-keys/openapi.yaml b/__tests__/lint/assertions-match-parent-keys/openapi.yaml index 8f31da48a..c6de86d4a 100644 --- a/__tests__/lint/assertions-match-parent-keys/openapi.yaml +++ b/__tests__/lint/assertions-match-parent-keys/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-max-length-array-error/openapi.yaml b/__tests__/lint/assertions-max-length-array-error/openapi.yaml index 290e73188..aa8b00cea 100644 --- a/__tests__/lint/assertions-max-length-array-error/openapi.yaml +++ b/__tests__/lint/assertions-max-length-array-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-max-length-string-error/openapi.yaml b/__tests__/lint/assertions-max-length-string-error/openapi.yaml index 290e73188..aa8b00cea 100644 --- a/__tests__/lint/assertions-max-length-string-error/openapi.yaml +++ b/__tests__/lint/assertions-max-length-string-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-min-length-array-error/openapi.yaml b/__tests__/lint/assertions-min-length-array-error/openapi.yaml index 290e73188..aa8b00cea 100644 --- a/__tests__/lint/assertions-min-length-array-error/openapi.yaml +++ b/__tests__/lint/assertions-min-length-array-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-min-length-string-error/openapi.yaml b/__tests__/lint/assertions-min-length-string-error/openapi.yaml index 290e73188..aa8b00cea 100644 --- a/__tests__/lint/assertions-min-length-string-error/openapi.yaml +++ b/__tests__/lint/assertions-min-length-string-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-mutually-exclusive-error/openapi.yaml b/__tests__/lint/assertions-mutually-exclusive-error/openapi.yaml index 290e73188..aa8b00cea 100644 --- a/__tests__/lint/assertions-mutually-exclusive-error/openapi.yaml +++ b/__tests__/lint/assertions-mutually-exclusive-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-mutually-required-error/openapi.yaml b/__tests__/lint/assertions-mutually-required-error/openapi.yaml index 290e73188..aa8b00cea 100644 --- a/__tests__/lint/assertions-mutually-required-error/openapi.yaml +++ b/__tests__/lint/assertions-mutually-required-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-non-empty-error/openapi.yaml b/__tests__/lint/assertions-non-empty-error/openapi.yaml index 96aa64eef..860649794 100644 --- a/__tests__/lint/assertions-non-empty-error/openapi.yaml +++ b/__tests__/lint/assertions-non-empty-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-non-empty-off/openapi.yaml b/__tests__/lint/assertions-non-empty-off/openapi.yaml index 96aa64eef..860649794 100644 --- a/__tests__/lint/assertions-non-empty-off/openapi.yaml +++ b/__tests__/lint/assertions-non-empty-off/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-non-empty-warn/openapi.yaml b/__tests__/lint/assertions-non-empty-warn/openapi.yaml index 96aa64eef..860649794 100644 --- a/__tests__/lint/assertions-non-empty-warn/openapi.yaml +++ b/__tests__/lint/assertions-non-empty-warn/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-pattern-error/openapi.yaml b/__tests__/lint/assertions-pattern-error/openapi.yaml index 290e73188..aa8b00cea 100644 --- a/__tests__/lint/assertions-pattern-error/openapi.yaml +++ b/__tests__/lint/assertions-pattern-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-pattern-with-object/openapi.yaml b/__tests__/lint/assertions-pattern-with-object/openapi.yaml index 417af7c60..0117fcead 100644 --- a/__tests__/lint/assertions-pattern-with-object/openapi.yaml +++ b/__tests__/lint/assertions-pattern-with-object/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-query-in-parameters/openapi.yaml b/__tests__/lint/assertions-query-in-parameters/openapi.yaml index 260783ab9..6f87a59b1 100644 --- a/__tests__/lint/assertions-query-in-parameters/openapi.yaml +++ b/__tests__/lint/assertions-query-in-parameters/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-require-any-error/openapi.yaml b/__tests__/lint/assertions-require-any-error/openapi.yaml index 6c5c5b17b..addbbfcdf 100644 --- a/__tests__/lint/assertions-require-any-error/openapi.yaml +++ b/__tests__/lint/assertions-require-any-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-show-suggestions/openapi.yaml b/__tests__/lint/assertions-show-suggestions/openapi.yaml index 290e73188..aa8b00cea 100644 --- a/__tests__/lint/assertions-show-suggestions/openapi.yaml +++ b/__tests__/lint/assertions-show-suggestions/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-type-integer-in-parameter/openapi.yaml b/__tests__/lint/assertions-type-integer-in-parameter/openapi.yaml index 6acb026cb..f9c214c76 100644 --- a/__tests__/lint/assertions-type-integer-in-parameter/openapi.yaml +++ b/__tests__/lint/assertions-type-integer-in-parameter/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-type-integer-in-schema-response/openapi.yaml b/__tests__/lint/assertions-type-integer-in-schema-response/openapi.yaml index 7bbd0c37b..96e15bda2 100644 --- a/__tests__/lint/assertions-type-integer-in-schema-response/openapi.yaml +++ b/__tests__/lint/assertions-type-integer-in-schema-response/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions-undefined-error/openapi.yaml b/__tests__/lint/assertions-undefined-error/openapi.yaml index 290e73188..aa8b00cea 100644 --- a/__tests__/lint/assertions-undefined-error/openapi.yaml +++ b/__tests__/lint/assertions-undefined-error/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/assertions/openapi.yaml b/__tests__/lint/assertions/openapi.yaml index 3b9851770..fa58d515e 100644 --- a/__tests__/lint/assertions/openapi.yaml +++ b/__tests__/lint/assertions/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com tags: - name: test description: Everything about your Pets. diff --git a/__tests__/lint/info-contact--lint-in-apis/openapi.yaml b/__tests__/lint/info-contact--lint-in-apis/openapi.yaml index de891446f..bf2a02712 100644 --- a/__tests__/lint/info-contact--lint-in-apis/openapi.yaml +++ b/__tests__/lint/info-contact--lint-in-apis/openapi.yaml @@ -5,7 +5,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/info-contact/openapi.yaml b/__tests__/lint/info-contact/openapi.yaml index de891446f..bf2a02712 100644 --- a/__tests__/lint/info-contact/openapi.yaml +++ b/__tests__/lint/info-contact/openapi.yaml @@ -5,7 +5,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/lint/no-http-verbs-in-paths-error/openapi.yaml b/__tests__/lint/no-http-verbs-in-paths-error/openapi.yaml index 853b13dec..c776401c4 100644 --- a/__tests__/lint/no-http-verbs-in-paths-error/openapi.yaml +++ b/__tests__/lint/no-http-verbs-in-paths-error/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByPut: diff --git a/__tests__/lint/no-http-verbs-in-paths-split-words-error/openapi.yaml b/__tests__/lint/no-http-verbs-in-paths-split-words-error/openapi.yaml index 2fdb9fca9..b8f05c5af 100644 --- a/__tests__/lint/no-http-verbs-in-paths-split-words-error/openapi.yaml +++ b/__tests__/lint/no-http-verbs-in-paths-split-words-error/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByPut: diff --git a/__tests__/lint/no-invalid-media-type-examples/openapi.yaml b/__tests__/lint/no-invalid-media-type-examples/openapi.yaml index 3c40e643f..481c86eb9 100644 --- a/__tests__/lint/no-invalid-media-type-examples/openapi.yaml +++ b/__tests__/lint/no-invalid-media-type-examples/openapi.yaml @@ -5,7 +5,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com servers: - url: https://my_api.com diff --git a/__tests__/lint/no-path-trailing-slash-off/openapi.yaml b/__tests__/lint/no-path-trailing-slash-off/openapi.yaml index 7d534460e..cb8bb4c2b 100644 --- a/__tests__/lint/no-path-trailing-slash-off/openapi.yaml +++ b/__tests__/lint/no-path-trailing-slash-off/openapi.yaml @@ -5,7 +5,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/: diff --git a/__tests__/lint/operation-security-scheme-oas3-error/openapi.yaml b/__tests__/lint/operation-security-scheme-oas3-error/openapi.yaml index c43c46b9d..b33e1862c 100644 --- a/__tests__/lint/operation-security-scheme-oas3-error/openapi.yaml +++ b/__tests__/lint/operation-security-scheme-oas3-error/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: get: diff --git a/__tests__/lint/path-excludes-patterns/openapi.yaml b/__tests__/lint/path-excludes-patterns/openapi.yaml index 988f5780c..b61422045 100644 --- a/__tests__/lint/path-excludes-patterns/openapi.yaml +++ b/__tests__/lint/path-excludes-patterns/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /Pet: diff --git a/__tests__/lint/request-response-mime-type-oas3-error/openapi.yaml b/__tests__/lint/request-response-mime-type-oas3-error/openapi.yaml index 6f1a7e96b..a2045791a 100644 --- a/__tests__/lint/request-response-mime-type-oas3-error/openapi.yaml +++ b/__tests__/lint/request-response-mime-type-oas3-error/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /store/subscribe: diff --git a/__tests__/lint/request-response-mime-type-oas3.1-error/openapi.yaml b/__tests__/lint/request-response-mime-type-oas3.1-error/openapi.yaml index 7273efb74..0c6ebf8c8 100644 --- a/__tests__/lint/request-response-mime-type-oas3.1-error/openapi.yaml +++ b/__tests__/lint/request-response-mime-type-oas3.1-error/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /store/subscribe: diff --git a/__tests__/lint/required-string-property-missing-min-length/openapi.yaml b/__tests__/lint/required-string-property-missing-min-length/openapi.yaml index 891d66133..180f33c28 100644 --- a/__tests__/lint/required-string-property-missing-min-length/openapi.yaml +++ b/__tests__/lint/required-string-property-missing-min-length/openapi.yaml @@ -11,7 +11,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: diff --git a/__tests__/zero-config/default-recommended-fallback/openapi.yaml b/__tests__/zero-config/default-recommended-fallback/openapi.yaml index c43c46b9d..b33e1862c 100644 --- a/__tests__/zero-config/default-recommended-fallback/openapi.yaml +++ b/__tests__/zero-config/default-recommended-fallback/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: get: diff --git a/__tests__/zero-config/no-default-recommended-fallback/openapi.yaml b/__tests__/zero-config/no-default-recommended-fallback/openapi.yaml index c43c46b9d..b33e1862c 100644 --- a/__tests__/zero-config/no-default-recommended-fallback/openapi.yaml +++ b/__tests__/zero-config/no-default-recommended-fallback/openapi.yaml @@ -12,7 +12,7 @@ info: contact: name: qa url: https://swagger.io/specification/#definitions - email: email@redoc.ly + email: email@redocly.com paths: /pet/findByStatus: get: diff --git a/package.json b/package.json index 609d1f227..e851ed374 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "oas" ], "contributors": [ - "Roman Hotsiy (https://redoc.ly/)" + "Roman Hotsiy (https://redocly.com/)" ], "license": "MIT", "devDependencies": { diff --git a/packages/cli/package.json b/packages/cli/package.json index caf188a11..ed0083473 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -33,7 +33,7 @@ "oas" ], "contributors": [ - "Roman Hotsiy (https://redoc.ly/)" + "Roman Hotsiy (https://redocly.com/)" ], "dependencies": { "@redocly/openapi-core": "1.25.7", diff --git a/packages/cli/src/commands/build-docs/utils.ts b/packages/cli/src/commands/build-docs/utils.ts index 1fcc04411..64976fa9a 100644 --- a/packages/cli/src/commands/build-docs/utils.ts +++ b/packages/cli/src/commands/build-docs/utils.ts @@ -87,7 +87,7 @@ export async function getPageHTML( `, redocHead: - `` + + `` + css, title: title || api.info.title || 'ReDoc documentation', disableGoogleFont, diff --git a/packages/cli/src/commands/preview-docs/preview-server/oauth2-redirect.html b/packages/cli/src/commands/preview-docs/preview-server/oauth2-redirect.html index 988693c83..7df4e773e 100644 --- a/packages/cli/src/commands/preview-docs/preview-server/oauth2-redirect.html +++ b/packages/cli/src/commands/preview-docs/preview-server/oauth2-redirect.html @@ -15,7 +15,7 @@ - + diff --git a/packages/cli/src/commands/preview-docs/preview-server/preview-server.ts b/packages/cli/src/commands/preview-docs/preview-server/preview-server.ts index e3c093499..24865d80a 100644 --- a/packages/cli/src/commands/preview-docs/preview-server/preview-server.ts +++ b/packages/cli/src/commands/preview-docs/preview-server/preview-server.ts @@ -35,8 +35,8 @@ function getPageHTML( `, redocHTML: ` @@ -45,7 +45,7 @@ function getPageHTML( var container = document.getElementById('redoc'); ${ useRedocPro - ? "window[window.__REDOC_EXPORT].setPublicPath('https://cdn.redoc.ly/reference-docs/latest/');" + ? "window[window.__REDOC_EXPORT].setPublicPath('https://cdn.redocly.com/reference-docs/latest/');" : '' } window[window.__REDOC_EXPORT].init("/openapi.json", ${JSON.stringify(redocOptions)}, container) diff --git a/packages/core/package.json b/packages/core/package.json index 8c0481aad..fd0ddc644 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -32,7 +32,7 @@ "oas" ], "contributors": [ - "Roman Hotsiy (https://redoc.ly/)" + "Roman Hotsiy (https://redocly.com/)" ], "dependencies": { "@redocly/ajv": "^8.11.2", diff --git a/packages/core/src/benchmark/benches/rebilly.yaml b/packages/core/src/benchmark/benches/rebilly.yaml index 08525375d..ae70ae7d5 100644 --- a/packages/core/src/benchmark/benches/rebilly.yaml +++ b/packages/core/src/benchmark/benches/rebilly.yaml @@ -10,9 +10,6 @@ info: name: Rebilly url: 'https://www.rebilly.com/api-license/' termsOfService: 'https://www.rebilly.com/terms-of-use/' - x-logo: - url: 'https://rebilly-core.redoc.ly/rb_apiLogo.svg' - backgroundColor: '#0033A0' description: > # Introduction diff --git a/packages/core/src/config/config.ts b/packages/core/src/config/config.ts index 453c2d032..7df93d044 100755 --- a/packages/core/src/config/config.ts +++ b/packages/core/src/config/config.ts @@ -34,7 +34,7 @@ import type { export const IGNORE_FILE = '.redocly.lint-ignore.yaml'; const IGNORE_BANNER = `# This file instructs Redocly's linter to ignore the rules contained for specific parts of your API.\n` + - `# See https://redoc.ly/docs/cli/ for more information.\n`; + `# See https://redocly.com/docs/cli/ for more information.\n`; function getIgnoreFilePath(configFile?: string): string | undefined { if (configFile) {