Skip to content

generate-openapi ​

go
import "github.com/prescriptoo/prescriptoo-api/services/api/cmd/generate-openapi"

Package main generates the OpenAPI spec file from registered Huma routes.

Usage: go run ./tools/cli generate openapi (from the repository root) Output: api/openapi.yaml in the repository root

Index ​

Generated by gomarkdoc

Documentation follows the source. Planned contracts are marked explicitly.