Documentation
¶
Overview ¶
Package agent holds the agent's public HTTP API contract: the OpenAPI (Swagger 2.0) specification generated from internal/api's swag annotations. Never hand-edit swagger.json/swagger.yaml — change the annotations on the handlers in internal/api and run `make swagger` instead, exactly like api/plugin/v1's generated stubs are regenerated with `make proto` rather than patched by hand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Spec []byte
Spec holds the generated OpenAPI document as JSON, served by the agent itself at GET /v1/openapi.json (internal/api/router.go).
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.