--- id: openapi-spec-validator version: "0.9.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # openapi-spec-validator — OpenAPI 2.0 (aka Swagger) and OpenAPI 3 spec validator License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install openapi-spec-validator uv add openapi-spec-validator poetry add openapi-spec-validator ## Description ********************** OpenAPI Spec validator ********************** .. image:: https://img.shields.io/docker/v/pythonopenapi/openapi-spec-validator.svg?color=%23086DD7&label=docker%20hub&sort=semver :target: https://hub.docker.com/r/pythonopenapi/openapi-spec-validator .. image:: https://img.shields.io/pypi/v/openapi-spec-validator.svg :target: https://pypi.python.org/pypi/openapi-spec-validator .. image:: https://img.shields.io/codecov/c/github/python-openapi/openapi-spec-validator/master.svg?style=flat :target: https://codecov.io/github/python-openapi/openapi-spec-validator?branch=master .. image:: https://img.shields.io/pypi/pyversions/openapi-spec-validator.svg :target: https://pypi.python.org/pypi/openapi-spec-validator .. image:: https://img.shields.io/pypi/format/openapi-spec-validator.svg :target: https://pypi.python.org/pypi/openapi-spec-validator .. image:: https://img.shields.io/pypi/status/openapi-spec-validator.svg :target: https://pypi.python.org/pypi/openapi-spec-validator About ##### OpenAPI Spec Validator is a CLI, pre-commit hook and python package that validates OpenAPI Specs against the `OpenAPI 2.0 (aka... ## AI interpretation — verify before relying Validates OpenAPI specifications (2.0, 3.0, 3.1, and 3.2) for compliance with the official OpenAPI standard, available as a Python package, CLI tool, and pre-commit hook. Verdict: A well-maintained, actively developed validator for OpenAPI specifications across all major versions, with low install friction and permissive licensing. No known vulnerabilities, broad Python 3.10+ support, and top-1000 PyPI popularity make it a reliable choice for API spec validation in CI/CD pipelines and development workflows. [View on SkillFed](https://skillfed.io/packages/openapi-spec-validator) · [View on PyPI](https://pypi.org/project/openapi-spec-validator/)