mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 00:43:46 +00:00
update swagger pareer to 2.1.28 (#21325)
This commit is contained in:
@@ -46,7 +46,7 @@ paths:
|
||||
name: enum_ref_string_path
|
||||
required: true
|
||||
schema:
|
||||
$ref: '#/components/schemas/StringEnumRef'
|
||||
$ref: "#/components/schemas/StringEnumRef"
|
||||
style: simple
|
||||
responses:
|
||||
"200":
|
||||
@@ -68,7 +68,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
$ref: '#/components/schemas/test_form_integer_boolean_string_request'
|
||||
$ref: "#/components/schemas/test_form_integer_boolean_string_request"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
@@ -90,7 +90,7 @@ paths:
|
||||
content:
|
||||
application/x-www-form-urlencoded:
|
||||
schema:
|
||||
$ref: '#/components/schemas/test_form_oneof_request'
|
||||
$ref: "#/components/schemas/test_form_oneof_request"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
@@ -112,7 +112,7 @@ paths:
|
||||
content:
|
||||
multipart/form-data:
|
||||
schema:
|
||||
$ref: '#/components/schemas/test_form_object_multipart_request'
|
||||
$ref: "#/components/schemas/test_form_object_multipart_request"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
@@ -168,7 +168,7 @@ paths:
|
||||
name: enum_ref_string_header
|
||||
required: false
|
||||
schema:
|
||||
$ref: '#/components/schemas/StringEnumRef'
|
||||
$ref: "#/components/schemas/StringEnumRef"
|
||||
style: form
|
||||
responses:
|
||||
"200":
|
||||
@@ -203,7 +203,7 @@ paths:
|
||||
name: enum_ref_string_query
|
||||
required: false
|
||||
schema:
|
||||
$ref: '#/components/schemas/StringEnumRef'
|
||||
$ref: "#/components/schemas/StringEnumRef"
|
||||
style: form
|
||||
responses:
|
||||
"200":
|
||||
@@ -305,7 +305,7 @@ paths:
|
||||
name: query_object
|
||||
required: false
|
||||
schema:
|
||||
$ref: '#/components/schemas/test_query_style_form_explode_true_array_string_query_object_parameter'
|
||||
$ref: "#/components/schemas/test_query_style_form_explode_true_array_string_query_object_parameter"
|
||||
style: form
|
||||
responses:
|
||||
"200":
|
||||
@@ -381,7 +381,7 @@ paths:
|
||||
name: query_object
|
||||
required: false
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
style: form
|
||||
responses:
|
||||
"200":
|
||||
@@ -405,7 +405,7 @@ paths:
|
||||
name: query_object
|
||||
required: false
|
||||
schema:
|
||||
$ref: '#/components/schemas/DataQuery'
|
||||
$ref: "#/components/schemas/DataQuery"
|
||||
style: form
|
||||
responses:
|
||||
"200":
|
||||
@@ -429,7 +429,7 @@ paths:
|
||||
name: query_object
|
||||
required: false
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
style: deepObject
|
||||
responses:
|
||||
"200":
|
||||
@@ -453,7 +453,7 @@ paths:
|
||||
name: query_object
|
||||
required: false
|
||||
schema:
|
||||
$ref: '#/components/schemas/test_query_style_deepObject_explode_true_object_allOf_query_object_parameter'
|
||||
$ref: "#/components/schemas/test_query_style_deepObject_explode_true_object_allOf_query_object_parameter"
|
||||
style: deepObject
|
||||
responses:
|
||||
"200":
|
||||
@@ -495,13 +495,13 @@ paths:
|
||||
description: Test body parameter(s)
|
||||
operationId: test/echo/body/Pet
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Pet'
|
||||
$ref: "#/components/requestBodies/Pet"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
description: Successful operation
|
||||
summary: Test body parameter(s)
|
||||
tags:
|
||||
@@ -514,13 +514,13 @@ paths:
|
||||
description: Test body parameter(s)
|
||||
operationId: test/echo/body/allOf/Pet
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/AllOfPet'
|
||||
$ref: "#/components/requestBodies/AllOfPet"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
description: Successful operation
|
||||
summary: Test body parameter(s)
|
||||
tags:
|
||||
@@ -533,7 +533,7 @@ paths:
|
||||
description: Test empty response body
|
||||
operationId: test/echo/body/Pet/response_string
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Pet'
|
||||
$ref: "#/components/requestBodies/Pet"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
@@ -552,7 +552,7 @@ paths:
|
||||
description: Test empty json (request body)
|
||||
operationId: test/echo/body/Tag/response_string
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Tag'
|
||||
$ref: "#/components/requestBodies/Tag"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
@@ -597,14 +597,14 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/StringEnumRef'
|
||||
$ref: "#/components/schemas/StringEnumRef"
|
||||
description: String enum
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/StringEnumRef'
|
||||
$ref: "#/components/schemas/StringEnumRef"
|
||||
description: Successful operation
|
||||
summary: Test string enum response body
|
||||
tags:
|
||||
@@ -637,7 +637,7 @@ paths:
|
||||
content:
|
||||
multipart/form-data:
|
||||
schema:
|
||||
$ref: '#/components/schemas/test_body_multipart_formdata_single_binary_request'
|
||||
$ref: "#/components/schemas/test_body_multipart_formdata_single_binary_request"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
@@ -659,7 +659,7 @@ paths:
|
||||
content:
|
||||
multipart/form-data:
|
||||
schema:
|
||||
$ref: '#/components/schemas/test_body_multipart_formdata_array_of_binary_request'
|
||||
$ref: "#/components/schemas/test_body_multipart_formdata_array_of_binary_request"
|
||||
responses:
|
||||
"200":
|
||||
content:
|
||||
@@ -715,20 +715,20 @@ components:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Pet'
|
||||
$ref: "#/components/schemas/Pet"
|
||||
description: Pet object that needs to be added to the store
|
||||
AllOfPet:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/Pet'
|
||||
- $ref: "#/components/schemas/Pet"
|
||||
description: Pet object that needs to be added to the store
|
||||
Tag:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Tag'
|
||||
$ref: "#/components/schemas/Tag"
|
||||
description: Tag object
|
||||
schemas:
|
||||
Category:
|
||||
@@ -784,7 +784,7 @@ components:
|
||||
example: doggie
|
||||
type: string
|
||||
category:
|
||||
$ref: '#/components/schemas/Category'
|
||||
$ref: "#/components/schemas/Category"
|
||||
photoUrls:
|
||||
items:
|
||||
type: string
|
||||
@@ -795,7 +795,7 @@ components:
|
||||
wrapped: true
|
||||
tags:
|
||||
items:
|
||||
$ref: '#/components/schemas/Tag'
|
||||
$ref: "#/components/schemas/Tag"
|
||||
type: array
|
||||
xml:
|
||||
wrapped: true
|
||||
@@ -826,7 +826,7 @@ components:
|
||||
- success
|
||||
- failure
|
||||
items:
|
||||
$ref: '#/components/schemas/StringEnumRef'
|
||||
$ref: "#/components/schemas/StringEnumRef"
|
||||
type: array
|
||||
array_string_enum_default:
|
||||
default:
|
||||
@@ -912,7 +912,7 @@ components:
|
||||
format: date-time
|
||||
type: string
|
||||
type: object
|
||||
- $ref: '#/components/schemas/Query'
|
||||
- $ref: "#/components/schemas/Query"
|
||||
NumberPropertiesOnly:
|
||||
properties:
|
||||
number:
|
||||
@@ -951,9 +951,9 @@ components:
|
||||
type: object
|
||||
test_form_oneof_request:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/test_form_oneof_request_oneOf'
|
||||
- $ref: '#/components/schemas/test_form_oneof_request_oneOf_1'
|
||||
- $ref: '#/components/schemas/Tag'
|
||||
- $ref: "#/components/schemas/test_form_oneof_request_oneOf"
|
||||
- $ref: "#/components/schemas/test_form_oneof_request_oneOf_1"
|
||||
- $ref: "#/components/schemas/Tag"
|
||||
type: object
|
||||
test_form_object_multipart_request_marker:
|
||||
properties:
|
||||
@@ -963,7 +963,7 @@ components:
|
||||
test_form_object_multipart_request:
|
||||
properties:
|
||||
marker:
|
||||
$ref: '#/components/schemas/test_form_object_multipart_request_marker'
|
||||
$ref: "#/components/schemas/test_form_object_multipart_request_marker"
|
||||
required:
|
||||
- marker
|
||||
type: object
|
||||
@@ -976,8 +976,8 @@ components:
|
||||
type: object
|
||||
test_query_style_deepObject_explode_true_object_allOf_query_object_parameter:
|
||||
allOf:
|
||||
- $ref: '#/components/schemas/Bird'
|
||||
- $ref: '#/components/schemas/Category'
|
||||
- $ref: "#/components/schemas/Bird"
|
||||
- $ref: "#/components/schemas/Category"
|
||||
test_body_multipart_formdata_single_binary_request:
|
||||
properties:
|
||||
my-file:
|
||||
|
||||
Reference in New Issue
Block a user