update swagger core, jackson to newer version (#11545)

This commit is contained in:
William Cheng 2022-02-08 13:31:20 +08:00 committed by GitHub
parent c9118d6982
commit b6c445cdc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
71 changed files with 985 additions and 984 deletions

View File

@ -1599,7 +1599,7 @@
<guava.version>30.1.1-jre</guava.version> <guava.version>30.1.1-jre</guava.version>
<handlebars-java.version>4.2.1</handlebars-java.version> <handlebars-java.version>4.2.1</handlebars-java.version>
<jackson-threetenbp.version>2.10.0</jackson-threetenbp.version> <jackson-threetenbp.version>2.10.0</jackson-threetenbp.version>
<jackson.version>2.10.2</jackson.version> <jackson.version>2.12.1</jackson.version>
<jacoco.version>0.8.7</jacoco.version> <jacoco.version>0.8.7</jacoco.version>
<jmustache.version>1.14</jmustache.version> <jmustache.version>1.14</jmustache.version>
<junit.version>4.13.2</junit.version> <junit.version>4.13.2</junit.version>
@ -1618,7 +1618,7 @@
<slf4j.version>1.7.32</slf4j.version> <slf4j.version>1.7.32</slf4j.version>
<spotbugs-plugin.version>3.1.12.2</spotbugs-plugin.version> <spotbugs-plugin.version>3.1.12.2</spotbugs-plugin.version>
<maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version> <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
<swagger-core.version>2.1.2</swagger-core.version> <swagger-core.version>2.1.12</swagger-core.version>
<swagger-parser-groupid.version>io.swagger.parser.v3</swagger-parser-groupid.version> <swagger-parser-groupid.version>io.swagger.parser.v3</swagger-parser-groupid.version>
<swagger-parser.version>2.0.26</swagger-parser.version> <swagger-parser.version>2.0.26</swagger-parser.version>
<testng.version>7.3.0</testng.version> <testng.version>7.3.0</testng.version>

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -126,8 +126,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -826,11 +826,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1088,8 +1088,8 @@ paths:
x-codegen-request-body-name: body x-codegen-request-body-name: body
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1371,7 +1371,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1449,13 +1449,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1475,11 +1475,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -126,8 +126,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -826,11 +826,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1088,8 +1088,8 @@ paths:
x-codegen-request-body-name: body x-codegen-request-body-name: body
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1371,7 +1371,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1449,13 +1449,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1475,11 +1475,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -10,7 +10,7 @@ info:
version: 1.0.0 version: 1.0.0
servers: servers:
- description: petstore server - description: petstore server
url: http://{server}.swagger.io:{port}/v2 url: "http://{server}.swagger.io:{port}/v2"
variables: variables:
server: server:
default: petstore default: petstore
@ -24,7 +24,7 @@ servers:
- "80" - "80"
- "8080" - "8080"
- description: The local server - description: The local server
url: https://localhost:8080/{version} url: "https://localhost:8080/{version}"
variables: variables:
version: version:
default: v2 default: v2
@ -143,8 +143,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -886,11 +886,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1136,8 +1136,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request must reference a schema description: "For this test, the body for this request must reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1154,7 +1154,7 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-binary: /fake/body-with-binary:
put: 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 operationId: testBodyWithBinary
requestBody: requestBody:
content: content:
@ -1669,7 +1669,7 @@ components:
format: number format: number
type: string type: string
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: byte format: byte
@ -1694,12 +1694,12 @@ components:
type: string type: string
pattern_with_digits: pattern_with_digits:
description: A string that is a 10 digit number. Can have leading zeros. description: A string that is a 10 digit number. Can have leading zeros.
pattern: ^\d{10}$ pattern: "^\\d{10}$"
type: string type: string
pattern_with_digits_and_delimiter: pattern_with_digits_and_delimiter:
description: A string starting with 'image_' (case insensitive) and one description: A string starting with 'image_' (case insensitive) and one
to three digits following i.e. Image_01. to three digits following i.e. Image_01.
pattern: /^image_\d{1,3}$/i pattern: "/^image_\\d{1,3}$/i"
type: string type: string
required: required:
- byte - byte
@ -1988,7 +1988,7 @@ components:
format: int64 format: int64
type: integer type: integer
xml: xml:
name: $special[model.name] name: "$special[model.name]"
HealthCheckResult: HealthCheckResult:
description: Just a string to inform instance is up and running. Make it nullable description: Just a string to inform instance is up and running. Make it nullable
in hope to get it as pointer in generated model. in hope to get it as pointer in generated model.
@ -2169,11 +2169,11 @@ components:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -10,7 +10,7 @@ info:
version: 1.0.0 version: 1.0.0
servers: servers:
- description: petstore server - description: petstore server
url: http://{server}.swagger.io:{port}/v2 url: "http://{server}.swagger.io:{port}/v2"
variables: variables:
server: server:
default: petstore default: petstore
@ -24,7 +24,7 @@ servers:
- "80" - "80"
- "8080" - "8080"
- description: The local server - description: The local server
url: https://localhost:8080/{version} url: "https://localhost:8080/{version}"
variables: variables:
version: version:
default: v2 default: v2
@ -142,8 +142,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -879,11 +879,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1109,8 +1109,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1387,9 +1387,9 @@ components:
lastName: lastName lastName: lastName
password: password password: password
userStatus: 6 userStatus: 6
objectWithNoDeclaredPropsNullable: '{}' objectWithNoDeclaredPropsNullable: "{}"
phone: phone phone: phone
objectWithNoDeclaredProps: '{}' objectWithNoDeclaredProps: "{}"
id: 0 id: 0
anyTypePropNullable: "" anyTypePropNullable: ""
email: email email: email
@ -1426,14 +1426,14 @@ components:
nullable: true nullable: true
type: object type: object
anyTypeProp: anyTypeProp:
description: test code generation for any type Here the 'type' attribute description: "test code generation for any type Here the 'type' attribute\
is not specified, which means the value can be anything, including the \ 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 \ null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389"
anyTypePropNullable: anyTypePropNullable:
description: test code generation for any type Here the 'type' attribute description: "test code generation for any type Here the 'type' attribute\
is not specified, which means the value can be anything, including the \ is not specified, which means the value can be anything, including the\
null value, string, number, boolean, array or object. The 'nullable' attribute \ null value, string, number, boolean, array or object. The 'nullable'\
does not change the allowed values. \ attribute does not change the allowed values."
nullable: true nullable: true
type: object type: object
xml: xml:
@ -1623,7 +1623,7 @@ components:
format: number format: number
type: string type: string
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: byte format: byte
@ -1650,12 +1650,12 @@ components:
type: string type: string
pattern_with_digits: pattern_with_digits:
description: A string that is a 10 digit number. Can have leading zeros. description: A string that is a 10 digit number. Can have leading zeros.
pattern: ^\d{10}$ pattern: "^\\d{10}$"
type: string type: string
pattern_with_digits_and_delimiter: pattern_with_digits_and_delimiter:
description: A string starting with 'image_' (case insensitive) and one description: A string starting with 'image_' (case insensitive) and one
to three digits following i.e. Image_01. to three digits following i.e. Image_01.
pattern: /^image_\d{1,3}$/i pattern: "/^image_\\d{1,3}$/i"
type: string type: string
required: required:
- byte - byte
@ -1735,8 +1735,8 @@ components:
type: object type: object
empty_map: empty_map:
additionalProperties: false additionalProperties: false
description: an object with no declared properties and no undeclared properties, description: "an object with no declared properties and no undeclared properties,\
hence it's an empty map. \ hence it's an empty map."
type: object type: object
map_with_undeclared_properties_string: map_with_undeclared_properties_string:
additionalProperties: additionalProperties:
@ -1966,7 +1966,7 @@ components:
_special_model.name_: _special_model.name_:
type: string type: string
xml: xml:
name: $special[model.name] name: "$special[model.name]"
HealthCheckResult: HealthCheckResult:
description: Just a string to inform instance is up and running. Make it nullable description: Just a string to inform instance is up and running. Make it nullable
in hope to get it as pointer in generated model. in hope to get it as pointer in generated model.
@ -2047,10 +2047,10 @@ components:
nullable: true nullable: true
properties: properties:
cultivar: cultivar:
pattern: ^[a-zA-Z\s]*$ pattern: "^[a-zA-Z\\s]*$"
type: string type: string
origin: origin:
pattern: /^[A-Z\s]*$/i pattern: "/^[A-Z\\s]*$/i"
type: string type: string
type: object type: object
banana: banana:
@ -2400,11 +2400,11 @@ components:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -131,8 +131,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -862,11 +862,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1144,8 +1144,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1432,7 +1432,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1510,13 +1510,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1536,11 +1536,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -10,7 +10,7 @@ info:
version: 1.0.0 version: 1.0.0
servers: servers:
- description: petstore server - description: petstore server
url: http://{server}.swagger.io:{port}/v2 url: "http://{server}.swagger.io:{port}/v2"
variables: variables:
server: server:
default: petstore default: petstore
@ -24,7 +24,7 @@ servers:
- "80" - "80"
- "8080" - "8080"
- description: The local server - description: The local server
url: https://localhost:8080/{version} url: "https://localhost:8080/{version}"
variables: variables:
version: version:
default: v2 default: v2
@ -143,8 +143,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -886,11 +886,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1136,8 +1136,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request must reference a schema description: "For this test, the body for this request must reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1154,7 +1154,7 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-binary: /fake/body-with-binary:
put: 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 operationId: testBodyWithBinary
requestBody: requestBody:
content: content:
@ -1669,7 +1669,7 @@ components:
format: number format: number
type: string type: string
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: byte format: byte
@ -1694,12 +1694,12 @@ components:
type: string type: string
pattern_with_digits: pattern_with_digits:
description: A string that is a 10 digit number. Can have leading zeros. description: A string that is a 10 digit number. Can have leading zeros.
pattern: ^\d{10}$ pattern: "^\\d{10}$"
type: string type: string
pattern_with_digits_and_delimiter: pattern_with_digits_and_delimiter:
description: A string starting with 'image_' (case insensitive) and one description: A string starting with 'image_' (case insensitive) and one
to three digits following i.e. Image_01. to three digits following i.e. Image_01.
pattern: /^image_\d{1,3}$/i pattern: "/^image_\\d{1,3}$/i"
type: string type: string
required: required:
- byte - byte
@ -1988,7 +1988,7 @@ components:
format: int64 format: int64
type: integer type: integer
xml: xml:
name: $special[model.name] name: "$special[model.name]"
HealthCheckResult: HealthCheckResult:
description: Just a string to inform instance is up and running. Make it nullable description: Just a string to inform instance is up and running. Make it nullable
in hope to get it as pointer in generated model. in hope to get it as pointer in generated model.
@ -2169,11 +2169,11 @@ components:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None

View File

@ -9,7 +9,7 @@ info:
version: 1.0.0 version: 1.0.0
servers: servers:
- description: petstore server - description: petstore server
url: http://{server}.swagger.io:{port}/v2 url: "http://{server}.swagger.io:{port}/v2"
variables: variables:
server: server:
default: petstore default: petstore
@ -23,7 +23,7 @@ servers:
- "80" - "80"
- "8080" - "8080"
- description: The local server - description: The local server
url: https://localhost:8080/{version} url: "https://localhost:8080/{version}"
variables: variables:
version: version:
default: v2 default: v2

View File

@ -9,7 +9,7 @@ info:
version: 1.0.0 version: 1.0.0
servers: servers:
- description: petstore server - description: petstore server
url: http://{server}.swagger.io:{port}/v2 url: "http://{server}.swagger.io:{port}/v2"
variables: variables:
server: server:
default: petstore default: petstore
@ -23,7 +23,7 @@ servers:
- "80" - "80"
- "8080" - "8080"
- description: The local server - description: The local server
url: https://localhost:8080/{version} url: "https://localhost:8080/{version}"
variables: variables:
version: version:
default: v2 default: v2

View File

@ -1,8 +1,8 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -10,7 +10,7 @@ info:
version: 1.0.0 version: 1.0.0
servers: servers:
- description: petstore server - description: petstore server
url: http://{server}.swagger.io:{port}/v2 url: "http://{server}.swagger.io:{port}/v2"
variables: variables:
server: server:
default: petstore default: petstore
@ -24,7 +24,7 @@ servers:
- "80" - "80"
- "8080" - "8080"
- description: The local server - description: The local server
url: https://localhost:8080/{version} url: "https://localhost:8080/{version}"
variables: variables:
version: version:
default: v2 default: v2
@ -148,8 +148,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -854,11 +854,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1064,8 +1064,8 @@ paths:
- $another-fake? - $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1355,9 +1355,9 @@ components:
arbitraryNullableTypeValue: "" arbitraryNullableTypeValue: ""
phone: phone phone: phone
id: 0 id: 0
arbitraryObject: '{}' arbitraryObject: "{}"
email: email email: email
arbitraryNullableObject: '{}' arbitraryNullableObject: "{}"
username: username username: username
properties: properties:
id: id:
@ -1390,11 +1390,11 @@ components:
nullable: true nullable: true
type: object type: object
arbitraryTypeValue: arbitraryTypeValue:
description: test code generation for any type Value can be any type - string, description: "test code generation for any type Value can be any type -\
number, boolean, array or object. \ string, number, boolean, array or object."
arbitraryNullableTypeValue: arbitraryNullableTypeValue:
description: test code generation for any type Value can be any type - string, description: "test code generation for any type Value can be any type -\
number, boolean, array, object or the 'null' value. \ string, number, boolean, array, object or the 'null' value."
nullable: true nullable: true
type: object type: object
xml: xml:
@ -1580,7 +1580,7 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: byte format: byte
@ -1605,12 +1605,12 @@ components:
type: string type: string
pattern_with_digits: pattern_with_digits:
description: A string that is a 10 digit number. Can have leading zeros. description: A string that is a 10 digit number. Can have leading zeros.
pattern: ^\d{10}$ pattern: "^\\d{10}$"
type: string type: string
pattern_with_digits_and_delimiter: pattern_with_digits_and_delimiter:
description: A string starting with 'image_' (case insensitive) and one description: A string starting with 'image_' (case insensitive) and one
to three digits following i.e. Image_01. to three digits following i.e. Image_01.
pattern: /^image_\d{1,3}$/i pattern: "/^image_\\d{1,3}$/i"
type: string type: string
required: required:
- byte - byte
@ -1896,7 +1896,7 @@ components:
format: int64 format: int64
type: integer type: integer
xml: xml:
name: $special[model.name] name: "$special[model.name]"
HealthCheckResult: HealthCheckResult:
description: Just a string to inform instance is up and running. Make it nullable description: Just a string to inform instance is up and running. Make it nullable
in hope to get it as pointer in generated model. in hope to get it as pointer in generated model.
@ -2155,11 +2155,11 @@ components:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None

View File

@ -39,9 +39,10 @@ components:
allOf: allOf:
- $ref: '#/components/schemas/Parent' - $ref: '#/components/schemas/Parent'
- $ref: '#/components/schemas/MySchemaName___Characters_allOf' - $ref: '#/components/schemas/MySchemaName___Characters_allOf'
description: A schema name that has letters, numbers, punctuation and non-ASCII 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 \ characters. The sanitization rules should make it possible to generate a\
classname with allowed characters in that programming language. \ language-specific classname with allowed characters in that programming\
\ language."
ChildSchema_allOf: ChildSchema_allOf:
properties: properties:
prop1: prop1:

View File

@ -1,8 +1,8 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -10,7 +10,7 @@ info:
version: 1.0.0 version: 1.0.0
servers: servers:
- description: petstore server - description: petstore server
url: http://{server}.swagger.io:{port}/v2 url: "http://{server}.swagger.io:{port}/v2"
variables: variables:
server: server:
default: petstore default: petstore
@ -24,7 +24,7 @@ servers:
- "80" - "80"
- "8080" - "8080"
- description: The local server - description: The local server
url: https://localhost:8080/{version} url: "https://localhost:8080/{version}"
variables: variables:
version: version:
default: v2 default: v2
@ -142,8 +142,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -879,11 +879,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1109,8 +1109,8 @@ paths:
x-accepts: application/json x-accepts: application/json
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1387,9 +1387,9 @@ components:
lastName: lastName lastName: lastName
password: password password: password
userStatus: 6 userStatus: 6
objectWithNoDeclaredPropsNullable: '{}' objectWithNoDeclaredPropsNullable: "{}"
phone: phone phone: phone
objectWithNoDeclaredProps: '{}' objectWithNoDeclaredProps: "{}"
id: 0 id: 0
anyTypePropNullable: "" anyTypePropNullable: ""
email: email email: email
@ -1426,14 +1426,14 @@ components:
nullable: true nullable: true
type: object type: object
anyTypeProp: anyTypeProp:
description: test code generation for any type Here the 'type' attribute description: "test code generation for any type Here the 'type' attribute\
is not specified, which means the value can be anything, including the \ 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 \ null value, string, number, boolean, array or object. See https://github.com/OAI/OpenAPI-Specification/issues/1389"
anyTypePropNullable: anyTypePropNullable:
description: test code generation for any type Here the 'type' attribute description: "test code generation for any type Here the 'type' attribute\
is not specified, which means the value can be anything, including the \ is not specified, which means the value can be anything, including the\
null value, string, number, boolean, array or object. The 'nullable' attribute \ null value, string, number, boolean, array or object. The 'nullable'\
does not change the allowed values. \ attribute does not change the allowed values."
nullable: true nullable: true
type: object type: object
xml: xml:
@ -1623,7 +1623,7 @@ components:
format: number format: number
type: string type: string
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: byte format: byte
@ -1650,12 +1650,12 @@ components:
type: string type: string
pattern_with_digits: pattern_with_digits:
description: A string that is a 10 digit number. Can have leading zeros. description: A string that is a 10 digit number. Can have leading zeros.
pattern: ^\d{10}$ pattern: "^\\d{10}$"
type: string type: string
pattern_with_digits_and_delimiter: pattern_with_digits_and_delimiter:
description: A string starting with 'image_' (case insensitive) and one description: A string starting with 'image_' (case insensitive) and one
to three digits following i.e. Image_01. to three digits following i.e. Image_01.
pattern: /^image_\d{1,3}$/i pattern: "/^image_\\d{1,3}$/i"
type: string type: string
required: required:
- byte - byte
@ -1735,8 +1735,8 @@ components:
type: object type: object
empty_map: empty_map:
additionalProperties: false additionalProperties: false
description: an object with no declared properties and no undeclared properties, description: "an object with no declared properties and no undeclared properties,\
hence it's an empty map. \ hence it's an empty map."
type: object type: object
map_with_undeclared_properties_string: map_with_undeclared_properties_string:
additionalProperties: additionalProperties:
@ -1966,7 +1966,7 @@ components:
_special_model.name_: _special_model.name_:
type: string type: string
xml: xml:
name: $special[model.name] name: "$special[model.name]"
HealthCheckResult: HealthCheckResult:
description: Just a string to inform instance is up and running. Make it nullable description: Just a string to inform instance is up and running. Make it nullable
in hope to get it as pointer in generated model. in hope to get it as pointer in generated model.
@ -2047,10 +2047,10 @@ components:
nullable: true nullable: true
properties: properties:
cultivar: cultivar:
pattern: ^[a-zA-Z\s]*$ pattern: "^[a-zA-Z\\s]*$"
type: string type: string
origin: origin:
pattern: /^[A-Z\s]*$/i pattern: "/^[A-Z\\s]*$/i"
type: string type: string
type: object type: object
banana: banana:
@ -2365,11 +2365,11 @@ components:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -128,8 +128,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -498,7 +498,7 @@ paths:
name: username name: username
required: true required: true
schema: 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 type: string
style: form style: form
- description: The password for login in clear text - description: The password for login in clear text
@ -732,7 +732,7 @@ components:
format: int64 format: int64
type: integer type: integer
name: 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 type: string
title: Pet category title: Pet category
type: object type: object

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -128,8 +128,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -498,7 +498,7 @@ paths:
name: username name: username
required: true required: true
schema: 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 type: string
style: form style: form
- description: The password for login in clear text - description: The password for login in clear text
@ -732,7 +732,7 @@ components:
format: int64 format: int64
type: integer type: integer
name: 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 type: string
title: Pet category title: Pet category
type: object type: object

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -117,8 +117,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -445,7 +445,7 @@ paths:
name: username name: username
required: true required: true
schema: 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 type: string
style: form style: form
- description: The password for login in clear text - description: The password for login in clear text
@ -663,7 +663,7 @@ components:
format: int64 format: int64
type: integer type: integer
name: 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 type: string
title: Pet category title: Pet category
type: object type: object

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -117,8 +117,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -445,7 +445,7 @@ paths:
name: username name: username
required: true required: true
schema: 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 type: string
style: form style: form
- description: The password for login in clear text - description: The password for login in clear text
@ -663,7 +663,7 @@ components:
format: int64 format: int64
type: integer type: integer
name: 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 type: string
title: Pet category title: Pet category
type: object type: object

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -117,8 +117,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -445,7 +445,7 @@ paths:
name: username name: username
required: true required: true
schema: 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 type: string
style: form style: form
- description: The password for login in clear text - description: The password for login in clear text
@ -663,7 +663,7 @@ components:
format: int64 format: int64
type: integer type: integer
name: 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 type: string
title: Pet category title: Pet category
type: object type: object

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -117,8 +117,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -445,7 +445,7 @@ paths:
name: username name: username
required: true required: true
schema: 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 type: string
style: form style: form
- description: The password for login in clear text - description: The password for login in clear text
@ -663,7 +663,7 @@ components:
format: int64 format: int64
type: integer type: integer
name: 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 type: string
title: Pet category title: Pet category
type: object type: object

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -116,8 +116,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -444,7 +444,7 @@ paths:
name: username name: username
required: true required: true
schema: 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 type: string
style: form style: form
- description: The password for login in clear text - description: The password for login in clear text
@ -689,7 +689,7 @@ components:
format: int64 format: int64
type: integer type: integer
name: 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 type: string
title: Pet category title: Pet category
type: object type: object
@ -722,10 +722,10 @@ components:
id: 1 id: 1
id: 0 id: 0
deepSliceMap: deepSliceMap:
- - '{}' - - "{}"
- '{}' - "{}"
- - '{}' - - "{}"
- '{}' - "{}"
email: email email: email
username: username username: username
properties: properties:

View File

@ -1970,14 +1970,14 @@
"format_test" : { "format_test" : {
"properties" : { "properties" : {
"integer" : { "integer" : {
"maximum" : 1E+2, "maximum" : 100,
"minimum" : 1E+1, "minimum" : 10,
"type" : "integer" "type" : "integer"
}, },
"int32" : { "int32" : {
"format" : "int32", "format" : "int32",
"maximum" : 2E+2, "maximum" : 200,
"minimum" : 2E+1, "minimum" : 20,
"type" : "integer" "type" : "integer"
}, },
"int64" : { "int64" : {

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -122,8 +122,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -468,7 +468,7 @@ paths:
name: username name: username
required: true required: true
schema: 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 type: string
style: form style: form
- description: The password for login in clear text - description: The password for login in clear text
@ -692,7 +692,7 @@ components:
format: int64 format: int64
type: integer type: integer
name: 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 type: string
title: Pet category title: Pet category
type: object type: object

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,7 +1,7 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -124,8 +124,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: find_pets_by_tags operationId: find_pets_by_tags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by

View File

@ -1,7 +1,7 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -124,8 +124,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: find_pets_by_tags operationId: find_pets_by_tags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by

View File

@ -1,7 +1,7 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -117,8 +117,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -445,7 +445,7 @@ paths:
name: username name: username
required: true required: true
schema: 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 type: string
style: form style: form
- description: The password for login in clear text - description: The password for login in clear text
@ -670,7 +670,7 @@ components:
title: id title: id
type: integer type: integer
name: 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 title: name
type: string type: string
title: Pet category title: Pet category

View File

@ -1,7 +1,7 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: This is a sample server Petstore server. For this sample, you can use description: "This is a sample server Petstore server. For this sample, you can\
the api key `special-key` to test the authorization filters. \ use the api key `special-key` to test the authorization filters."
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -122,8 +122,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: find_pets_by_tags operationId: find_pets_by_tags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -120,8 +120,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -758,11 +758,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1189,7 +1189,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1263,13 +1263,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1289,11 +1289,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html url: http://www.apache.org/licenses/LICENSE-2.0.html
@ -138,8 +138,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -909,11 +909,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1211,8 +1211,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1504,7 +1504,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1578,13 +1578,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1604,11 +1604,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html url: http://www.apache.org/licenses/LICENSE-2.0.html
@ -138,8 +138,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -909,11 +909,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1211,8 +1211,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1504,7 +1504,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1578,13 +1578,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1604,11 +1604,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html url: http://www.apache.org/licenses/LICENSE-2.0.html
@ -138,8 +138,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -909,11 +909,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1211,8 +1211,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1504,7 +1504,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1578,13 +1578,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1604,11 +1604,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html url: http://www.apache.org/licenses/LICENSE-2.0.html
@ -138,8 +138,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -909,11 +909,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1211,8 +1211,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1504,7 +1504,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1578,13 +1578,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1604,11 +1604,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html url: http://www.apache.org/licenses/LICENSE-2.0.html
@ -138,8 +138,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -909,11 +909,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1211,8 +1211,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1504,7 +1504,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1578,13 +1578,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1604,11 +1604,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary

View File

@ -1,8 +1,8 @@
openapi: 3.0.1 openapi: 3.0.1
info: info:
description: 'This spec is mainly for testing Petstore server and contains fake 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: \ endpoints, models. Please do not use this for any other purpose. Special characters:\
" \' \ \" \\"
license: license:
name: Apache-2.0 name: Apache-2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html url: https://www.apache.org/licenses/LICENSE-2.0.html
@ -137,8 +137,8 @@ paths:
/pet/findByTags: /pet/findByTags:
get: get:
deprecated: true deprecated: true
description: Multiple tags can be provided with comma separated strings. Use description: "Multiple tags can be provided with comma separated strings. Use\
tag1, tag2, tag3 for testing. \ tag1, tag2, tag3 for testing."
operationId: findPetsByTags operationId: findPetsByTags
parameters: parameters:
- description: Tags to filter by - description: Tags to filter by
@ -910,11 +910,11 @@ paths:
type: number type: number
string: string:
description: None description: None
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
pattern_without_delimiter: pattern_without_delimiter:
description: None description: None
pattern: ^[A-Z].* pattern: "^[A-Z].*"
type: string type: string
byte: byte:
description: None description: None
@ -1212,8 +1212,8 @@ paths:
- tag: $another-fake? - tag: $another-fake?
/fake/body-with-file-schema: /fake/body-with-file-schema:
put: put:
description: For this test, the body for this request much reference a schema description: "For this test, the body for this request much reference a schema\
named `File`. \ named `File`."
operationId: testBodyWithFileSchema operationId: testBodyWithFileSchema
requestBody: requestBody:
content: content:
@ -1506,7 +1506,7 @@ components:
type: integer type: integer
type: object type: object
xml: xml:
name: $special[model.name] name: "$special[model.name]"
Return: Return:
description: Model for testing reserved words description: Model for testing reserved words
properties: properties:
@ -1584,13 +1584,13 @@ components:
format_test: format_test:
properties: properties:
integer: integer:
maximum: 1E+2 maximum: 100
minimum: 1E+1 minimum: 10
type: integer type: integer
int32: int32:
format: int32 format: int32
maximum: 2E+2 maximum: 200
minimum: 2E+1 minimum: 20
type: integer type: integer
int64: int64:
format: int64 format: int64
@ -1610,11 +1610,11 @@ components:
minimum: 67.8 minimum: 67.8
type: number type: number
string: string:
pattern: /[a-z]/i pattern: "/[a-z]/i"
type: string type: string
byte: byte:
format: 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 type: string
binary: binary:
format: binary format: binary