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
| Flag | Description | Default |
|---|---|---|
-d, --debug | Enable or disable debug mode | |
-j, --json | Enable JSON output | |
-f, --osapi-file | Path to config file | /etc/osapi/osapi.yaml |
Output tells how the result is printed, and what --json
gives.