api_doc_review
Review staged or explicit API controller, DTO, handler, and OpenAPI files for documentation issues; render a host-agent prompt or record a JSON result without flagging unrelated legacy debt.
Instructions
Render the API documentation host-agent review prompt/schema, or record a supplied JSON review result for staged or explicit controller/DTO/handler/OpenAPI files. By default it scopes to git staged API candidate files and does not fail unrelated pre-existing Swagger/OpenAPI debt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | When true, review all tracked API candidate files. Default false keeps scope to staged changes. | |
| cwd | No | ||
| repo | No | Target git repository path. Defaults to current directory. | |
| files | No | Explicit API candidate files. Omit to use staged controller/DTO/handler/OpenAPI files. | |
| diff_file | No | Optional file containing a diff to review instead of git diff --cached. | |
| prompt_file | No | Optional project-specific Swagger/OpenAPI rules. | |
| result_file | No | Optional host-agent JSON review result to record as evidence. Omit to render prompt/schema for the host agent. | |
| authority_file | No | HTTP only: from `issueops mcp authorize`; omit over stdio. | |
| workspace_root | No | Absolute workspace root. |