mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 22:41:31 +00:00
docs: add OpenAPI 3.1 spec covering all 78 API operations
Generate api/openapi.yaml from handler and domain source code. Covers all 76 endpoints under /api/v1/ plus /health and /ready (78 total). Includes full request/response schemas, domain model definitions, enum types (CertificateStatus, JobType, RevocationReason, etc.), reusable pagination envelope, error responses, and common parameters. This spec serves as the contract for the upcoming MCP server (M18a) and enables Swagger/Redocly interactive documentation immediately. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -210,7 +210,7 @@ Docker Compose overrides these for the demo stack (see `deploy/docker-compose.ym
|
||||
|
||||
## API Overview
|
||||
|
||||
All endpoints are under `/api/v1/` and return JSON. List endpoints support pagination (`?page=1&per_page=50`).
|
||||
All endpoints are under `/api/v1/` and return JSON. List endpoints support pagination (`?page=1&per_page=50`). Full request/response schemas are available in the [OpenAPI 3.1 spec](api/openapi.yaml).
|
||||
|
||||
### Certificates
|
||||
```
|
||||
|
||||
+2580
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user