├── .activate.sh ├── .appveyor.yml ├── .deactivate.sh ├── .github └── workflows │ ├── ci.yaml │ └── pypi.yaml ├── .gitignore ├── .landscape.yaml ├── .pre-commit-config.yaml ├── LICENSE ├── MANIFEST.in ├── Makefile ├── README.rst ├── docs ├── changelog.rst ├── conf.py ├── configuration.rst ├── external_resources.rst ├── glossary.rst ├── index.rst ├── migrating_to_swagger_20.rst ├── quickstart.rst └── what_is_swagger.rst ├── pyramid_swagger ├── __about__.py ├── __init__.py ├── api.py ├── exceptions.py ├── ingest.py ├── load_schema.py ├── model.py ├── renderer.py ├── spec.py └── tween.py ├── requirements-dev.txt ├── setup.cfg ├── setup.py ├── tests ├── __init__.py ├── acceptance │ ├── __init__.py │ ├── api_test.py │ ├── app │ │ ├── __init__.py │ │ └── config.ini │ ├── config_ini_test.py │ ├── format_test.py │ ├── invalid_file_test.py │ ├── prefer_20_routes_test.py │ ├── recursive_app_test.py │ ├── relative_ref_test.py │ ├── request_test.py │ ├── response20_test.py │ ├── response_test.py │ └── yaml_test.py ├── api_test.py ├── conftest.py ├── includeme_test.py ├── ingest_test.py ├── load_schema_test.py ├── model_test.py ├── renderer_test.py ├── sample_schemas │ ├── bad_app │ │ ├── api_docs.json │ │ ├── bad_sample.json │ │ └── swagger.json │ ├── external_refs │ │ ├── A.json │ │ └── swagger.json │ ├── good_app │ │ ├── api_docs.json │ │ ├── echo_date.json │ │ ├── no_models.json │ │ ├── other_sample.json │ │ ├── post_endpoint_with_optional_body.json │ │ ├── sample.json │ │ └── swagger.json │ ├── missing_api_declaration │ │ └── api_docs.json │ ├── missing_resource_listing │ │ └── bad_sample.json │ ├── nested_defns │ │ └── swagger.yaml │ ├── prefer_20_routes_app │ │ ├── api_docs.json │ │ ├── other_sample.json │ │ └── swagger.json │ ├── recursive_app │ │ ├── external │ │ │ ├── external.json │ │ │ └── swagger.json │ │ └── internal │ │ │ └── swagger.json │ ├── relative_ref │ │ ├── dereferenced_swagger.json │ │ ├── parameters │ │ │ └── common.json │ │ ├── paths │ │ │ └── common.json │ │ ├── responses │ │ │ └── common.json │ │ └── swagger.json │ ├── user_format │ │ └── swagger.json │ └── yaml_app │ │ ├── defs.yaml │ │ └── swagger.yaml ├── spec_test.py └── tween_test.py └── tox.ini /.activate.sh: -------------------------------------------------------------------------------- 1 | source venv/bin/activate 2 | -------------------------------------------------------------------------------- /.appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/.appveyor.yml -------------------------------------------------------------------------------- /.deactivate.sh: -------------------------------------------------------------------------------- 1 | deactivate 2 | -------------------------------------------------------------------------------- /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.github/workflows/pypi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/.github/workflows/pypi.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/.gitignore -------------------------------------------------------------------------------- /.landscape.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/.landscape.yaml -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/README.rst -------------------------------------------------------------------------------- /docs/changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/docs/changelog.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/configuration.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/docs/configuration.rst -------------------------------------------------------------------------------- /docs/external_resources.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/docs/external_resources.rst -------------------------------------------------------------------------------- /docs/glossary.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/docs/glossary.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/migrating_to_swagger_20.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/docs/migrating_to_swagger_20.rst -------------------------------------------------------------------------------- /docs/quickstart.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/docs/quickstart.rst -------------------------------------------------------------------------------- /docs/what_is_swagger.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/docs/what_is_swagger.rst -------------------------------------------------------------------------------- /pyramid_swagger/__about__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/pyramid_swagger/__about__.py -------------------------------------------------------------------------------- /pyramid_swagger/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/pyramid_swagger/__init__.py -------------------------------------------------------------------------------- /pyramid_swagger/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/pyramid_swagger/api.py -------------------------------------------------------------------------------- /pyramid_swagger/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/pyramid_swagger/exceptions.py -------------------------------------------------------------------------------- /pyramid_swagger/ingest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/pyramid_swagger/ingest.py -------------------------------------------------------------------------------- /pyramid_swagger/load_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/pyramid_swagger/load_schema.py -------------------------------------------------------------------------------- /pyramid_swagger/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/pyramid_swagger/model.py -------------------------------------------------------------------------------- /pyramid_swagger/renderer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/pyramid_swagger/renderer.py -------------------------------------------------------------------------------- /pyramid_swagger/spec.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/pyramid_swagger/spec.py -------------------------------------------------------------------------------- /pyramid_swagger/tween.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/pyramid_swagger/tween.py -------------------------------------------------------------------------------- /requirements-dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/requirements-dev.txt -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- 1 | [metadata] 2 | description-file = README.rst 3 | 4 | [wheel] 5 | universal = True 6 | -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/acceptance/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/acceptance/api_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/api_test.py -------------------------------------------------------------------------------- /tests/acceptance/app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/app/__init__.py -------------------------------------------------------------------------------- /tests/acceptance/app/config.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/app/config.ini -------------------------------------------------------------------------------- /tests/acceptance/config_ini_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/config_ini_test.py -------------------------------------------------------------------------------- /tests/acceptance/format_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/format_test.py -------------------------------------------------------------------------------- /tests/acceptance/invalid_file_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/invalid_file_test.py -------------------------------------------------------------------------------- /tests/acceptance/prefer_20_routes_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/prefer_20_routes_test.py -------------------------------------------------------------------------------- /tests/acceptance/recursive_app_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/recursive_app_test.py -------------------------------------------------------------------------------- /tests/acceptance/relative_ref_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/relative_ref_test.py -------------------------------------------------------------------------------- /tests/acceptance/request_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/request_test.py -------------------------------------------------------------------------------- /tests/acceptance/response20_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/response20_test.py -------------------------------------------------------------------------------- /tests/acceptance/response_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/response_test.py -------------------------------------------------------------------------------- /tests/acceptance/yaml_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/acceptance/yaml_test.py -------------------------------------------------------------------------------- /tests/api_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/api_test.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/includeme_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/includeme_test.py -------------------------------------------------------------------------------- /tests/ingest_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/ingest_test.py -------------------------------------------------------------------------------- /tests/load_schema_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/load_schema_test.py -------------------------------------------------------------------------------- /tests/model_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/model_test.py -------------------------------------------------------------------------------- /tests/renderer_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/renderer_test.py -------------------------------------------------------------------------------- /tests/sample_schemas/bad_app/api_docs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/bad_app/api_docs.json -------------------------------------------------------------------------------- /tests/sample_schemas/bad_app/bad_sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/bad_app/bad_sample.json -------------------------------------------------------------------------------- /tests/sample_schemas/bad_app/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/bad_app/swagger.json -------------------------------------------------------------------------------- /tests/sample_schemas/external_refs/A.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/external_refs/A.json -------------------------------------------------------------------------------- /tests/sample_schemas/external_refs/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/external_refs/swagger.json -------------------------------------------------------------------------------- /tests/sample_schemas/good_app/api_docs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/good_app/api_docs.json -------------------------------------------------------------------------------- /tests/sample_schemas/good_app/echo_date.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/good_app/echo_date.json -------------------------------------------------------------------------------- /tests/sample_schemas/good_app/no_models.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/good_app/no_models.json -------------------------------------------------------------------------------- /tests/sample_schemas/good_app/other_sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/good_app/other_sample.json -------------------------------------------------------------------------------- /tests/sample_schemas/good_app/post_endpoint_with_optional_body.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/good_app/post_endpoint_with_optional_body.json -------------------------------------------------------------------------------- /tests/sample_schemas/good_app/sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/good_app/sample.json -------------------------------------------------------------------------------- /tests/sample_schemas/good_app/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/good_app/swagger.json -------------------------------------------------------------------------------- /tests/sample_schemas/missing_api_declaration/api_docs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/missing_api_declaration/api_docs.json -------------------------------------------------------------------------------- /tests/sample_schemas/missing_resource_listing/bad_sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/missing_resource_listing/bad_sample.json -------------------------------------------------------------------------------- /tests/sample_schemas/nested_defns/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/nested_defns/swagger.yaml -------------------------------------------------------------------------------- /tests/sample_schemas/prefer_20_routes_app/api_docs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/prefer_20_routes_app/api_docs.json -------------------------------------------------------------------------------- /tests/sample_schemas/prefer_20_routes_app/other_sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/prefer_20_routes_app/other_sample.json -------------------------------------------------------------------------------- /tests/sample_schemas/prefer_20_routes_app/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/prefer_20_routes_app/swagger.json -------------------------------------------------------------------------------- /tests/sample_schemas/recursive_app/external/external.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/recursive_app/external/external.json -------------------------------------------------------------------------------- /tests/sample_schemas/recursive_app/external/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/recursive_app/external/swagger.json -------------------------------------------------------------------------------- /tests/sample_schemas/recursive_app/internal/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/recursive_app/internal/swagger.json -------------------------------------------------------------------------------- /tests/sample_schemas/relative_ref/dereferenced_swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/relative_ref/dereferenced_swagger.json -------------------------------------------------------------------------------- /tests/sample_schemas/relative_ref/parameters/common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/relative_ref/parameters/common.json -------------------------------------------------------------------------------- /tests/sample_schemas/relative_ref/paths/common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/relative_ref/paths/common.json -------------------------------------------------------------------------------- /tests/sample_schemas/relative_ref/responses/common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/relative_ref/responses/common.json -------------------------------------------------------------------------------- /tests/sample_schemas/relative_ref/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/relative_ref/swagger.json -------------------------------------------------------------------------------- /tests/sample_schemas/user_format/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/user_format/swagger.json -------------------------------------------------------------------------------- /tests/sample_schemas/yaml_app/defs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/yaml_app/defs.yaml -------------------------------------------------------------------------------- /tests/sample_schemas/yaml_app/swagger.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/sample_schemas/yaml_app/swagger.yaml -------------------------------------------------------------------------------- /tests/spec_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/spec_test.py -------------------------------------------------------------------------------- /tests/tween_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tests/tween_test.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Yelp/pyramid_swagger/HEAD/tox.ini --------------------------------------------------------------------------------