Skip to main content

Request and response validation compatible with swagger.

Project description

https://img.shields.io/travis/planetlabs/spectastic.svg https://img.shields.io/pypi/v/spectastic.svg

Request and response validation via Open API/Swagger schemas.

Features

  • Validation of Request-like objects against Open API/Swagger schemas.

TODO

  • Response validation.

  • Query parameter validation.

  • collectionformat support that ties into werkzeug’s datastructures.

  • Authorization support not baked in.

History

0.2.5 (2016-05-09)

  • An empty string is equivalent to a request body of None as far as spectastic is concerned.

0.2.4 (2016-03-25)

  • Ignore unrecognized query parameters.

0.2.3 (2016-03-24)

  • Fix an issue with discriminators inside of allOf.

0.2.2 (2016-03-24)

  • Addressed an issue when validating objects with more than one required field.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spectastic-0.3.0.tar.gz (28.8 kB view hashes)

Uploaded Source

Built Distribution

spectastic-0.3.0-py2.py3-none-any.whl (11.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page