Skip to content

Convenient tools for using Swagger to define and validate your interfaces in a Pyramid webapp.

License

Notifications You must be signed in to change notification settings

Yelp/pyramid_swagger

Repository files navigation

PyPI:https://pypi.python.org/pypi/pyramid_swagger
Documentation:http://pyramid-swagger.readthedocs.org/en/latest/
Source:https://github.com/striglia/pyramid_swagger
License:Copyright © 2014 Scott Triglia under the BSD 3-clause
Build status:Travis CI Appveyor (Windows CI)
Current coverage on master:https://coveralls.io/repos/striglia/pyramid_swagger/badge.png
Persistent chat for questions:Join the chat at https://gitter.im/striglia/pyramid_swagger

pyramid_swagger

This project offers convenient tools for using Swagger to define and validate your interfaces in a Pyramid webapp.

Full documentation is available at http://pyramid-swagger.readthedocs.org/.

How to contribute

  1. Fork this repository on Github: https://help.github.com/articles/fork-a-repo/

  2. Clone your forked repository: https://help.github.com/articles/cloning-a-repository/

  3. Make a feature branch for your changes:

    git remote add upstream https://github.com/Yelp/pyramid_swagger.git
    git fetch upstream
    git checkout upstream/master -b my-feature-branch
    
  4. Create and activate the virtual environment, this will provide you with all the libraries and tools necessary for pyramid_swagger development:

    make
    source .activate.sh
    
  5. Make sure the test suite works before you start:

    tox -e py38    # Note: use py310 for Python 3.10, see tox.ini for possible values
    
  6. Commit patches: http://gitref.org/basic/

  7. Push to github: git pull && git push origin

  8. Send a pull request: https://help.github.com/articles/creating-a-pull-request/

Running a single test

Make sure you have activated the virtual environment (see above).

py.test -vvv tests/tween_test.py::test_response_properties

About

Convenient tools for using Swagger to define and validate your interfaces in a Pyramid webapp.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages