---
title: "openapi-spec-validator 0.9.0 Breaking Changes on PyPI"
description: "What each openapi-spec-validator release removed, renamed or changed: 25 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/openapi-spec-validator
last_updated: 2026-12-04
---

# 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

Latest version `0.9.0`, released May 20, 2026. [Source repository](https://github.com/python-openapi/openapi-spec-validator)

Its 0.8.0 release drops Python 3.8 and [3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.8.0](#v-0-8-0) to [0.9.0](#v-0-9-0): 1 breaking change in 1 version.

## openapi-spec-validator 0.9.0 breaking changes

openapi-spec-validator 0.9.0, released May 20, 2026: 1 breaking change.

- **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](https://github.com/python-openapi/openapi-spec-validator/releases/tag/0.9.0)

## openapi-spec-validator 0.8.0 breaking changes

openapi-spec-validator 0.8.0, released February 23, 2026: 24 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](https://github.com/python-openapi/openapi-spec-validator/releases/tag/0.8.0)
- **Removed** `openapi_spec_validator.validation.decorators.Args`  

openapi_spec_validator.validation.decorators.Args was removed in openapi-spec-validator 0.8.0 [pypi.org](https://pypi.org/project/openapi-spec-validator/0.8.0/)
- **Removed** `openapi_spec_validator.validation.proxies.OpenAPIValidationError`  

openapi_spec_validator.validation.proxies.OpenAPIValidationError was removed in openapi-spec-validator 0.8.0 [pypi.org](https://pypi.org/project/openapi-spec-validator/0.8.0/)
- **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](https://pypi.org/project/openapi-spec-validator/0.8.0/)
- **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](https://pypi.org/project/openapi-spec-validator/0.8.0/)
- **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](https://pypi.org/project/openapi-spec-validator/0.8.0/)
- **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](https://pypi.org/project/openapi-spec-validator/0.8.0/)
- **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](https://pypi.org/project/openapi-spec-validator/0.8.0/)
- **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](https://pypi.org/project/openapi-spec-validator/0.8.0/)
- **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](https://pypi.org/project/openapi-spec-validator/0.8.0/)

And 14 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [openapi-core](https://since.dev/packages/pypi/openapi-core.md)
- [openapi-schema-validator](https://since.dev/packages/pypi/openapi-schema-validator.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
