swagger_spec_validator
About
Swagger Spec Validator is a Python library that validates Swagger Specs against the Swagger 1.2 or Swagger 2.0 specification. The validator aims to check for full compliance with the Specification.
Example Usage
Validate a spec from a url:
from swagger_spec_validator import validate_spec_url
# example for swagger spec v1.2
validate_spec_url('http://petstore.swagger.io/api/api-docs')
# example for swagger spec v2.0
validate_spec_url('http://petstore.swagger.io/v2/swagger.json')
Documentation
More documentation is available at http://swagger_spec_validator.readthedocs.org
Installation
$ pip install swagger_spec_validator
Contributing
- Fork it ( http://github.com/Yelp/swagger_spec_validator/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request
License
Copyright (c) 2015, Yelp, Inc. All rights reserved. Apache v2
Metadata
Release files for swagger-spec-validator 3.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swagger_spec_validator-3.0.4.tar.gz | 22.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swagger_spec_validator-3.0.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 50.8 kB
Release files / swagger_spec_validator-3.0.4.tar.gz
| Download URL | swagger_spec_validator-3.0.4.tar.gz |
|---|---|
| Size | 22.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
637ac6d865270bfcd07df24605548e6e1f1d9c39adcfd855da37fa3fdebfed4b
|
|
BLAKE2b-256 checksum How to use checksums |
e7e9d0a4a1e4ed6b4b805d5465affaeaa2d91ae08a8aae966f4bb7402e23ee37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.19
|
Release files / swagger_spec_validator-3.0.4-py2.py3-none-any.whl
| Download URL | swagger_spec_validator-3.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 28.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1a2a4f4f7076479ae7835d892dd53952ccca9414efa172c440c775cf0ac01f48
|
|
BLAKE2b-256 checksum How to use checksums |
f4ac31ba87a959b19e640ebc18851438b82b5b66cef02ad31da7468d1d8bd625
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.8.19
|