update swagger pareer to 2.1.28 (#21325)

This commit is contained in:
William Cheng
2025-06-02 15:33:27 +08:00
committed by GitHub
parent a428cff3f4
commit bce88c93ba
194 changed files with 10299 additions and 10317 deletions

View File

@@ -24,10 +24,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:
@@ -48,10 +48,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:
@@ -98,12 +98,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":
@@ -139,12 +139,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":
@@ -199,10 +199,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: {}
@@ -229,7 +229,7 @@ paths:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/updatePetWithForm_request'
$ref: "#/components/schemas/updatePetWithForm_request"
responses:
"405":
content: {}
@@ -256,13 +256,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:
@@ -297,7 +297,7 @@ paths:
content:
'*/*':
schema:
$ref: '#/components/schemas/Order'
$ref: "#/components/schemas/Order"
description: order placed for purchasing the pet
required: true
responses:
@@ -305,10 +305,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: {}
@@ -358,10 +358,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: {}
@@ -380,7 +380,7 @@ paths:
content:
'*/*':
schema:
$ref: '#/components/schemas/User'
$ref: "#/components/schemas/User"
description: Created user object
required: true
responses:
@@ -399,7 +399,7 @@ paths:
'*/*':
schema:
items:
$ref: '#/components/schemas/User'
$ref: "#/components/schemas/User"
type: array
description: List of user object
required: true
@@ -419,7 +419,7 @@ paths:
'*/*':
schema:
items:
$ref: '#/components/schemas/User'
$ref: "#/components/schemas/User"
type: array
description: List of user object
required: true
@@ -519,10 +519,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: {}
@@ -547,7 +547,7 @@ paths:
content:
'*/*':
schema:
$ref: '#/components/schemas/User'
$ref: "#/components/schemas/User"
description: Updated user object
required: true
responses:
@@ -686,7 +686,7 @@ components:
format: int64
type: integer
category:
$ref: '#/components/schemas/Category'
$ref: "#/components/schemas/Category"
name:
example: doggie
type: string
@@ -699,7 +699,7 @@ components:
wrapped: true
tags:
items:
$ref: '#/components/schemas/Tag'
$ref: "#/components/schemas/Tag"
type: array
xml:
name: tag