For the complete documentation index, see llms.txt
Skip to main content

Validate an OpenAPI specification

POST 

/api/v2/openapi/validate/

Validate an OpenAPI specification against the same checks Biel runs when it indexes your spec, including $ref resolution. A 200 means the next sync will parse the spec; a 422 returns the validation errors it would fail with.

Designed for CI/CD: publish your spec, call this endpoint, and fail the pipeline on a non-2xx status. This catches changes that would break API indexing before Biel's next sync does.

Submit the spec either by url (Biel fetches it and resolves relative $refs against it) or inline as content (JSON or YAML).

Required permission: none. Any valid API key works.

Request

Responses

The specification is valid. A sync will parse it.