validate_api
Lint an OpenAPI, AsyncAPI, Arazzo, or JSON Schema document against the curated best-of-breed ruleset (Spectral) and return the findings. Pass your own ruleset to run rules you own instead of the catalog — which is what you should do before gating on anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | The API description to operate on — OpenAPI, AsyncAPI, Arazzo or JSON Schema. A YAML/JSON string or an already-parsed object; both are accepted. |