openapi-schema-validator
openapi-schema-validator copied to clipboard
OpenAPI schema validator is a Python library that validates schema against OpenAPI Schema Specification v3.0 and v3.1
For example check for characters https://stackoverflow.com/questions/13195143/range-of-valid-character-for-a-base-64-encoding
Seems like read/write context-aware validators are only implemented for OpenAPI 3.0. Any reason not to implement a similar interface for 3.1? For some context, I'm leveraging the `openapi-core` library and...
Only string should be allowed. Type Checker: https://github.com/p1c2u/openapi-schema-validator/blob/master/openapi_schema_validator/_types.py#L13 Test: https://github.com/p1c2u/openapi-schema-validator/blob/master/tests/integration/test_validators.py#L64 **This will be breaking change**
I've got an issue with validation Django User model schema generated by django-rest-framework ``` error: bad escape \z ```  [To mimic other engines](https://github.com/encode/django-rest-framework/blob/8812394ed83d7cce0ed5b2c5fcf093269d364b9b/rest_framework/schemas/openapi.py#L564) drf changes python '\Z' to '\z`...
Bumps [mypy](https://github.com/python/mypy) from 1.10.1 to 1.11.1. Changelog Sourced from mypy's changelog. Mypy Release Notes Next release Mypy 1.11 We’ve just uploaded mypy 1.11 to the Python Package Index (PyPI). Mypy...
Bumps [black](https://github.com/psf/black) from 24.4.0 to 24.8.0. Release notes Sourced from black's releases. 24.8.0 Stable style Fix crash when # fmt: off is used before a closing parenthesis or bracket. (#4363)...
Bumps [jsonschema](https://github.com/python-jsonschema/jsonschema) from 4.21.1 to 4.23.0. Release notes Sourced from jsonschema's releases. v4.23.0 What's Changed Add some typing to the exceptions.py module by @DanielNoord in python-jsonschema/jsonschema#1019 Declare support for 3.13...
Bumps [sphinx-immaterial](https://github.com/jbms/sphinx-immaterial) from 0.11.11 to 0.11.14. Release notes Sourced from sphinx-immaterial's releases. v0.11.14 What's Changed Fix type_annotation_transforms for Sphinx >= 7.3 by @jbms in jbms/sphinx-immaterial#359 python/apigen: Fix inheritance of sibling/alias...
Bumps [setuptools](https://github.com/pypa/setuptools) from 68.0.0 to 70.0.0. Changelog Sourced from setuptools's changelog. v70.0.0 Features Emit a warning when [tools.setuptools] is present in pyproject.toml and will be ignored. -- by :user:SnoopJ (#4150)...
Dear team, I've been trying my best to migrate my schema validation from RefResolver to the newer referencing library, but with no avail. I would really appreciate some help or...