mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-09 20:06:08 +00:00
update swagger pareer to 2.1.28 (#21325)
This commit is contained in:
@@ -25,10 +25,10 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
application/xml:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
description: Pet object that needs to be added to the store
|
||||
required: true
|
||||
responses:
|
||||
@@ -55,10 +55,10 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
application/xml:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
description: Pet object that needs to be added to the store
|
||||
required: true
|
||||
responses:
|
||||
@@ -111,12 +111,12 @@ paths:
|
||||
application/xml:
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
type: array
|
||||
application/json:
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
type: array
|
||||
description: successful operation
|
||||
"400":
|
||||
@@ -156,13 +156,13 @@ paths:
|
||||
application/xml:
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
type: array
|
||||
uniqueItems: true
|
||||
application/json:
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
type: array
|
||||
uniqueItems: true
|
||||
description: successful operation
|
||||
@@ -226,10 +226,10 @@ paths:
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
description: successful operation
|
||||
"400":
|
||||
content: {}
|
||||
@@ -259,7 +259,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
$ref: '#/components/schemas/updatePetWithForm_request'
|
||||
$ref: "#/components/schemas/updatePetWithForm_request"
|
||||
responses:
|
||||
"405":
|
||||
content: {}
|
||||
@@ -289,13 +289,13 @@ paths:
|
||||
content:
|
||||
multipart/form-data:
|
||||
schema:
|
||||
$ref: '#/components/schemas/uploadFile_request'
|
||||
$ref: "#/components/schemas/uploadFile_request"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ApiResponse'
|
||||
$ref: "#/components/schemas/ApiResponse"
|
||||
description: successful operation
|
||||
security:
|
||||
- petstore_auth:
|
||||
@@ -335,7 +335,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/Order'
|
||||
$ref: "#/components/schemas/Order"
|
||||
description: order placed for purchasing the pet
|
||||
required: true
|
||||
responses:
|
||||
@@ -343,10 +343,10 @@ paths:
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Order'
|
||||
$ref: "#/components/schemas/Order"
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Order'
|
||||
$ref: "#/components/schemas/Order"
|
||||
description: successful operation
|
||||
"400":
|
||||
content: {}
|
||||
@@ -402,10 +402,10 @@ paths:
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Order'
|
||||
$ref: "#/components/schemas/Order"
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Order'
|
||||
$ref: "#/components/schemas/Order"
|
||||
description: successful operation
|
||||
"400":
|
||||
content: {}
|
||||
@@ -427,7 +427,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
description: Created user object
|
||||
required: true
|
||||
responses:
|
||||
@@ -449,7 +449,7 @@ paths:
|
||||
'*/*':
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
type: array
|
||||
description: List of user object
|
||||
required: true
|
||||
@@ -472,7 +472,7 @@ paths:
|
||||
'*/*':
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
type: array
|
||||
description: List of user object
|
||||
required: true
|
||||
@@ -582,10 +582,10 @@ paths:
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
description: successful operation
|
||||
"400":
|
||||
content: {}
|
||||
@@ -613,7 +613,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
description: Updated user object
|
||||
required: true
|
||||
responses:
|
||||
@@ -638,7 +638,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Client'
|
||||
$ref: "#/components/schemas/Client"
|
||||
description: client model
|
||||
required: true
|
||||
responses:
|
||||
@@ -646,7 +646,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Client'
|
||||
$ref: "#/components/schemas/Client"
|
||||
description: successful operation
|
||||
security:
|
||||
- api_key_query: []
|
||||
@@ -779,7 +779,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
$ref: '#/components/schemas/testEnumParameters_request'
|
||||
$ref: "#/components/schemas/testEnumParameters_request"
|
||||
responses:
|
||||
"400":
|
||||
content: {}
|
||||
@@ -800,7 +800,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Client'
|
||||
$ref: "#/components/schemas/Client"
|
||||
description: client model
|
||||
required: true
|
||||
responses:
|
||||
@@ -808,7 +808,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Client'
|
||||
$ref: "#/components/schemas/Client"
|
||||
description: successful operation
|
||||
summary: To test "client" model
|
||||
tags:
|
||||
@@ -828,7 +828,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
$ref: '#/components/schemas/testEndpointParameters_request'
|
||||
$ref: "#/components/schemas/testEndpointParameters_request"
|
||||
required: true
|
||||
responses:
|
||||
"400":
|
||||
@@ -857,7 +857,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterNumber'
|
||||
$ref: "#/components/schemas/OuterNumber"
|
||||
description: Input number as post body
|
||||
required: false
|
||||
responses:
|
||||
@@ -865,7 +865,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterNumber'
|
||||
$ref: "#/components/schemas/OuterNumber"
|
||||
description: Output number
|
||||
tags:
|
||||
- fake
|
||||
@@ -881,7 +881,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterString'
|
||||
$ref: "#/components/schemas/OuterString"
|
||||
description: Input string as post body
|
||||
required: false
|
||||
responses:
|
||||
@@ -889,7 +889,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterString'
|
||||
$ref: "#/components/schemas/OuterString"
|
||||
description: Output string
|
||||
tags:
|
||||
- fake
|
||||
@@ -905,7 +905,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterBoolean'
|
||||
$ref: "#/components/schemas/OuterBoolean"
|
||||
description: Input boolean as post body
|
||||
required: false
|
||||
responses:
|
||||
@@ -913,7 +913,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterBoolean'
|
||||
$ref: "#/components/schemas/OuterBoolean"
|
||||
description: Output boolean
|
||||
tags:
|
||||
- fake
|
||||
@@ -929,7 +929,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterComposite'
|
||||
$ref: "#/components/schemas/OuterComposite"
|
||||
description: Input composite as post body
|
||||
required: false
|
||||
responses:
|
||||
@@ -937,7 +937,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterComposite'
|
||||
$ref: "#/components/schemas/OuterComposite"
|
||||
description: Output composite
|
||||
tags:
|
||||
- fake
|
||||
@@ -952,7 +952,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
$ref: '#/components/schemas/testJsonFormData_request'
|
||||
$ref: "#/components/schemas/testJsonFormData_request"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
@@ -1000,7 +1000,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
@@ -1020,22 +1020,22 @@ paths:
|
||||
content:
|
||||
application/xml:
|
||||
schema:
|
||||
$ref: '#/components/schemas/XmlItem'
|
||||
$ref: "#/components/schemas/XmlItem"
|
||||
application/xml; charset=utf-8:
|
||||
schema:
|
||||
$ref: '#/components/schemas/XmlItem'
|
||||
$ref: "#/components/schemas/XmlItem"
|
||||
application/xml; charset=utf-16:
|
||||
schema:
|
||||
$ref: '#/components/schemas/XmlItem'
|
||||
$ref: "#/components/schemas/XmlItem"
|
||||
text/xml:
|
||||
schema:
|
||||
$ref: '#/components/schemas/XmlItem'
|
||||
$ref: "#/components/schemas/XmlItem"
|
||||
text/xml; charset=utf-8:
|
||||
schema:
|
||||
$ref: '#/components/schemas/XmlItem'
|
||||
$ref: "#/components/schemas/XmlItem"
|
||||
text/xml; charset=utf-16:
|
||||
schema:
|
||||
$ref: '#/components/schemas/XmlItem'
|
||||
$ref: "#/components/schemas/XmlItem"
|
||||
description: XmlItem Body
|
||||
required: true
|
||||
responses:
|
||||
@@ -1065,7 +1065,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Client'
|
||||
$ref: "#/components/schemas/Client"
|
||||
description: client model
|
||||
required: true
|
||||
responses:
|
||||
@@ -1073,7 +1073,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Client'
|
||||
$ref: "#/components/schemas/Client"
|
||||
description: successful operation
|
||||
summary: To test special tags
|
||||
tags:
|
||||
@@ -1091,7 +1091,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/FileSchemaTestClass'
|
||||
$ref: "#/components/schemas/FileSchemaTestClass"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
@@ -1173,14 +1173,14 @@ paths:
|
||||
content:
|
||||
multipart/form-data:
|
||||
schema:
|
||||
$ref: '#/components/schemas/uploadFileWithRequiredFile_request'
|
||||
$ref: "#/components/schemas/uploadFileWithRequiredFile_request"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ApiResponse'
|
||||
$ref: "#/components/schemas/ApiResponse"
|
||||
description: successful operation
|
||||
security:
|
||||
- petstore_auth:
|
||||
@@ -1313,7 +1313,7 @@ components:
|
||||
type: integer
|
||||
x-is-unique: true
|
||||
category:
|
||||
$ref: '#/components/schemas/Category'
|
||||
$ref: "#/components/schemas/Category"
|
||||
name:
|
||||
example: doggie
|
||||
type: string
|
||||
@@ -1327,7 +1327,7 @@ components:
|
||||
wrapped: true
|
||||
tags:
|
||||
items:
|
||||
$ref: '#/components/schemas/Tag'
|
||||
$ref: "#/components/schemas/Tag"
|
||||
type: array
|
||||
xml:
|
||||
name: tag
|
||||
@@ -1415,21 +1415,21 @@ components:
|
||||
type: object
|
||||
Dog:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/Animal'
|
||||
- $ref: "#/components/schemas/Animal"
|
||||
- properties:
|
||||
breed:
|
||||
type: string
|
||||
type: object
|
||||
Cat:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/Animal'
|
||||
- $ref: "#/components/schemas/Animal"
|
||||
- properties:
|
||||
declawed:
|
||||
type: boolean
|
||||
type: object
|
||||
BigCat:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/Cat'
|
||||
- $ref: "#/components/schemas/Cat"
|
||||
- properties:
|
||||
kind:
|
||||
enum:
|
||||
@@ -1453,7 +1453,7 @@ components:
|
||||
type: object
|
||||
AnimalFarm:
|
||||
items:
|
||||
$ref: '#/components/schemas/Animal'
|
||||
$ref: "#/components/schemas/Animal"
|
||||
type: array
|
||||
format_test:
|
||||
properties:
|
||||
@@ -1551,7 +1551,7 @@ components:
|
||||
format: double
|
||||
type: number
|
||||
outerEnum:
|
||||
$ref: '#/components/schemas/OuterEnum'
|
||||
$ref: "#/components/schemas/OuterEnum"
|
||||
required:
|
||||
- enum_string_required
|
||||
type: object
|
||||
@@ -1674,7 +1674,7 @@ components:
|
||||
type: string
|
||||
map:
|
||||
additionalProperties:
|
||||
$ref: '#/components/schemas/Animal'
|
||||
$ref: "#/components/schemas/Animal"
|
||||
type: object
|
||||
type: object
|
||||
List:
|
||||
@@ -1763,7 +1763,7 @@ components:
|
||||
array_array_of_model:
|
||||
items:
|
||||
items:
|
||||
$ref: '#/components/schemas/ReadOnlyFirst'
|
||||
$ref: "#/components/schemas/ReadOnlyFirst"
|
||||
type: array
|
||||
type: array
|
||||
type: object
|
||||
@@ -1843,10 +1843,10 @@ components:
|
||||
- sourceURI: sourceURI
|
||||
properties:
|
||||
file:
|
||||
$ref: '#/components/schemas/File'
|
||||
$ref: "#/components/schemas/File"
|
||||
files:
|
||||
items:
|
||||
$ref: '#/components/schemas/File'
|
||||
$ref: "#/components/schemas/File"
|
||||
type: array
|
||||
type: object
|
||||
File:
|
||||
|
||||
Reference in New Issue
Block a user