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,16 +25,16 @@ paths:
description: ""
operationId: addPet
requestBody:
$ref: '#/components/requestBodies/Pet'
$ref: "#/components/requestBodies/Pet"
responses:
"200":
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
"405":
description: Invalid input
@@ -52,16 +52,16 @@ paths:
url: http://petstore.swagger.io/v2/doc/updatePet
operationId: updatePet
requestBody:
$ref: '#/components/requestBodies/Pet'
$ref: "#/components/requestBodies/Pet"
responses:
"200":
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
@@ -103,12 +103,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":
@@ -142,12 +142,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":
@@ -207,10 +207,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
@@ -238,7 +238,7 @@ paths:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/updatePetWithForm_request'
$ref: "#/components/schemas/updatePetWithForm_request"
responses:
"405":
description: Invalid input
@@ -267,13 +267,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:
@@ -309,7 +309,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Order'
$ref: "#/components/schemas/Order"
description: order placed for purchasing the pet
required: true
responses:
@@ -317,10 +317,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
@@ -370,10 +370,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
@@ -390,7 +390,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/User'
$ref: "#/components/schemas/User"
description: Created user object
required: true
responses:
@@ -406,7 +406,7 @@ paths:
description: ""
operationId: createUsersWithArrayInput
requestBody:
$ref: '#/components/requestBodies/UserArray'
$ref: "#/components/requestBodies/UserArray"
responses:
default:
description: successful operation
@@ -420,7 +420,7 @@ paths:
description: ""
operationId: createUsersWithListInput
requestBody:
$ref: '#/components/requestBodies/UserArray'
$ref: "#/components/requestBodies/UserArray"
responses:
default:
description: successful operation
@@ -541,10 +541,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
@@ -569,7 +569,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/User'
$ref: "#/components/schemas/User"
description: Updated user object
required: true
responses:
@@ -589,7 +589,7 @@ components:
application/json:
schema:
items:
$ref: '#/components/schemas/User'
$ref: "#/components/schemas/User"
type: array
description: List of user object
required: true
@@ -597,10 +597,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:
@@ -728,7 +728,7 @@ components:
format: int64
type: integer
category:
$ref: '#/components/schemas/Category'
$ref: "#/components/schemas/Category"
name:
example: doggie
type: string
@@ -741,7 +741,7 @@ components:
wrapped: true
tags:
items:
$ref: '#/components/schemas/Tag'
$ref: "#/components/schemas/Tag"
type: array
xml:
name: tag