Request and response validation compatible with swagger.
Project description
Request and response validation via Open API/Swagger schemas.
Free software: Apache 2 License
Documentation: https://spectastic.readthedocs.org.
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.3.1 (2019-08-20)
Documentation update.
0.3.0 (2019-08-20)
Using six to shim python 2/3 compatibility.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file spectastic-0.3.2.tar.gz
.
File metadata
- Download URL: spectastic-0.3.2.tar.gz
- Upload date:
- Size: 28.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 523c07344e6cf283602ee9bee522e254df24a50271326e5956d454edc2534768 |
|
MD5 | 51415fc28429fbf94adf376577ee8d83 |
|
BLAKE2b-256 | 7584870f0b6017a2ee7a1d47e3aa34c22513b68c18b41868401c6691461a1549 |
File details
Details for the file spectastic-0.3.2-py2.py3-none-any.whl
.
File metadata
- Download URL: spectastic-0.3.2-py2.py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.34.0 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 556218f946d25dbd9ba38786b134c70419e33cf6b309a2b12a1b4d058d60aa50 |
|
MD5 | fcbc21e0b1934b815db0628d3c2671d8 |
|
BLAKE2b-256 | 327ba0e4196f052833ebe7dd871bb4bb3ec7964fc6c249d1646ae09cda7325a6 |