Skip to content

Commit

Permalink
fix(content-fixtures): update to conform with OpenAPI 3.0.3 spec
Browse files Browse the repository at this point in the history
Refs #4637
  • Loading branch information
char0n committed Jan 12, 2024
1 parent 7ae8ab0 commit de55752
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,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 @@ -82,7 +84,7 @@ paths:
description: "Invalid ID supplied"
"404":
description: "Pet not found"
"405":
"422":
description: "Validation exception"
security:
- petstore_auth:
Expand Down Expand Up @@ -216,8 +218,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
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ paths:
description: Invalid ID supplied
'404':
description: Pet not found
'405':
'422':
description: Validation exception
security:
- petstore_auth:
Expand Down Expand Up @@ -106,8 +106,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 @@ -248,7 +250,7 @@ paths:
schema:
type: string
responses:
'405':
'400':
description: Invalid input
security:
- petstore_auth:
Expand Down Expand Up @@ -363,8 +365,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
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ paths:
description: Invalid ID supplied
'404':
description: Pet not found
'405':
'422':
description: Validation exception
security:
- petstore_auth:
Expand Down Expand Up @@ -106,8 +106,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 @@ -248,7 +250,7 @@ paths:
schema:
type: string
responses:
'405':
'400':
description: Invalid input
security:
- petstore_auth:
Expand Down Expand Up @@ -363,8 +365,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

0 comments on commit de55752

Please sign in to comment.