-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: surface all validation errors (#639)
- Loading branch information
Showing
5 changed files
with
132 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"openapi": "3.0.0", | ||
"info": { | ||
"description": "This OpenAPI definition has a typod `servers.url` and `paths.**.tags` properties.", | ||
"version": "1.0.0", | ||
"title": "Swagger Petstore" | ||
}, | ||
"servers": [ | ||
{ | ||
"urll": "http://petstore.swagger.io/v2" | ||
} | ||
], | ||
"tags": [ | ||
{ | ||
"name": "pet", | ||
"description": "Everything about your Pets", | ||
"externalDocs": { | ||
"description": "Find out more", | ||
"url": "http://swagger.io" | ||
} | ||
} | ||
], | ||
"paths": { | ||
"/pet/findByStatus": { | ||
"get": { | ||
"tagss": [ | ||
"pet" | ||
], | ||
"summary": "Finds Pets by status", | ||
"description": "Multiple status values can be provided with comma separated strings", | ||
"operationId": "findPetsByStatus", | ||
"parameters": [ | ||
{ | ||
"name": "status", | ||
"in": "query", | ||
"description": "Status values that need to be considered for filter", | ||
"required": true, | ||
"explode": true, | ||
"schema": { | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": [ | ||
"available", | ||
"pending", | ||
"sold" | ||
], | ||
"default": "available" | ||
} | ||
} | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "OK" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters