Skip to content

Checks an OpenAPI 3 file for required HTTP codes in all routes responses

License

Notifications You must be signed in to change notification settings

pavelan0khin/oa3-responses-validator

Repository files navigation

OpenAPI3 Responses Validator

Checking if certain HTTP codes are specified in each of the responses for each route

Installation

pip install oa3-responses-validator

Usage:

oa3-responses-validator -i /path/to/openapi.yaml -c 400 -c 500 -c 2XX

You can use the 2XX code pattern to indicate that any 2XX code should be among the response codes

About

Checks an OpenAPI 3 file for required HTTP codes in all routes responses

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages