Documentation
¶
Overview ¶
Command specgen writes the huma-generated OpenAPI 3.1 spec to the committed path. It builds the API with stub handlers and writes the YAML output deterministically. With -guide, it also writes the guide's Spec pages (ADR-0323) and the API reference's layout beside them (ADR-0331). Usage: go run ./cmd/specgen/ -out ../../api/openapi/funcd.v1alpha1.yaml [-guide ../../docs/guide]
Click to show internal directories.
Click to hide internal directories.