Source-backed facts for citing this resource, derived directly from the registry — also available as plain text for AI assistants.
- Source URLs
- https://spec.openapis.org/oas/latest.html, https://github.com/OAI/OpenAPI-Specification
- Safety notes
- Runs after every Write, Edit, and MultiEdit and only inspects JSON files that declare openapi, swagger, a $schema key, or paths., Stays read-only and runs git show to read the committed version; it never edits, stages, or commits anything., Advisory by design and always exits 0, so it never blocks a write even when drift is detected., Uses key-set comparison heuristics for removed paths and required fields, so it catches common breaking changes but is not a full OpenAPI diff.
- Privacy notes
- Reads the edited schema file and its committed HEAD version from the local repository only., Prints removed path and required-field names to local hook stderr; it makes no network calls and writes no logs., Path and field names shown in output may reveal internal API surface in your terminal.
- Author
- jony376
- Submitted by
- jony376
- Claim status
- unclaimed
- Last verified
- 2026-06-04