openapi-spec-validator
openapi-spec-validator copied to clipboard
OpenAPI Spec Validator is a CLI, pre-commit hook and python package that validates OpenAPI Specs against the OpenAPI 2.0 (aka Swagger), OpenAPI 3.0 and OpenAPI 3.1 specification.
First of all, I'm focussing on validating models (`components/schemas`) in an OpenAPI 3.0.0. yaml file. I'm testing with a slightly changed petstore.yaml (keep an eye on `components/schemas/Pet/properties/id` which has an...
https://github.com/p1c2u/openapi-spec-validator/blob/a29b4f9dd64eed13e2f1c1e046d7b6cfe89a5b0c/pyproject.toml#L34-L36
Closes #156
Hello, The OpenApi specification does not support duplicate schemas definitions. Currently the validator accept duplicate schema definitions.
I think requiring property names listed in `required` to be defined in `properties` is too strict. I also couldn't find this requirement in the JSON Schema or OpenAPI specs. JSON...
Hi everyone I'm validating this open API: https://api.apis.guru/v2/specs/exlibrisgroup.com/tasklists/1.0/openapi.json and I need it to show me the absolute path of the error/warning instead, not only: `{'default': '10', 'type': 'integer', 'nullable': False}`...
Hello, About half the tests reach out to github to fetch various resources; it'd be nice to be able to invoke `pytest -m "not network"` to run the tests which...
I have an OAS3 file that uses `$ref` for external JSON schemas. The schemas themselves have a `$defs` section for child objects definitions that are reused. These schemas pass the...
In the [releases page](https://github.com/p1c2u/openapi-spec-validator/releases), the latest release (as of today) is 0.4.0. On [Docker Hub](https://hub.docker.com/r/p1c2u/openapi-spec-validator), the latest release seems to be 0.3.1.
Hey! Could we add the `verify=False` parameter to `requests.get` in order to be able to run validation on localhost without providing certificates?