lint_artifact
Lint API artifacts (OpenAPI, AsyncAPI, Arazzo) with Spotlight to identify governance issues. Returns findings with code, message, severity, and path.
Instructions
Lint an API artifact (OpenAPI, AsyncAPI, Arazzo, APIs.json, JSON Schema, …) with Spotlight and return governance findings (code, message, severity, path).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Artifact format; selects the default ruleset when none is given. | |
| content | Yes | The API artifact as a YAML or JSON string. | |
| ruleset | No | A ruleset alias ("spotlight:oas") or a ruleset definition object. Defaults to the built-in ruleset for the format. |