From b6c445cdc35f04306a7c028ba1bf9dab56230737 Mon Sep 17 00:00:00 2001 From: William Cheng Date: Tue, 8 Feb 2022 13:31:20 +0800 Subject: [PATCH] update swagger core, jackson to newer version (#11545) --- pom.xml | 4 +- .../petstore/go/go-petstore/api/openapi.yaml | 32 +++++----- .../petstore/haskell-http-client/openapi.yaml | 32 +++++----- .../java/apache-httpclient/api/openapi.yaml | 32 +++++----- .../java/feign-no-nullable/api/openapi.yaml | 32 +++++----- .../petstore/java/feign/api/openapi.yaml | 36 +++++------ .../java/google-api-client/api/openapi.yaml | 32 +++++----- .../petstore/java/jersey1/api/openapi.yaml | 32 +++++----- .../api/openapi.yaml | 32 +++++----- .../java/jersey2-java8/api/openapi.yaml | 32 +++++----- .../java/native-async/api/openapi.yaml | 32 +++++----- .../petstore/java/native/api/openapi.yaml | 32 +++++----- .../src/main/resources/openapi/openapi.yaml | 32 +++++----- .../api/openapi.yaml | 32 +++++----- .../java/okhttp-gson/api/openapi.yaml | 60 +++++++++---------- .../rest-assured-jackson/api/openapi.yaml | 32 +++++----- .../java/rest-assured/api/openapi.yaml | 32 +++++----- .../petstore/java/resteasy/api/openapi.yaml | 32 +++++----- .../resttemplate-withXml/api/openapi.yaml | 32 +++++----- .../java/resttemplate/api/openapi.yaml | 32 +++++----- .../java/retrofit2-play26/api/openapi.yaml | 32 +++++----- .../petstore/java/retrofit2/api/openapi.yaml | 32 +++++----- .../java/retrofit2rx2/api/openapi.yaml | 32 +++++----- .../java/retrofit2rx3/api/openapi.yaml | 32 +++++----- .../java/vertx-no-nullable/api/openapi.yaml | 32 +++++----- .../petstore/java/vertx/api/openapi.yaml | 32 +++++----- .../petstore/java/webclient/api/openapi.yaml | 36 +++++------ .../go-experimental/api/openapi.yaml | 4 +- .../java/jersey2-java8/api/openapi.yaml | 4 +- .../petstore/go/go-petstore/api/openapi.yaml | 46 +++++++------- .../api/openapi.yaml | 7 ++- .../java/jersey2-java8/api/openapi.yaml | 60 +++++++++---------- .../src/main/resources/openapi.yaml | 12 ++-- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 12 ++-- .../petstore/go-api-server/api/openapi.yaml | 12 ++-- .../petstore/go-chi-server/api/openapi.yaml | 12 ++-- .../go-echo-server/.docs/api/openapi.yaml | 12 ++-- .../go-gin-api-server/api/openapi.yaml | 12 ++-- .../go-server-required/api/openapi.yaml | 20 +++---- .../public/openapi.json | 8 +-- .../src/main/resources/openapi.yaml | 12 ++-- .../src/main/openapi/openapi.yaml | 32 +++++----- .../jaxrs-spec/src/main/openapi/openapi.yaml | 32 +++++----- .../src/openapi_server/openapi/openapi.yaml | 8 +-- .../openapi_server/openapi/openapi.yaml | 8 +-- .../petstore/python-fastapi/openapi.yaml | 12 ++-- .../openapi_server/openapi/openapi.yaml | 8 +-- .../api/openapi.yaml | 28 ++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- .../src/main/resources/openapi.yaml | 32 +++++----- 71 files changed, 985 insertions(+), 984 deletions(-) diff --git a/pom.xml b/pom.xml index 358690a1210..835258f4912 100644 --- a/pom.xml +++ b/pom.xml @@ -1599,7 +1599,7 @@ 30.1.1-jre 4.2.1 2.10.0 - 2.10.2 + 2.12.1 0.8.7 1.14 4.13.2 @@ -1618,7 +1618,7 @@ 1.7.32 3.1.12.2 3.0.0-M5 - 2.1.2 + 2.1.12 io.swagger.parser.v3 2.0.26 7.3.0 diff --git a/samples/client/petstore/go/go-petstore/api/openapi.yaml b/samples/client/petstore/go/go-petstore/api/openapi.yaml index 969da54c6c8..3d2b8a39e04 100644 --- a/samples/client/petstore/go/go-petstore/api/openapi.yaml +++ b/samples/client/petstore/go/go-petstore/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -126,8 +126,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -826,11 +826,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1088,8 +1088,8 @@ paths: x-codegen-request-body-name: body /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1371,7 +1371,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1449,13 +1449,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1475,11 +1475,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/haskell-http-client/openapi.yaml b/samples/client/petstore/haskell-http-client/openapi.yaml index 969da54c6c8..3d2b8a39e04 100644 --- a/samples/client/petstore/haskell-http-client/openapi.yaml +++ b/samples/client/petstore/haskell-http-client/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -126,8 +126,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -826,11 +826,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1088,8 +1088,8 @@ paths: x-codegen-request-body-name: body /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1371,7 +1371,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1449,13 +1449,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1475,11 +1475,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/apache-httpclient/api/openapi.yaml b/samples/client/petstore/java/apache-httpclient/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/apache-httpclient/api/openapi.yaml +++ b/samples/client/petstore/java/apache-httpclient/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml b/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml +++ b/samples/client/petstore/java/feign-no-nullable/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/feign/api/openapi.yaml b/samples/client/petstore/java/feign/api/openapi.yaml index 69355993fb1..68e67d34c77 100644 --- a/samples/client/petstore/java/feign/api/openapi.yaml +++ b/samples/client/petstore/java/feign/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.0 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -10,7 +10,7 @@ info: version: 1.0.0 servers: - description: petstore server - url: http://{server}.swagger.io:{port}/v2 + url: "http://{server}.swagger.io:{port}/v2" variables: server: default: petstore @@ -24,7 +24,7 @@ servers: - "80" - "8080" - description: The local server - url: https://localhost:8080/{version} + url: "https://localhost:8080/{version}" variables: version: default: v2 @@ -143,8 +143,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -886,11 +886,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1136,8 +1136,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request must reference a schema - named `File`. + description: "For this test, the body for this request must reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1154,7 +1154,7 @@ paths: x-accepts: application/json /fake/body-with-binary: put: - description: For this test, the body has to be a binary file. + description: "For this test, the body has to be a binary file." operationId: testBodyWithBinary requestBody: content: @@ -1669,7 +1669,7 @@ components: format: number type: string string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte @@ -1694,12 +1694,12 @@ components: type: string pattern_with_digits: description: A string that is a 10 digit number. Can have leading zeros. - pattern: ^\d{10}$ + pattern: "^\\d{10}$" type: string pattern_with_digits_and_delimiter: description: A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. - pattern: /^image_\d{1,3}$/i + pattern: "/^image_\\d{1,3}$/i" type: string required: - byte @@ -1988,7 +1988,7 @@ components: format: int64 type: integer xml: - name: $special[model.name] + name: "$special[model.name]" HealthCheckResult: description: Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. @@ -2169,11 +2169,11 @@ components: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None diff --git a/samples/client/petstore/java/google-api-client/api/openapi.yaml b/samples/client/petstore/java/google-api-client/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/google-api-client/api/openapi.yaml +++ b/samples/client/petstore/java/google-api-client/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/jersey1/api/openapi.yaml b/samples/client/petstore/java/jersey1/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/jersey1/api/openapi.yaml +++ b/samples/client/petstore/java/jersey1/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml b/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/jersey2-java8/api/openapi.yaml b/samples/client/petstore/java/jersey2-java8/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/jersey2-java8/api/openapi.yaml +++ b/samples/client/petstore/java/jersey2-java8/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/native-async/api/openapi.yaml b/samples/client/petstore/java/native-async/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/native-async/api/openapi.yaml +++ b/samples/client/petstore/java/native-async/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/native/api/openapi.yaml b/samples/client/petstore/java/native/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/native/api/openapi.yaml +++ b/samples/client/petstore/java/native/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/resources/openapi/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/okhttp-gson/api/openapi.yaml b/samples/client/petstore/java/okhttp-gson/api/openapi.yaml index db801488ccb..eec4c835d32 100644 --- a/samples/client/petstore/java/okhttp-gson/api/openapi.yaml +++ b/samples/client/petstore/java/okhttp-gson/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.0 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -10,7 +10,7 @@ info: version: 1.0.0 servers: - description: petstore server - url: http://{server}.swagger.io:{port}/v2 + url: "http://{server}.swagger.io:{port}/v2" variables: server: default: petstore @@ -24,7 +24,7 @@ servers: - "80" - "8080" - description: The local server - url: https://localhost:8080/{version} + url: "https://localhost:8080/{version}" variables: version: default: v2 @@ -142,8 +142,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -879,11 +879,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1109,8 +1109,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1387,9 +1387,9 @@ components: lastName: lastName password: password userStatus: 6 - objectWithNoDeclaredPropsNullable: '{}' + objectWithNoDeclaredPropsNullable: "{}" phone: phone - objectWithNoDeclaredProps: '{}' + objectWithNoDeclaredProps: "{}" id: 0 anyTypePropNullable: "" email: email @@ -1426,14 +1426,14 @@ components: nullable: true type: object anyTypeProp: - description: test code generation for any type Here the 'type' attribute - is not specified, which means the value can be anything, including the - null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 + description: "test code generation for any type Here the 'type' attribute\ + \ is not specified, which means the value can be anything, including the\ + \ null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389" anyTypePropNullable: - description: test code generation for any type Here the 'type' attribute - is not specified, which means the value can be anything, including the - null value, string, number, boolean, array or object. The 'nullable' attribute - does not change the allowed values. + description: "test code generation for any type Here the 'type' attribute\ + \ is not specified, which means the value can be anything, including the\ + \ null value, string, number, boolean, array or object. The 'nullable'\ + \ attribute does not change the allowed values." nullable: true type: object xml: @@ -1623,7 +1623,7 @@ components: format: number type: string string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte @@ -1650,12 +1650,12 @@ components: type: string pattern_with_digits: description: A string that is a 10 digit number. Can have leading zeros. - pattern: ^\d{10}$ + pattern: "^\\d{10}$" type: string pattern_with_digits_and_delimiter: description: A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. - pattern: /^image_\d{1,3}$/i + pattern: "/^image_\\d{1,3}$/i" type: string required: - byte @@ -1735,8 +1735,8 @@ components: type: object empty_map: additionalProperties: false - description: an object with no declared properties and no undeclared properties, - hence it's an empty map. + description: "an object with no declared properties and no undeclared properties,\ + \ hence it's an empty map." type: object map_with_undeclared_properties_string: additionalProperties: @@ -1966,7 +1966,7 @@ components: _special_model.name_: type: string xml: - name: $special[model.name] + name: "$special[model.name]" HealthCheckResult: description: Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. @@ -2047,10 +2047,10 @@ components: nullable: true properties: cultivar: - pattern: ^[a-zA-Z\s]*$ + pattern: "^[a-zA-Z\\s]*$" type: string origin: - pattern: /^[A-Z\s]*$/i + pattern: "/^[A-Z\\s]*$/i" type: string type: object banana: @@ -2400,11 +2400,11 @@ components: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None diff --git a/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml b/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml +++ b/samples/client/petstore/java/rest-assured-jackson/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/rest-assured/api/openapi.yaml b/samples/client/petstore/java/rest-assured/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/rest-assured/api/openapi.yaml +++ b/samples/client/petstore/java/rest-assured/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/resteasy/api/openapi.yaml b/samples/client/petstore/java/resteasy/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/resteasy/api/openapi.yaml +++ b/samples/client/petstore/java/resteasy/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml b/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate-withXml/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/resttemplate/api/openapi.yaml b/samples/client/petstore/java/resttemplate/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/resttemplate/api/openapi.yaml +++ b/samples/client/petstore/java/resttemplate/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml b/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2-play26/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/retrofit2/api/openapi.yaml b/samples/client/petstore/java/retrofit2/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/retrofit2/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml b/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2rx2/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml b/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml +++ b/samples/client/petstore/java/retrofit2rx3/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml b/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml +++ b/samples/client/petstore/java/vertx-no-nullable/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/vertx/api/openapi.yaml b/samples/client/petstore/java/vertx/api/openapi.yaml index 1f1a369ece5..9489c24fc63 100644 --- a/samples/client/petstore/java/vertx/api/openapi.yaml +++ b/samples/client/petstore/java/vertx/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -131,8 +131,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -862,11 +862,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1144,8 +1144,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1432,7 +1432,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1510,13 +1510,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1536,11 +1536,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/client/petstore/java/webclient/api/openapi.yaml b/samples/client/petstore/java/webclient/api/openapi.yaml index 69355993fb1..68e67d34c77 100644 --- a/samples/client/petstore/java/webclient/api/openapi.yaml +++ b/samples/client/petstore/java/webclient/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.0 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -10,7 +10,7 @@ info: version: 1.0.0 servers: - description: petstore server - url: http://{server}.swagger.io:{port}/v2 + url: "http://{server}.swagger.io:{port}/v2" variables: server: default: petstore @@ -24,7 +24,7 @@ servers: - "80" - "8080" - description: The local server - url: https://localhost:8080/{version} + url: "https://localhost:8080/{version}" variables: version: default: v2 @@ -143,8 +143,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -886,11 +886,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1136,8 +1136,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request must reference a schema - named `File`. + description: "For this test, the body for this request must reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1154,7 +1154,7 @@ paths: x-accepts: application/json /fake/body-with-binary: put: - description: For this test, the body has to be a binary file. + description: "For this test, the body has to be a binary file." operationId: testBodyWithBinary requestBody: content: @@ -1669,7 +1669,7 @@ components: format: number type: string string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte @@ -1694,12 +1694,12 @@ components: type: string pattern_with_digits: description: A string that is a 10 digit number. Can have leading zeros. - pattern: ^\d{10}$ + pattern: "^\\d{10}$" type: string pattern_with_digits_and_delimiter: description: A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. - pattern: /^image_\d{1,3}$/i + pattern: "/^image_\\d{1,3}$/i" type: string required: - byte @@ -1988,7 +1988,7 @@ components: format: int64 type: integer xml: - name: $special[model.name] + name: "$special[model.name]" HealthCheckResult: description: Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. @@ -2169,11 +2169,11 @@ components: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/api/openapi.yaml b/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/api/openapi.yaml index a23135ce523..e5fe1db46c7 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/api/openapi.yaml +++ b/samples/openapi3/client/extensions/x-auth-id-alias/go-experimental/api/openapi.yaml @@ -9,7 +9,7 @@ info: version: 1.0.0 servers: - description: petstore server - url: http://{server}.swagger.io:{port}/v2 + url: "http://{server}.swagger.io:{port}/v2" variables: server: default: petstore @@ -23,7 +23,7 @@ servers: - "80" - "8080" - description: The local server - url: https://localhost:8080/{version} + url: "https://localhost:8080/{version}" variables: version: default: v2 diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/api/openapi.yaml b/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/api/openapi.yaml index 1ea9d4a6783..9f0481faefd 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/api/openapi.yaml +++ b/samples/openapi3/client/extensions/x-auth-id-alias/java/jersey2-java8/api/openapi.yaml @@ -9,7 +9,7 @@ info: version: 1.0.0 servers: - description: petstore server - url: http://{server}.swagger.io:{port}/v2 + url: "http://{server}.swagger.io:{port}/v2" variables: server: default: petstore @@ -23,7 +23,7 @@ servers: - "80" - "8080" - description: The local server - url: https://localhost:8080/{version} + url: "https://localhost:8080/{version}" variables: version: default: v2 diff --git a/samples/openapi3/client/petstore/go/go-petstore/api/openapi.yaml b/samples/openapi3/client/petstore/go/go-petstore/api/openapi.yaml index bdf23ed1981..c9e81a15800 100644 --- a/samples/openapi3/client/petstore/go/go-petstore/api/openapi.yaml +++ b/samples/openapi3/client/petstore/go/go-petstore/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.0 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -10,7 +10,7 @@ info: version: 1.0.0 servers: - description: petstore server - url: http://{server}.swagger.io:{port}/v2 + url: "http://{server}.swagger.io:{port}/v2" variables: server: default: petstore @@ -24,7 +24,7 @@ servers: - "80" - "8080" - description: The local server - url: https://localhost:8080/{version} + url: "https://localhost:8080/{version}" variables: version: default: v2 @@ -148,8 +148,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -854,11 +854,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1064,8 +1064,8 @@ paths: - $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1355,9 +1355,9 @@ components: arbitraryNullableTypeValue: "" phone: phone id: 0 - arbitraryObject: '{}' + arbitraryObject: "{}" email: email - arbitraryNullableObject: '{}' + arbitraryNullableObject: "{}" username: username properties: id: @@ -1390,11 +1390,11 @@ components: nullable: true type: object arbitraryTypeValue: - description: test code generation for any type Value can be any type - string, - number, boolean, array or object. + description: "test code generation for any type Value can be any type -\ + \ string, number, boolean, array or object." arbitraryNullableTypeValue: - description: test code generation for any type Value can be any type - string, - number, boolean, array, object or the 'null' value. + description: "test code generation for any type Value can be any type -\ + \ string, number, boolean, array, object or the 'null' value." nullable: true type: object xml: @@ -1580,7 +1580,7 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte @@ -1605,12 +1605,12 @@ components: type: string pattern_with_digits: description: A string that is a 10 digit number. Can have leading zeros. - pattern: ^\d{10}$ + pattern: "^\\d{10}$" type: string pattern_with_digits_and_delimiter: description: A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. - pattern: /^image_\d{1,3}$/i + pattern: "/^image_\\d{1,3}$/i" type: string required: - byte @@ -1896,7 +1896,7 @@ components: format: int64 type: integer xml: - name: $special[model.name] + name: "$special[model.name]" HealthCheckResult: description: Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. @@ -2155,11 +2155,11 @@ components: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None diff --git a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/api/openapi.yaml b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/api/openapi.yaml index 748bc1b78ed..babf79856de 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/api/openapi.yaml +++ b/samples/openapi3/client/petstore/java/jersey2-java8-special-characters/api/openapi.yaml @@ -39,9 +39,10 @@ components: allOf: - $ref: '#/components/schemas/Parent' - $ref: '#/components/schemas/MySchemaName___Characters_allOf' - description: A schema name that has letters, numbers, punctuation and non-ASCII - characters. The sanitization rules should make it possible to generate a language-specific - classname with allowed characters in that programming language. + description: "A schema name that has letters, numbers, punctuation and non-ASCII\ + \ characters. The sanitization rules should make it possible to generate a\ + \ language-specific classname with allowed characters in that programming\ + \ language." ChildSchema_allOf: properties: prop1: diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml b/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml index 46bb0856940..873b76e7c3a 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml +++ b/samples/openapi3/client/petstore/java/jersey2-java8/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.0 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -10,7 +10,7 @@ info: version: 1.0.0 servers: - description: petstore server - url: http://{server}.swagger.io:{port}/v2 + url: "http://{server}.swagger.io:{port}/v2" variables: server: default: petstore @@ -24,7 +24,7 @@ servers: - "80" - "8080" - description: The local server - url: https://localhost:8080/{version} + url: "https://localhost:8080/{version}" variables: version: default: v2 @@ -142,8 +142,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -879,11 +879,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1109,8 +1109,8 @@ paths: x-accepts: application/json /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1387,9 +1387,9 @@ components: lastName: lastName password: password userStatus: 6 - objectWithNoDeclaredPropsNullable: '{}' + objectWithNoDeclaredPropsNullable: "{}" phone: phone - objectWithNoDeclaredProps: '{}' + objectWithNoDeclaredProps: "{}" id: 0 anyTypePropNullable: "" email: email @@ -1426,14 +1426,14 @@ components: nullable: true type: object anyTypeProp: - description: test code generation for any type Here the 'type' attribute - is not specified, which means the value can be anything, including the - null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389 + description: "test code generation for any type Here the 'type' attribute\ + \ is not specified, which means the value can be anything, including the\ + \ null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389" anyTypePropNullable: - description: test code generation for any type Here the 'type' attribute - is not specified, which means the value can be anything, including the - null value, string, number, boolean, array or object. The 'nullable' attribute - does not change the allowed values. + description: "test code generation for any type Here the 'type' attribute\ + \ is not specified, which means the value can be anything, including the\ + \ null value, string, number, boolean, array or object. The 'nullable'\ + \ attribute does not change the allowed values." nullable: true type: object xml: @@ -1623,7 +1623,7 @@ components: format: number type: string string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte @@ -1650,12 +1650,12 @@ components: type: string pattern_with_digits: description: A string that is a 10 digit number. Can have leading zeros. - pattern: ^\d{10}$ + pattern: "^\\d{10}$" type: string pattern_with_digits_and_delimiter: description: A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. - pattern: /^image_\d{1,3}$/i + pattern: "/^image_\\d{1,3}$/i" type: string required: - byte @@ -1735,8 +1735,8 @@ components: type: object empty_map: additionalProperties: false - description: an object with no declared properties and no undeclared properties, - hence it's an empty map. + description: "an object with no declared properties and no undeclared properties,\ + \ hence it's an empty map." type: object map_with_undeclared_properties_string: additionalProperties: @@ -1966,7 +1966,7 @@ components: _special_model.name_: type: string xml: - name: $special[model.name] + name: "$special[model.name]" HealthCheckResult: description: Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model. @@ -2047,10 +2047,10 @@ components: nullable: true properties: cultivar: - pattern: ^[a-zA-Z\s]*$ + pattern: "^[a-zA-Z\\s]*$" type: string origin: - pattern: /^[A-Z\s]*$/i + pattern: "/^[A-Z\\s]*$/i" type: string type: object banana: @@ -2365,11 +2365,11 @@ components: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None diff --git a/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/resources/openapi.yaml index 56703dfefb5..5fc39a2ce2a 100644 --- a/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/resources/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -128,8 +128,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -498,7 +498,7 @@ paths: name: username required: true schema: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string style: form - description: The password for login in clear text @@ -732,7 +732,7 @@ components: format: int64 type: integer name: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string title: Pet category type: object diff --git a/samples/openapi3/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/openapi3/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-delegate/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/openapi3/server/petstore/springboot-reactive/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-reactive/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/openapi3/server/petstore/springboot-reactive/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-reactive/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/openapi3/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/openapi3/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/openapi3/server/petstore/springboot/src/main/resources/openapi.yaml b/samples/openapi3/server/petstore/springboot/src/main/resources/openapi.yaml index 56703dfefb5..5fc39a2ce2a 100644 --- a/samples/openapi3/server/petstore/springboot/src/main/resources/openapi.yaml +++ b/samples/openapi3/server/petstore/springboot/src/main/resources/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -128,8 +128,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -498,7 +498,7 @@ paths: name: username required: true schema: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string style: form - description: The password for login in clear text @@ -732,7 +732,7 @@ components: format: int64 type: integer name: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string title: Pet category type: object diff --git a/samples/server/petstore/go-api-server/api/openapi.yaml b/samples/server/petstore/go-api-server/api/openapi.yaml index bb1c5be5b94..a5d58611b42 100644 --- a/samples/server/petstore/go-api-server/api/openapi.yaml +++ b/samples/server/petstore/go-api-server/api/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -117,8 +117,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -445,7 +445,7 @@ paths: name: username required: true schema: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string style: form - description: The password for login in clear text @@ -663,7 +663,7 @@ components: format: int64 type: integer name: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string title: Pet category type: object diff --git a/samples/server/petstore/go-chi-server/api/openapi.yaml b/samples/server/petstore/go-chi-server/api/openapi.yaml index bb1c5be5b94..a5d58611b42 100644 --- a/samples/server/petstore/go-chi-server/api/openapi.yaml +++ b/samples/server/petstore/go-chi-server/api/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -117,8 +117,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -445,7 +445,7 @@ paths: name: username required: true schema: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string style: form - description: The password for login in clear text @@ -663,7 +663,7 @@ components: format: int64 type: integer name: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string title: Pet category type: object diff --git a/samples/server/petstore/go-echo-server/.docs/api/openapi.yaml b/samples/server/petstore/go-echo-server/.docs/api/openapi.yaml index bb1c5be5b94..a5d58611b42 100644 --- a/samples/server/petstore/go-echo-server/.docs/api/openapi.yaml +++ b/samples/server/petstore/go-echo-server/.docs/api/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -117,8 +117,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -445,7 +445,7 @@ paths: name: username required: true schema: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string style: form - description: The password for login in clear text @@ -663,7 +663,7 @@ components: format: int64 type: integer name: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string title: Pet category type: object diff --git a/samples/server/petstore/go-gin-api-server/api/openapi.yaml b/samples/server/petstore/go-gin-api-server/api/openapi.yaml index bb1c5be5b94..a5d58611b42 100644 --- a/samples/server/petstore/go-gin-api-server/api/openapi.yaml +++ b/samples/server/petstore/go-gin-api-server/api/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -117,8 +117,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -445,7 +445,7 @@ paths: name: username required: true schema: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string style: form - description: The password for login in clear text @@ -663,7 +663,7 @@ components: format: int64 type: integer name: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string title: Pet category type: object diff --git a/samples/server/petstore/go-server-required/api/openapi.yaml b/samples/server/petstore/go-server-required/api/openapi.yaml index 632abb4be4b..c53982d7f05 100644 --- a/samples/server/petstore/go-server-required/api/openapi.yaml +++ b/samples/server/petstore/go-server-required/api/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -116,8 +116,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -444,7 +444,7 @@ paths: name: username required: true schema: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string style: form - description: The password for login in clear text @@ -689,7 +689,7 @@ components: format: int64 type: integer name: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string title: Pet category type: object @@ -722,10 +722,10 @@ components: id: 1 id: 0 deepSliceMap: - - - '{}' - - '{}' - - - '{}' - - '{}' + - - "{}" + - "{}" + - - "{}" + - "{}" email: email username: username properties: diff --git a/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json b/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json index 37e47ba24e1..c419a58de0d 100644 --- a/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json +++ b/samples/server/petstore/java-play-framework-fake-endpoints/public/openapi.json @@ -1970,14 +1970,14 @@ "format_test" : { "properties" : { "integer" : { - "maximum" : 1E+2, - "minimum" : 1E+1, + "maximum" : 100, + "minimum" : 10, "type" : "integer" }, "int32" : { "format" : "int32", - "maximum" : 2E+2, - "minimum" : 2E+1, + "maximum" : 200, + "minimum" : 20, "type" : "integer" }, "int64" : { diff --git a/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml b/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml index d4624beff58..e8a30a332bc 100644 --- a/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml +++ b/samples/server/petstore/java-vertx-web/src/main/resources/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -122,8 +122,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -468,7 +468,7 @@ paths: name: username required: true schema: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string style: form - description: The password for login in clear text @@ -692,7 +692,7 @@ components: format: int64 type: integer name: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string title: Pet category type: object diff --git a/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml b/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec-interface/src/main/openapi/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml b/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml +++ b/samples/server/petstore/jaxrs-spec/src/main/openapi/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/openapi/openapi.yaml b/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/openapi/openapi.yaml index 416d4ab0b6d..c8de6c51df2 100644 --- a/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/openapi/openapi.yaml +++ b/samples/server/petstore/python-aiohttp-srclayout/src/openapi_server/openapi/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.1 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -124,8 +124,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: find_pets_by_tags parameters: - description: Tags to filter by diff --git a/samples/server/petstore/python-aiohttp/openapi_server/openapi/openapi.yaml b/samples/server/petstore/python-aiohttp/openapi_server/openapi/openapi.yaml index 416d4ab0b6d..c8de6c51df2 100644 --- a/samples/server/petstore/python-aiohttp/openapi_server/openapi/openapi.yaml +++ b/samples/server/petstore/python-aiohttp/openapi_server/openapi/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.1 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -124,8 +124,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: find_pets_by_tags parameters: - description: Tags to filter by diff --git a/samples/server/petstore/python-fastapi/openapi.yaml b/samples/server/petstore/python-fastapi/openapi.yaml index 94256ed0a0f..398cbffcb64 100644 --- a/samples/server/petstore/python-fastapi/openapi.yaml +++ b/samples/server/petstore/python-fastapi/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -117,8 +117,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -445,7 +445,7 @@ paths: name: username required: true schema: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" type: string style: form - description: The password for login in clear text @@ -670,7 +670,7 @@ components: title: id type: integer name: - pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9\.\-_]*[a-zA-Z0-9]+$ + pattern: "^[a-zA-Z0-9]+[a-zA-Z0-9\\.\\-_]*[a-zA-Z0-9]+$" title: name type: string title: Pet category diff --git a/samples/server/petstore/python-flask/openapi_server/openapi/openapi.yaml b/samples/server/petstore/python-flask/openapi_server/openapi/openapi.yaml index f94133dcf46..4c6a1f228c0 100644 --- a/samples/server/petstore/python-flask/openapi_server/openapi/openapi.yaml +++ b/samples/server/petstore/python-flask/openapi_server/openapi/openapi.yaml @@ -1,7 +1,7 @@ openapi: 3.0.1 info: - description: This is a sample server Petstore server. For this sample, you can use - the api key `special-key` to test the authorization filters. + description: "This is a sample server Petstore server. For this sample, you can\ + \ use the api key `special-key` to test the authorization filters." license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -122,8 +122,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: find_pets_by_tags parameters: - description: Tags to filter by diff --git a/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/api/openapi.yaml b/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/api/openapi.yaml index 0885080f5fd..8fd01614a25 100644 --- a/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/api/openapi.yaml +++ b/samples/server/petstore/rust-server/output/petstore-with-fake-endpoints-models-for-testing/api/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -120,8 +120,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -758,11 +758,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1189,7 +1189,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1263,13 +1263,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1289,11 +1289,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/spring-mvc-j8-async/src/main/resources/openapi.yaml b/samples/server/petstore/spring-mvc-j8-async/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/spring-mvc-j8-async/src/main/resources/openapi.yaml +++ b/samples/server/petstore/spring-mvc-j8-async/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/spring-mvc-j8-localdatetime/src/main/resources/openapi.yaml b/samples/server/petstore/spring-mvc-j8-localdatetime/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/spring-mvc-j8-localdatetime/src/main/resources/openapi.yaml +++ b/samples/server/petstore/spring-mvc-j8-localdatetime/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/spring-mvc-no-nullable/src/main/resources/openapi.yaml b/samples/server/petstore/spring-mvc-no-nullable/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/spring-mvc-no-nullable/src/main/resources/openapi.yaml +++ b/samples/server/petstore/spring-mvc-no-nullable/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/spring-mvc-spring-pageable/src/main/resources/openapi.yaml b/samples/server/petstore/spring-mvc-spring-pageable/src/main/resources/openapi.yaml index 1cd65b8e95d..cdceff13c4d 100644 --- a/samples/server/petstore/spring-mvc-spring-pageable/src/main/resources/openapi.yaml +++ b/samples/server/petstore/spring-mvc-spring-pageable/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html @@ -138,8 +138,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -909,11 +909,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1211,8 +1211,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1504,7 +1504,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1578,13 +1578,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1604,11 +1604,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/spring-mvc/src/main/resources/openapi.yaml b/samples/server/petstore/spring-mvc/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/spring-mvc/src/main/resources/openapi.yaml +++ b/samples/server/petstore/spring-mvc/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-beanvalidation/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-beanvalidation/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-delegate-j8/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-delegate-j8/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-delegate/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-delegate/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/springboot-delegate/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-delegate/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-reactive/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/resources/openapi.yaml index 1cd65b8e95d..cdceff13c4d 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html @@ -138,8 +138,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -909,11 +909,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1211,8 +1211,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1504,7 +1504,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1578,13 +1578,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1604,11 +1604,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/resources/openapi.yaml index 1cd65b8e95d..cdceff13c4d 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html @@ -138,8 +138,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -909,11 +909,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1211,8 +1211,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1504,7 +1504,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1578,13 +1578,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1604,11 +1604,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/resources/openapi.yaml index 1cd65b8e95d..cdceff13c4d 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html @@ -138,8 +138,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -909,11 +909,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1211,8 +1211,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1504,7 +1504,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1578,13 +1578,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1604,11 +1604,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-spring-pageable/src/main/resources/openapi.yaml index 1cd65b8e95d..cdceff13c4d 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-spring-pageable/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html @@ -138,8 +138,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -909,11 +909,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1211,8 +1211,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1504,7 +1504,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1578,13 +1578,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1604,11 +1604,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-useoptional/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot-virtualan/src/main/resources/openapi.yaml b/samples/server/petstore/springboot-virtualan/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot-virtualan/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary diff --git a/samples/server/petstore/springboot/src/main/resources/openapi.yaml b/samples/server/petstore/springboot/src/main/resources/openapi.yaml index d6386dc39bf..d02806b2d38 100644 --- a/samples/server/petstore/springboot/src/main/resources/openapi.yaml +++ b/samples/server/petstore/springboot/src/main/resources/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: - description: 'This spec is mainly for testing Petstore server and contains fake - endpoints, models. Please do not use this for any other purpose. Special characters: - " \' + description: "This spec is mainly for testing Petstore server and contains fake\ + \ endpoints, models. Please do not use this for any other purpose. Special characters:\ + \ \" \\" license: name: Apache-2.0 url: https://www.apache.org/licenses/LICENSE-2.0.html @@ -137,8 +137,8 @@ paths: /pet/findByTags: get: deprecated: true - description: Multiple tags can be provided with comma separated strings. Use - tag1, tag2, tag3 for testing. + description: "Multiple tags can be provided with comma separated strings. Use\ + \ tag1, tag2, tag3 for testing." operationId: findPetsByTags parameters: - description: Tags to filter by @@ -910,11 +910,11 @@ paths: type: number string: description: None - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string pattern_without_delimiter: description: None - pattern: ^[A-Z].* + pattern: "^[A-Z].*" type: string byte: description: None @@ -1212,8 +1212,8 @@ paths: - tag: $another-fake? /fake/body-with-file-schema: put: - description: For this test, the body for this request much reference a schema - named `File`. + description: "For this test, the body for this request much reference a schema\ + \ named `File`." operationId: testBodyWithFileSchema requestBody: content: @@ -1506,7 +1506,7 @@ components: type: integer type: object xml: - name: $special[model.name] + name: "$special[model.name]" Return: description: Model for testing reserved words properties: @@ -1584,13 +1584,13 @@ components: format_test: properties: integer: - maximum: 1E+2 - minimum: 1E+1 + maximum: 100 + minimum: 10 type: integer int32: format: int32 - maximum: 2E+2 - minimum: 2E+1 + maximum: 200 + minimum: 20 type: integer int64: format: int64 @@ -1610,11 +1610,11 @@ components: minimum: 67.8 type: number string: - pattern: /[a-z]/i + pattern: "/[a-z]/i" type: string byte: format: byte - pattern: ^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$ + pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$" type: string binary: format: binary