跳转到主要内容

用于Pyramid Web应用的Swagger工具

项目描述

PyPI:

https://pypi.python.org/pypi/pyramid_swagger

文档:

http://pyramid-swagger.readthedocs.org/en/latest/

源码:

https://github.com/striglia/pyramid_swagger

许可证:

版权 © 2014 Scott Triglia,根据 BSD 3条款

构建状态:
Travis CI Appveyor (Windows CI)
master上的当前覆盖率:
https://coveralls.io/repos/striglia/pyramid_swagger/badge.png
持久的问答聊天:
Join the chat at https://gitter.im/striglia/pyramid_swagger

pyramid_swagger

此项目提供方便的工具,用于在Pyramid Web应用中使用Swagger定义和验证您的接口。

完整文档可在以下网址查看:http://pyramid-swagger.readthedocs.org/

如何贡献

  1. 在Github上Fork此仓库:https://help.github.com/articles/fork-a-repo/

  2. 克隆您的Fork仓库:https://help.github.com/articles/cloning-a-repository/

  3. 为您的更改创建一个功能分支

    git remote add upstream https://github.com/Yelp/pyramid_swagger.git
    git fetch upstream
    git checkout upstream/master -b my-feature-branch
  4. 创建并激活虚拟环境,这将为您提供 pyramid_swagger 开发所需的所有库和工具

    make
    source .activate.sh
  5. 在开始之前确保测试套件可以运行

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

  7. 推送到github:git pull && git push origin

  8. 发送拉取请求:https://help.github.com/articles/creating-a-pull-request/

运行单个测试

确保您已激活虚拟环境(见上文)。

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

项目详情


下载文件

下载适用于您平台的应用程序。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

pyramid_swagger-2.9.0.tar.gz (20.3 kB 查看哈希值)

上传时间:

支持者