craftr spec read
Print the effective OpenAPI spec, or the raw imported spec with --imported.
Usage
craftr spec read [--api <api>] [--imported]Flags
| Flag | Description |
|---|---|
--api-a | API slug. |
--imported | Print the raw imported spec (spec.imported.json) instead of the projected one. |
Examples
craftr spec read -a petstore-api | jq '.paths | keys'