CLICommands

openapi

snug openapi <COMMAND>

OpenAPI specification export.

Subcommands

CommandWhat it does
exportExport every registered module spec plus the merged openapi.json

Run snug openapi <command> --help for that command's own options. The global options apply everywhere.

Examples

snug openapi export --out ./openapi
snug openapi export --out ./openapi --server-url https://api.snugnut.dev

Next

On this page