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

@@ -25,7 +25,7 @@ paths:
description: ""
operationId: addPet
requestBody:
$ref: '#/components/requestBodies/Pet'
$ref: "#/components/requestBodies/Pet"
responses:
"405":
description: Invalid input
@@ -43,7 +43,7 @@ paths:
description: ""
operationId: updatePet
requestBody:
$ref: '#/components/requestBodies/Pet'
$ref: "#/components/requestBodies/Pet"
responses:
"400":
description: Invalid ID supplied
@@ -87,12 +87,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":
@@ -129,12 +129,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":
description: Invalid ID supplied
@@ -233,7 +233,7 @@ paths:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/updatePetWithForm_request'
$ref: "#/components/schemas/updatePetWithForm_request"
responses:
"405":
description: Invalid input
@@ -265,13 +265,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:
@@ -312,7 +312,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Order'
$ref: "#/components/schemas/Order"
description: order placed for purchasing the pet
required: true
responses:
@@ -320,10 +320,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
@@ -379,10 +379,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
@@ -402,7 +402,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/User'
$ref: "#/components/schemas/User"
description: Created user object
required: true
responses:
@@ -421,7 +421,7 @@ paths:
description: ""
operationId: createUsersWithArrayInput
requestBody:
$ref: '#/components/requestBodies/UserArray'
$ref: "#/components/requestBodies/UserArray"
responses:
default:
description: successful operation
@@ -438,7 +438,7 @@ paths:
description: ""
operationId: createUsersWithListInput
requestBody:
$ref: '#/components/requestBodies/UserArray'
$ref: "#/components/requestBodies/UserArray"
responses:
default:
description: successful operation
@@ -569,10 +569,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
@@ -600,7 +600,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/User'
$ref: "#/components/schemas/User"
description: Updated user object
required: true
responses:
@@ -623,7 +623,7 @@ components:
application/json:
schema:
items:
$ref: '#/components/schemas/User'
$ref: "#/components/schemas/User"
type: array
description: List of user object
required: true
@@ -631,10 +631,10 @@ components:
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:
@@ -762,7 +762,7 @@ components:
format: int64
type: integer
category:
$ref: '#/components/schemas/Category'
$ref: "#/components/schemas/Category"
name:
example: doggie
type: string
@@ -775,7 +775,7 @@ components:
wrapped: true
tags:
items:
$ref: '#/components/schemas/Tag'
$ref: "#/components/schemas/Tag"
type: array
xml:
name: tag
@@ -803,7 +803,7 @@ components:
nullable: true
type: integer
category:
$ref: '#/components/schemas/Category'
$ref: "#/components/schemas/Category"
name:
example: doggie
nullable: true
@@ -818,7 +818,7 @@ components:
wrapped: true
tags:
items:
$ref: '#/components/schemas/Tag'
$ref: "#/components/schemas/Tag"
nullable: true
type: array
xml:
@@ -848,7 +848,7 @@ components:
nullable: false
type: integer
category:
$ref: '#/components/schemas/Category'
$ref: "#/components/schemas/Category"
name:
example: doggie
nullable: false
@@ -863,7 +863,7 @@ components:
wrapped: true
tags:
items:
$ref: '#/components/schemas/Tag'
$ref: "#/components/schemas/Tag"
nullable: false
type: array
xml: