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>
<handlebars-java.version>4.2.1</handlebars-java.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>
<jmustache.version>1.14</jmustache.version>
<junit.version>4.13.2</junit.version>
@ -1618,7 +1618,7 @@
<slf4j.version>1.7.32</slf4j.version>
<spotbugs-plugin.version>3.1.12.2</spotbugs-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.version>2.0.26</swagger-parser.version>
<testng.version>7.3.0</testng.version>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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