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.
from swagger_spec_validator import validate_spec_url
validate_spec_url('http://petstore.swagger.wordnik.com/api/api-docs')
More documentation is available at http://swagger_spec_validator.readthedocs.org
$ pip install --upgrade git+git://github.com/Yelp/swagger_spec_validator
- 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
Copyright (c) 2015, Yelp, Inc. All rights reserved. Apache v2