Skip to content

Commit

Permalink
fix(fixtures): update fixtures to conform with OpenAPI 3.0.3 spec (#4637
Browse files Browse the repository at this point in the history
)
  • Loading branch information
rstular committed Jan 12, 2024
1 parent 333da7e commit 8d82288
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions src/plugins/default-definitions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ paths:
description: Invalid ID supplied
'404':
description: Pet not found
'405':
'422':
description: Validation exception
security:
- petstore_auth:
Expand Down Expand Up @@ -107,8 +107,10 @@ paths:
application/xml:
schema:
$ref: '#/components/schemas/Pet'
'405':
'400':
description: Invalid input
'422':
description: Validation exception
security:
- petstore_auth:
- write:pets
Expand Down Expand Up @@ -249,7 +251,7 @@ paths:
schema:
type: string
responses:
'405':
'400':
description: Invalid input
security:
- petstore_auth:
Expand Down Expand Up @@ -364,8 +366,10 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Order'
'405':
'400':
description: Invalid input
'422':
description: Validation exception
/store/order/{orderId}:
get:
tags:
Expand Down Expand Up @@ -855,8 +859,10 @@ paths:
schema:
$ref: "#/definitions/Pet"
responses:
"405":
description: "Invalid input"
"400":
description: Invalid input
"422":
description: Validation exception
security:
- petstore_auth:
- "write:pets"
Expand Down Expand Up @@ -885,7 +891,7 @@ paths:
description: "Invalid ID supplied"
"404":
description: "Pet not found"
"405":
"422":
description: "Validation exception"
security:
- petstore_auth:
Expand Down Expand Up @@ -1019,8 +1025,10 @@ paths:
required: false
type: "string"
responses:
"405":
description: "Invalid input"
"400":
description: Invalid input
"422":
description: Validation exception
security:
- petstore_auth:
- "write:pets"
Expand Down

0 comments on commit 8d82288

Please sign in to comment.