Documentation
¶
Overview ¶
Full example: drive RunCLI with the complete RunOptions surface so the generated YAML exercises every Document-level OpenAPI 3.0.3 feature goai supports — License, Contact, TermsOfService, ExternalDocs, multiple Servers with ServerVariables, multiple Tags, GlobalSecurity, SecuritySchemes, and a custom DefaultOutput path.
go run ./goai/examples/full -o /tmp/full.yaml go run ./goai/examples/full -o - # write to stdout
Use this file as a copy-paste template when bootstrapping a new project's `cmd/goaispec` (or equivalent) binary.
Click to show internal directories.
Click to hide internal directories.