No project description provided
Project description
openapi-audit
Tools for working with OpenAPI schemas. Requires Python 3.11+.
openapi-audit
Lint an OpenAPI schema for quality issues.
# From a file:
uv run openapi-audit schema.json
# From stdin:
curl -s http://localhost:8000/openapi.json | uv run openapi-audit
# Skip specific checks:
uv run openapi-audit schema.json --ignore missing-description --ignore missing-summary
# List available checks:
uv run openapi-audit --list-checks
Configuration
Checks can be configured via a TOML file (--config FILE), either as a standalone file or under [tool.openapi-audit] in pyproject.toml.
Skip entire checks:
[tool.openapi-audit]
ignore-checks = ["missing-parameter-example", "5xx-response"]
Suppress specific issues with regexps (matched against the formatted issue line):
[tool.openapi-audit.checks.missing-parameter-example]
ignore-regexps = ["(limit|offset|ordering)"]
[tool.openapi-audit.checks.no-global-security]
ignore-regexps = [".*"]
openapi-summarize
Produce a compact, LLM-friendly text summary of an OpenAPI schema.
uv run openapi-summarize schema.json
curl -s http://localhost:8000/openapi.json | uv run openapi-summarize
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file openapi_audit-0.2.0-py3-none-any.whl.
File metadata
- Download URL: openapi_audit-0.2.0-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
809e568f5f3cf5f71580f2e2d1f9b5ff48f15ea64116bf07ae4b6a393ed95810
|
|
| MD5 |
100d30d49e09d5e64b40383396a47f89
|
|
| BLAKE2b-256 |
978b306deb475e8caecae380caf1f767e6320a9ec9cf89b9395bdbb34ec50f63
|
Provenance
The following attestation bundles were made for openapi_audit-0.2.0-py3-none-any.whl:
Publisher:
ci.yml on akx/openapi-audit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
openapi_audit-0.2.0-py3-none-any.whl -
Subject digest:
809e568f5f3cf5f71580f2e2d1f9b5ff48f15ea64116bf07ae4b6a393ed95810 - Sigstore transparency entry: 1252831109
- Sigstore integration time:
-
Permalink:
akx/openapi-audit@554d90a34d161eaae5540c624d8298acbbe45d5b -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/akx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@554d90a34d161eaae5540c624d8298acbbe45d5b -
Trigger Event:
push
-
Statement type: