Documentation
¶
Overview ¶
Command genspec writes the agent's OpenAPI description by reading the agent: routes from the router, bodies from whatever each handler binds, responses from whatever typed value it writes. Nothing is annotated, so the description cannot claim something the code does not do.
go run ./tools/genspec -o internal/api/openapi.json
Click to show internal directories.
Click to hide internal directories.