Validation of Swagger specifications
Project Links
Meta
Author: Yelp
Requires Python: >=3.8
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
Topic
- Software Development :: Libraries :: Python Modules
Operating System
- OS Independent
Programming Language
- Python :: 3.7
- Python :: 3.8
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
3.0.4
Jun 27, 2024
3.0.3
Nov 02, 2022
3.0.2
Oct 20, 2022
3.0.1
Oct 20, 2022
3.0.0
Oct 19, 2022
2.7.6
Sep 02, 2022
2.7.5
Aug 31, 2022
2.7.4
Nov 03, 2021
2.7.3
Jun 25, 2020
2.7.2
Jun 16, 2020
2.7.1
Jun 10, 2020
2.7.0
Jun 05, 2020
2.6.0
May 20, 2020
2.5.0
Feb 25, 2020
2.4.3
Jan 16, 2019
2.4.2
Jan 15, 2019
2.4.1
Oct 09, 2018
2.4.0
Aug 28, 2018
2.3.1
Jun 11, 2018
2.3.0
Jun 06, 2018
2.2.0
Jun 05, 2018
2.1.0
Mar 21, 2017
2.0.4
Mar 10, 2017
2.0.2
Nov 18, 2015
2.0.1
Nov 17, 2015
2.0.0
Nov 17, 2015
1.1.1
Oct 02, 2015
1.1.0
Aug 25, 2015
1.0.12
Jul 02, 2015
1.0.11
Jun 03, 2015
1.0.10
Apr 15, 2015
1.0.9
Mar 26, 2015
1.0.7
Mar 03, 2015
1.0.6
Feb 25, 2015
1.0.5
Feb 19, 2015
1.0.4
Feb 18, 2015
1.0.3
Jan 13, 2015