genspec

command
v0.4.0-beta.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2026 License: MIT Imports: 13 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL