Skip to main content
POST
Emit OpenAPI 3.1 spec from the CLI registry

Body

application/json
out
string

Write spec JSON to this path (default: docs/openapi.json)

stdout
boolean

Print spec JSON to stdout

Response

Success — body conforms to the @Returns schema.

bytes
number
required
status
string
required
Allowed value: "stdout"