mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-05 18:56:10 +00:00
update swagger pareer to 2.1.28 (#21325)
This commit is contained in:
@@ -48,7 +48,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/_foo_get_default_response'
|
||||
$ref: "#/components/schemas/_foo_get_default_response"
|
||||
description: response
|
||||
x-accepts:
|
||||
- application/json
|
||||
@@ -57,7 +57,7 @@ paths:
|
||||
description: ""
|
||||
operationId: addPet
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Pet'
|
||||
$ref: "#/components/requestBodies/Pet"
|
||||
responses:
|
||||
"405":
|
||||
description: Invalid input
|
||||
@@ -76,7 +76,7 @@ paths:
|
||||
description: ""
|
||||
operationId: updatePet
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Pet'
|
||||
$ref: "#/components/requestBodies/Pet"
|
||||
responses:
|
||||
"400":
|
||||
description: Invalid ID supplied
|
||||
@@ -125,12 +125,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":
|
||||
@@ -169,12 +169,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":
|
||||
@@ -241,10 +241,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":
|
||||
description: Invalid ID supplied
|
||||
@@ -275,7 +275,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
$ref: '#/components/schemas/updatePetWithForm_request'
|
||||
$ref: "#/components/schemas/updatePetWithForm_request"
|
||||
responses:
|
||||
"405":
|
||||
description: Invalid input
|
||||
@@ -307,13 +307,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:
|
||||
@@ -354,7 +354,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Order'
|
||||
$ref: "#/components/schemas/Order"
|
||||
description: order placed for purchasing the pet
|
||||
required: true
|
||||
responses:
|
||||
@@ -362,10 +362,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":
|
||||
description: Invalid Order
|
||||
@@ -421,10 +421,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":
|
||||
description: Invalid ID supplied
|
||||
@@ -444,7 +444,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
description: Created user object
|
||||
required: true
|
||||
responses:
|
||||
@@ -461,7 +461,7 @@ paths:
|
||||
description: ""
|
||||
operationId: createUsersWithArrayInput
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/UserArray'
|
||||
$ref: "#/components/requestBodies/UserArray"
|
||||
responses:
|
||||
default:
|
||||
description: successful operation
|
||||
@@ -476,7 +476,7 @@ paths:
|
||||
description: ""
|
||||
operationId: createUsersWithListInput
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/UserArray'
|
||||
$ref: "#/components/requestBodies/UserArray"
|
||||
responses:
|
||||
default:
|
||||
description: successful operation
|
||||
@@ -592,10 +592,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":
|
||||
description: Invalid username supplied
|
||||
@@ -623,7 +623,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
description: Updated user object
|
||||
required: true
|
||||
responses:
|
||||
@@ -642,13 +642,13 @@ paths:
|
||||
description: To test class name in snake case
|
||||
operationId: testClassname
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Client'
|
||||
$ref: "#/components/requestBodies/Client"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Client'
|
||||
$ref: "#/components/schemas/Client"
|
||||
description: successful operation
|
||||
security:
|
||||
- api_key_query: []
|
||||
@@ -810,7 +810,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
$ref: '#/components/schemas/testEnumParameters_request'
|
||||
$ref: "#/components/schemas/testEnumParameters_request"
|
||||
responses:
|
||||
"400":
|
||||
description: Invalid request
|
||||
@@ -826,13 +826,13 @@ paths:
|
||||
description: To test "client" model
|
||||
operationId: testClientModel
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Client'
|
||||
$ref: "#/components/requestBodies/Client"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Client'
|
||||
$ref: "#/components/schemas/Client"
|
||||
description: successful operation
|
||||
summary: To test "client" model
|
||||
tags:
|
||||
@@ -851,7 +851,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
$ref: '#/components/schemas/testEndpointParameters_request'
|
||||
$ref: "#/components/schemas/testEndpointParameters_request"
|
||||
responses:
|
||||
"400":
|
||||
description: Invalid username supplied
|
||||
@@ -877,14 +877,14 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterNumber'
|
||||
$ref: "#/components/schemas/OuterNumber"
|
||||
description: Input number as post body
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterNumber'
|
||||
$ref: "#/components/schemas/OuterNumber"
|
||||
description: Output number
|
||||
tags:
|
||||
- fake
|
||||
@@ -899,14 +899,14 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterString'
|
||||
$ref: "#/components/schemas/OuterString"
|
||||
description: Input string as post body
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterString'
|
||||
$ref: "#/components/schemas/OuterString"
|
||||
description: Output string
|
||||
tags:
|
||||
- fake
|
||||
@@ -921,14 +921,14 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterBoolean'
|
||||
$ref: "#/components/schemas/OuterBoolean"
|
||||
description: Input boolean as post body
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterBoolean'
|
||||
$ref: "#/components/schemas/OuterBoolean"
|
||||
description: Output boolean
|
||||
tags:
|
||||
- fake
|
||||
@@ -943,14 +943,14 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterComposite'
|
||||
$ref: "#/components/schemas/OuterComposite"
|
||||
description: Input composite as post body
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/OuterComposite'
|
||||
$ref: "#/components/schemas/OuterComposite"
|
||||
description: Output composite
|
||||
tags:
|
||||
- fake
|
||||
@@ -967,7 +967,7 @@ paths:
|
||||
content:
|
||||
'*/*':
|
||||
schema:
|
||||
$ref: '#/components/schemas/fakeBigDecimalMap_200_response'
|
||||
$ref: "#/components/schemas/fakeBigDecimalMap_200_response"
|
||||
description: successful operation
|
||||
tags:
|
||||
- fake
|
||||
@@ -981,7 +981,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
$ref: '#/components/schemas/testJsonFormData_request'
|
||||
$ref: "#/components/schemas/testJsonFormData_request"
|
||||
responses:
|
||||
"200":
|
||||
description: successful operation
|
||||
@@ -999,7 +999,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/FreeFormObject'
|
||||
$ref: "#/components/schemas/FreeFormObject"
|
||||
description: request body
|
||||
required: true
|
||||
responses:
|
||||
@@ -1019,7 +1019,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/MapOfString'
|
||||
$ref: "#/components/schemas/MapOfString"
|
||||
description: request body
|
||||
required: true
|
||||
responses:
|
||||
@@ -1061,7 +1061,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/testInlineFreeformAdditionalProperties_request'
|
||||
$ref: "#/components/schemas/testInlineFreeformAdditionalProperties_request"
|
||||
description: request body
|
||||
required: true
|
||||
responses:
|
||||
@@ -1088,7 +1088,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
@@ -1103,13 +1103,13 @@ paths:
|
||||
description: To test special tags and operation ID starting with number
|
||||
operationId: 123_test_@#$%_special_tags
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Client'
|
||||
$ref: "#/components/requestBodies/Client"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Client'
|
||||
$ref: "#/components/schemas/Client"
|
||||
description: successful operation
|
||||
summary: To test special tags
|
||||
tags:
|
||||
@@ -1126,7 +1126,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/FileSchemaTestClass'
|
||||
$ref: "#/components/schemas/FileSchemaTestClass"
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
@@ -1211,13 +1211,13 @@ paths:
|
||||
content:
|
||||
multipart/form-data:
|
||||
schema:
|
||||
$ref: '#/components/schemas/uploadFileWithRequiredFile_request'
|
||||
$ref: "#/components/schemas/uploadFileWithRequiredFile_request"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ApiResponse'
|
||||
$ref: "#/components/schemas/ApiResponse"
|
||||
description: successful operation
|
||||
security:
|
||||
- petstore_auth:
|
||||
@@ -1236,7 +1236,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/HealthCheckResult'
|
||||
$ref: "#/components/schemas/HealthCheckResult"
|
||||
description: The instance started successfully
|
||||
summary: Health check endpoint
|
||||
tags:
|
||||
@@ -1251,7 +1251,7 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ArrayOfEnums'
|
||||
$ref: "#/components/schemas/ArrayOfEnums"
|
||||
description: Got named array of enums
|
||||
summary: Array of Enums
|
||||
tags:
|
||||
@@ -1266,7 +1266,7 @@ paths:
|
||||
content:
|
||||
application/json;charset=utf-8:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ArrayOfEnums'
|
||||
$ref: "#/components/schemas/ArrayOfEnums"
|
||||
description: test
|
||||
summary: application/json UTF8
|
||||
tags:
|
||||
@@ -1287,7 +1287,7 @@ components:
|
||||
- username: bar
|
||||
schema:
|
||||
items:
|
||||
$ref: '#/components/schemas/User'
|
||||
$ref: "#/components/schemas/User"
|
||||
type: array
|
||||
description: List of user object
|
||||
required: true
|
||||
@@ -1295,17 +1295,17 @@ components:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Client'
|
||||
$ref: "#/components/schemas/Client"
|
||||
description: client model
|
||||
required: true
|
||||
Pet:
|
||||
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
|
||||
schemas:
|
||||
@@ -1463,7 +1463,7 @@ components:
|
||||
type: integer
|
||||
x-is-unique: true
|
||||
category:
|
||||
$ref: '#/components/schemas/Category'
|
||||
$ref: "#/components/schemas/Category"
|
||||
name:
|
||||
example: doggie
|
||||
type: string
|
||||
@@ -1476,7 +1476,7 @@ components:
|
||||
wrapped: true
|
||||
tags:
|
||||
items:
|
||||
$ref: '#/components/schemas/Tag'
|
||||
$ref: "#/components/schemas/Tag"
|
||||
type: array
|
||||
xml:
|
||||
name: tag
|
||||
@@ -1552,15 +1552,15 @@ components:
|
||||
type: string
|
||||
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/Address'
|
||||
- $ref: "#/components/schemas/Animal"
|
||||
- $ref: "#/components/schemas/Address"
|
||||
- properties:
|
||||
declawed:
|
||||
type: boolean
|
||||
@@ -1583,7 +1583,7 @@ components:
|
||||
type: object
|
||||
AnimalFarm:
|
||||
items:
|
||||
$ref: '#/components/schemas/Animal'
|
||||
$ref: "#/components/schemas/Animal"
|
||||
type: array
|
||||
format_test:
|
||||
properties:
|
||||
@@ -1698,13 +1698,13 @@ components:
|
||||
format: double
|
||||
type: number
|
||||
outerEnum:
|
||||
$ref: '#/components/schemas/OuterEnum'
|
||||
$ref: "#/components/schemas/OuterEnum"
|
||||
outerEnumInteger:
|
||||
$ref: '#/components/schemas/OuterEnumInteger'
|
||||
$ref: "#/components/schemas/OuterEnumInteger"
|
||||
outerEnumDefaultValue:
|
||||
$ref: '#/components/schemas/OuterEnumDefaultValue'
|
||||
$ref: "#/components/schemas/OuterEnumDefaultValue"
|
||||
outerEnumIntegerDefaultValue:
|
||||
$ref: '#/components/schemas/OuterEnumIntegerDefaultValue'
|
||||
$ref: "#/components/schemas/OuterEnumIntegerDefaultValue"
|
||||
required:
|
||||
- enum_string_required
|
||||
type: object
|
||||
@@ -1749,7 +1749,7 @@ components:
|
||||
type: string
|
||||
map:
|
||||
additionalProperties:
|
||||
$ref: '#/components/schemas/Animal'
|
||||
$ref: "#/components/schemas/Animal"
|
||||
type: object
|
||||
type: object
|
||||
List:
|
||||
@@ -1838,7 +1838,7 @@ components:
|
||||
array_array_of_model:
|
||||
items:
|
||||
items:
|
||||
$ref: '#/components/schemas/ReadOnlyFirst'
|
||||
$ref: "#/components/schemas/ReadOnlyFirst"
|
||||
type: array
|
||||
type: array
|
||||
type: object
|
||||
@@ -1948,10 +1948,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:
|
||||
@@ -2043,8 +2043,8 @@ components:
|
||||
fruit:
|
||||
additionalProperties: false
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/apple'
|
||||
- $ref: '#/components/schemas/banana'
|
||||
- $ref: "#/components/schemas/apple"
|
||||
- $ref: "#/components/schemas/banana"
|
||||
properties:
|
||||
color:
|
||||
type: string
|
||||
@@ -2067,9 +2067,9 @@ components:
|
||||
discriminator:
|
||||
propertyName: className
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/whale'
|
||||
- $ref: '#/components/schemas/zebra'
|
||||
- $ref: '#/components/schemas/Pig'
|
||||
- $ref: "#/components/schemas/whale"
|
||||
- $ref: "#/components/schemas/zebra"
|
||||
- $ref: "#/components/schemas/Pig"
|
||||
whale:
|
||||
properties:
|
||||
hasBaleen:
|
||||
@@ -2099,8 +2099,8 @@ components:
|
||||
discriminator:
|
||||
propertyName: className
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/BasquePig'
|
||||
- $ref: '#/components/schemas/DanishPig'
|
||||
- $ref: "#/components/schemas/BasquePig"
|
||||
- $ref: "#/components/schemas/DanishPig"
|
||||
BasquePig:
|
||||
properties:
|
||||
className:
|
||||
@@ -2118,16 +2118,16 @@ components:
|
||||
gmFruit:
|
||||
additionalProperties: false
|
||||
anyOf:
|
||||
- $ref: '#/components/schemas/apple'
|
||||
- $ref: '#/components/schemas/banana'
|
||||
- $ref: "#/components/schemas/apple"
|
||||
- $ref: "#/components/schemas/banana"
|
||||
properties:
|
||||
color:
|
||||
type: string
|
||||
fruitReq:
|
||||
additionalProperties: false
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/appleReq'
|
||||
- $ref: '#/components/schemas/bananaReq'
|
||||
- $ref: "#/components/schemas/appleReq"
|
||||
- $ref: "#/components/schemas/bananaReq"
|
||||
appleReq:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
@@ -2150,33 +2150,33 @@ components:
|
||||
type: object
|
||||
Drawing:
|
||||
additionalProperties:
|
||||
$ref: '#/components/schemas/fruit'
|
||||
$ref: "#/components/schemas/fruit"
|
||||
properties:
|
||||
mainShape:
|
||||
$ref: '#/components/schemas/Shape'
|
||||
$ref: "#/components/schemas/Shape"
|
||||
shapeOrNull:
|
||||
$ref: '#/components/schemas/ShapeOrNull'
|
||||
$ref: "#/components/schemas/ShapeOrNull"
|
||||
nullableShape:
|
||||
$ref: '#/components/schemas/NullableShape'
|
||||
$ref: "#/components/schemas/NullableShape"
|
||||
shapes:
|
||||
items:
|
||||
$ref: '#/components/schemas/Shape'
|
||||
$ref: "#/components/schemas/Shape"
|
||||
type: array
|
||||
type: object
|
||||
Shape:
|
||||
discriminator:
|
||||
propertyName: shapeType
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/Triangle'
|
||||
- $ref: '#/components/schemas/Quadrilateral'
|
||||
- $ref: "#/components/schemas/Triangle"
|
||||
- $ref: "#/components/schemas/Quadrilateral"
|
||||
ShapeOrNull:
|
||||
description: The value may be a shape or the 'null' value. This is introduced
|
||||
in OAS schema >= 3.1.
|
||||
discriminator:
|
||||
propertyName: shapeType
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/Triangle'
|
||||
- $ref: '#/components/schemas/Quadrilateral'
|
||||
- $ref: "#/components/schemas/Triangle"
|
||||
- $ref: "#/components/schemas/Quadrilateral"
|
||||
NullableShape:
|
||||
description: The value may be a shape or the 'null' value. The 'nullable' attribute
|
||||
was introduced in OAS schema >= 3.0 and has been deprecated in OAS schema
|
||||
@@ -2185,8 +2185,8 @@ components:
|
||||
propertyName: shapeType
|
||||
nullable: true
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/Triangle'
|
||||
- $ref: '#/components/schemas/Quadrilateral'
|
||||
- $ref: "#/components/schemas/Triangle"
|
||||
- $ref: "#/components/schemas/Quadrilateral"
|
||||
ShapeInterface:
|
||||
properties:
|
||||
shapeType:
|
||||
@@ -2203,22 +2203,22 @@ components:
|
||||
discriminator:
|
||||
propertyName: triangleType
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/EquilateralTriangle'
|
||||
- $ref: '#/components/schemas/IsoscelesTriangle'
|
||||
- $ref: '#/components/schemas/ScaleneTriangle'
|
||||
- $ref: "#/components/schemas/EquilateralTriangle"
|
||||
- $ref: "#/components/schemas/IsoscelesTriangle"
|
||||
- $ref: "#/components/schemas/ScaleneTriangle"
|
||||
EquilateralTriangle:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/ShapeInterface'
|
||||
- $ref: '#/components/schemas/TriangleInterface'
|
||||
- $ref: "#/components/schemas/ShapeInterface"
|
||||
- $ref: "#/components/schemas/TriangleInterface"
|
||||
IsoscelesTriangle:
|
||||
additionalProperties: false
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/ShapeInterface'
|
||||
- $ref: '#/components/schemas/TriangleInterface'
|
||||
- $ref: "#/components/schemas/ShapeInterface"
|
||||
- $ref: "#/components/schemas/TriangleInterface"
|
||||
ScaleneTriangle:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/ShapeInterface'
|
||||
- $ref: '#/components/schemas/TriangleInterface'
|
||||
- $ref: "#/components/schemas/ShapeInterface"
|
||||
- $ref: "#/components/schemas/TriangleInterface"
|
||||
QuadrilateralInterface:
|
||||
properties:
|
||||
quadrilateralType:
|
||||
@@ -2229,16 +2229,16 @@ components:
|
||||
discriminator:
|
||||
propertyName: quadrilateralType
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/SimpleQuadrilateral'
|
||||
- $ref: '#/components/schemas/ComplexQuadrilateral'
|
||||
- $ref: "#/components/schemas/SimpleQuadrilateral"
|
||||
- $ref: "#/components/schemas/ComplexQuadrilateral"
|
||||
SimpleQuadrilateral:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/ShapeInterface'
|
||||
- $ref: '#/components/schemas/QuadrilateralInterface'
|
||||
- $ref: "#/components/schemas/ShapeInterface"
|
||||
- $ref: "#/components/schemas/QuadrilateralInterface"
|
||||
ComplexQuadrilateral:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/ShapeInterface'
|
||||
- $ref: '#/components/schemas/QuadrilateralInterface'
|
||||
- $ref: "#/components/schemas/ShapeInterface"
|
||||
- $ref: "#/components/schemas/QuadrilateralInterface"
|
||||
GrandparentAnimal:
|
||||
discriminator:
|
||||
propertyName: pet_type
|
||||
@@ -2250,11 +2250,11 @@ components:
|
||||
type: object
|
||||
ParentPet:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/GrandparentAnimal'
|
||||
- $ref: "#/components/schemas/GrandparentAnimal"
|
||||
type: object
|
||||
ChildCat:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/ParentPet'
|
||||
- $ref: "#/components/schemas/ParentPet"
|
||||
- properties:
|
||||
name:
|
||||
type: string
|
||||
@@ -2267,7 +2267,7 @@ components:
|
||||
type: object
|
||||
ArrayOfEnums:
|
||||
items:
|
||||
$ref: '#/components/schemas/OuterEnum'
|
||||
$ref: "#/components/schemas/OuterEnum"
|
||||
type: array
|
||||
DateTimeTest:
|
||||
default: 2010-01-01T10:10:10.000111+01:00
|
||||
@@ -2288,11 +2288,11 @@ components:
|
||||
deprecated: true
|
||||
type: number
|
||||
deprecatedRef:
|
||||
$ref: '#/components/schemas/DeprecatedObject'
|
||||
$ref: "#/components/schemas/DeprecatedObject"
|
||||
bars:
|
||||
deprecated: true
|
||||
items:
|
||||
$ref: '#/components/schemas/Bar'
|
||||
$ref: "#/components/schemas/Bar"
|
||||
type: array
|
||||
type: object
|
||||
_foo_get_default_response:
|
||||
@@ -2301,7 +2301,7 @@ components:
|
||||
bar: bar
|
||||
properties:
|
||||
string:
|
||||
$ref: '#/components/schemas/Foo'
|
||||
$ref: "#/components/schemas/Foo"
|
||||
type: object
|
||||
updatePetWithForm_request:
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user