Skip to main content

Get

Print the endpoint DSL: each option, method, refinement, error and field tag.

Print each part of the endpoint DSL, what it makes osapi do and when to use it, and what it cannot do yet. The list comes from this binary. Thus it agrees with the build that you run. Read it before you write a group, then check the result with osapi controller endpoint validate.

osapi controller endpoint spec get

Examples​

osapi controller endpoint spec get
osapi controller endpoint spec get --json

Global flags​

FlagDescriptionDefault
-d, --debugEnable or disable debug mode
-j, --jsonEnable JSON output
-f, --osapi-filePath to config file/etc/osapi/osapi.yaml

Output tells how the result is printed, and what --json gives.