openapi-spec-validator breaking changes
openapi-spec-validator 0.9.0 (May 20, 2026) is its newest release with breaking changes. The first: Validation results change for specs relying on discriminator handling in openapi-spec-validator 0.9.0. Every breaking API change we have recorded in openapi-spec-validator on PyPI: 25 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.9.0, released May 20, 2026. Source repository
Its 0.8.0 release drops Python 3.8 and 3.9. Python end of life dates.
openapi-spec-validator 0.9.0 breaking changes
- Behavior changed
Specs that depended on discriminator-based narrowing or discriminator mapping resolution errors may now validate differently. Check specs that use discriminators after upgrading. github.com
openapi-spec-validator 0.8.0 breaking changes
- Removed
The 0.8.0 release no longer supports Python 3.8 and 3.9, so code running on those versions must move to a newer Python. github.com - Removed
openapi_spec_validator.validation.decorators.Args
openapi_spec_validator.validation.decorators.Args was removed in openapi-spec-validator 0.8.0 pypi.org - Removed
openapi_spec_validator.validation.proxies.OpenAPIValidationError
openapi_spec_validator.validation.proxies.OpenAPIValidationError was removed in openapi-spec-validator 0.8.0 pypi.org - Signature changed
openapi_spec_validator.readers.read_from_filename
Was def read_from_filename(filename: str) -> Tuple[Mapping[Hashable, Any], str]; now def read_from_filename(filename: str) -> tuple[Schema, str]. pypi.org - Signature changed
openapi_spec_validator.readers.read_from_stdin
Was def read_from_stdin(filename: str) -> Tuple[Mapping[Hashable, Any], str]; now def read_from_stdin(filename: str) -> tuple[Schema, str]. pypi.org - Signature changed
openapi_spec_validator.schemas.utils.get_schema
Was def get_schema(version: str) -> Tuple[Mapping[Hashable, Any], str]; now def get_schema(version: str) -> tuple[Schema, str]. pypi.org - Signature changed
openapi_spec_validator.schemas.utils.get_schema_content
Was def get_schema_content(version: str) -> Mapping[Hashable, Any]; now def get_schema_content(version: str) -> Schema. pypi.org - Signature changed
openapi_spec_validator.shortcuts.SupportsValidation.is_valid
Was def is_valid(self, instance: Mapping[Hashable, Any]) -> bool; now def is_valid(self, instance: Schema) -> bool. pypi.org - Signature changed
openapi_spec_validator.shortcuts.SupportsValidation.iter_errors
Was def iter_errors(self, instance: Mapping[Hashable, Any], base_uri: str = '', spec_url: Optional[str] = None) -> Iterator[OpenAPIValidationError]; now def iter_errors(self, instance: Schema, base_uri: str = '', spec_url: str | None =... pypi.org - Signature changed
openapi_spec_validator.shortcuts.SupportsValidation.validate
Was def validate(self, instance: Mapping[Hashable, Any], base_uri: str = '', spec_url: Optional[str] = None) -> None; now def validate(self, instance: Schema, base_uri: str = '', spec_url: str | None = None) -> None. pypi.org
And 14 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.