├── .codecov.yml ├── .github ├── dependabot.yml └── workflows │ ├── publish.yml │ └── testing.yml ├── .gitignore ├── .pre-commit-config.yaml ├── CHANGELOG.md ├── LICENSE ├── README.md ├── manage.py ├── openapi_tester ├── __init__.py ├── case_testers.py ├── clients.py ├── constants.py ├── exceptions.py ├── loaders.py ├── py.typed ├── schema_tester.py ├── utils.py └── validators.py ├── poetry.lock ├── pyproject.toml ├── setup.cfg ├── test_project ├── __init__.py ├── api │ ├── __init__.py │ ├── serializers.py │ ├── swagger │ │ ├── __init__.py │ │ ├── auto_schemas.py │ │ ├── responses.py │ │ └── schemas.py │ └── views │ │ ├── __init__.py │ │ ├── animals.py │ │ ├── cars.py │ │ ├── exempt_endpoint.py │ │ ├── i18n.py │ │ ├── items.py │ │ ├── names.py │ │ ├── pets.py │ │ ├── products.py │ │ ├── snake_cased_response.py │ │ ├── trucks.py │ │ └── vehicles.py ├── migrations │ ├── 0001_initial.py │ ├── 0002_names_name.py │ └── __init__.py ├── models.py ├── settings.py ├── urls.py ├── views.py └── wsgi.py └── tests ├── __init__.py ├── schema_converter.py ├── schemas ├── any_of_one_of_test_schema.yaml ├── manual_reference_schema.json ├── manual_reference_schema.yaml ├── openapi_v2_reference_schema.yaml ├── openapi_v3_reference_schema.yaml ├── reference_yasg_schema.json ├── reference_yasg_schema.yaml ├── sample-schemas │ ├── api-example.yaml │ ├── content_types.yaml │ ├── external-apis │ │ ├── anpr-dashboard.yaml │ │ ├── cercaareeprotette.e015.servizirl.it.yaml │ │ ├── fatture-e-corrispettivi.yaml │ │ ├── fatture-e-corrispettivi.yml │ │ ├── geodati.gov.it.yaml │ │ ├── istat-sdmx-from-wadl.json │ │ ├── istat-sdmx-rest.yaml │ │ ├── muoversi2015.e015.servizirl.it.yaml │ │ ├── ows01-agenzia-entrate.yaml │ │ ├── petstore-v3.yaml │ │ ├── siopeplus.yaml │ │ └── v2 │ │ │ └── api.corrispettivi.agenziaentrate.gov.it.yml │ ├── marketplace-catalog.yml │ ├── metadata.yaml │ └── observations.yaml ├── spectactular_reference_schema.json └── spectactular_reference_schema.yaml ├── test_case_validators.py ├── test_clients.py ├── test_django_framework.py ├── test_errors.py ├── test_loaders.py ├── test_schema_tester.py ├── test_utils.py ├── test_validators.py └── utils.py /.codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/.codecov.yml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/testing.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/.github/workflows/testing.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/README.md -------------------------------------------------------------------------------- /manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/manage.py -------------------------------------------------------------------------------- /openapi_tester/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/openapi_tester/__init__.py -------------------------------------------------------------------------------- /openapi_tester/case_testers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/openapi_tester/case_testers.py -------------------------------------------------------------------------------- /openapi_tester/clients.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/openapi_tester/clients.py -------------------------------------------------------------------------------- /openapi_tester/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/openapi_tester/constants.py -------------------------------------------------------------------------------- /openapi_tester/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/openapi_tester/exceptions.py -------------------------------------------------------------------------------- /openapi_tester/loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/openapi_tester/loaders.py -------------------------------------------------------------------------------- /openapi_tester/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /openapi_tester/schema_tester.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/openapi_tester/schema_tester.py -------------------------------------------------------------------------------- /openapi_tester/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/openapi_tester/utils.py -------------------------------------------------------------------------------- /openapi_tester/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/openapi_tester/validators.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/setup.cfg -------------------------------------------------------------------------------- /test_project/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/api/serializers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/serializers.py -------------------------------------------------------------------------------- /test_project/api/swagger/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/api/swagger/auto_schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/swagger/auto_schemas.py -------------------------------------------------------------------------------- /test_project/api/swagger/responses.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/swagger/responses.py -------------------------------------------------------------------------------- /test_project/api/swagger/schemas.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/swagger/schemas.py -------------------------------------------------------------------------------- /test_project/api/views/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/api/views/animals.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/animals.py -------------------------------------------------------------------------------- /test_project/api/views/cars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/cars.py -------------------------------------------------------------------------------- /test_project/api/views/exempt_endpoint.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/exempt_endpoint.py -------------------------------------------------------------------------------- /test_project/api/views/i18n.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/i18n.py -------------------------------------------------------------------------------- /test_project/api/views/items.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/items.py -------------------------------------------------------------------------------- /test_project/api/views/names.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/names.py -------------------------------------------------------------------------------- /test_project/api/views/pets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/pets.py -------------------------------------------------------------------------------- /test_project/api/views/products.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/products.py -------------------------------------------------------------------------------- /test_project/api/views/snake_cased_response.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/snake_cased_response.py -------------------------------------------------------------------------------- /test_project/api/views/trucks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/trucks.py -------------------------------------------------------------------------------- /test_project/api/views/vehicles.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/api/views/vehicles.py -------------------------------------------------------------------------------- /test_project/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/migrations/0001_initial.py -------------------------------------------------------------------------------- /test_project/migrations/0002_names_name.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/migrations/0002_names_name.py -------------------------------------------------------------------------------- /test_project/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test_project/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/models.py -------------------------------------------------------------------------------- /test_project/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/settings.py -------------------------------------------------------------------------------- /test_project/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/urls.py -------------------------------------------------------------------------------- /test_project/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/views.py -------------------------------------------------------------------------------- /test_project/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/test_project/wsgi.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/schema_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schema_converter.py -------------------------------------------------------------------------------- /tests/schemas/any_of_one_of_test_schema.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/any_of_one_of_test_schema.yaml -------------------------------------------------------------------------------- /tests/schemas/manual_reference_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/manual_reference_schema.json -------------------------------------------------------------------------------- /tests/schemas/manual_reference_schema.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/manual_reference_schema.yaml -------------------------------------------------------------------------------- /tests/schemas/openapi_v2_reference_schema.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/openapi_v2_reference_schema.yaml -------------------------------------------------------------------------------- /tests/schemas/openapi_v3_reference_schema.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/openapi_v3_reference_schema.yaml -------------------------------------------------------------------------------- /tests/schemas/reference_yasg_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/reference_yasg_schema.json -------------------------------------------------------------------------------- /tests/schemas/reference_yasg_schema.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/reference_yasg_schema.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/api-example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/api-example.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/content_types.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/content_types.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/anpr-dashboard.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/anpr-dashboard.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/cercaareeprotette.e015.servizirl.it.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/cercaareeprotette.e015.servizirl.it.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/fatture-e-corrispettivi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/fatture-e-corrispettivi.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/fatture-e-corrispettivi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/fatture-e-corrispettivi.yml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/geodati.gov.it.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/geodati.gov.it.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/istat-sdmx-from-wadl.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/istat-sdmx-from-wadl.json -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/istat-sdmx-rest.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/istat-sdmx-rest.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/muoversi2015.e015.servizirl.it.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/muoversi2015.e015.servizirl.it.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/ows01-agenzia-entrate.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/ows01-agenzia-entrate.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/petstore-v3.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/petstore-v3.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/siopeplus.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/siopeplus.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/external-apis/v2/api.corrispettivi.agenziaentrate.gov.it.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/external-apis/v2/api.corrispettivi.agenziaentrate.gov.it.yml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/marketplace-catalog.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/marketplace-catalog.yml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/metadata.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/metadata.yaml -------------------------------------------------------------------------------- /tests/schemas/sample-schemas/observations.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/sample-schemas/observations.yaml -------------------------------------------------------------------------------- /tests/schemas/spectactular_reference_schema.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/spectactular_reference_schema.json -------------------------------------------------------------------------------- /tests/schemas/spectactular_reference_schema.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/schemas/spectactular_reference_schema.yaml -------------------------------------------------------------------------------- /tests/test_case_validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/test_case_validators.py -------------------------------------------------------------------------------- /tests/test_clients.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/test_clients.py -------------------------------------------------------------------------------- /tests/test_django_framework.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/test_django_framework.py -------------------------------------------------------------------------------- /tests/test_errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/test_errors.py -------------------------------------------------------------------------------- /tests/test_loaders.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/test_loaders.py -------------------------------------------------------------------------------- /tests/test_schema_tester.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/test_schema_tester.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /tests/test_validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/test_validators.py -------------------------------------------------------------------------------- /tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snok/drf-openapi-tester/HEAD/tests/utils.py --------------------------------------------------------------------------------