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.
Usage: go run ./cmd/specgen/ -out ../../api/openapi/funcd.v1alpha1.yaml [-guide ../../docs/guide]