apinotes/ApiNotes OpenAPI Validate & Diff

Validate OpenAPI specs and detect breaking changes on every PR. Powered by apinotes.io

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jun 19, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: apinotes/openapi-validate@2f686a6553d1b46f12b32b1827f1d4e248749cce # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
api-keyYour ApiNotes API key (get one free at apinotes.io/dashboard/settings). Optional for public repositories — GitHub Actions on public repos are validated for free without a key.no""
spec-pathPath to your OpenAPI spec file (e.g., openapi.yaml, docs/api.json)yesopenapi.yaml
diff-enabledEnable breaking change detection by diffing against base branchnotrue
fail-on-errorsFail the workflow if validation errors are foundnotrue
fail-on-breakingFail the workflow if breaking changes are detectednofalse
api-urlApiNotes API base URL (override for self-hosted)nohttps://api.apinotes.io/api/v1
comment-on-prPost results as a PR commentnotrue
namedescription
validWhether the spec is valid (true/false)
errors-countNumber of validation errors
warnings-countNumber of validation warnings
breaking-changes-countNumber of breaking changes detected
versionDetected OpenAPI version