craftr spec read

Print the effective OpenAPI spec, or the raw imported spec with --imported.

Usage

craftr spec read [--api <api>] [--imported]

Flags

FlagDescription
--api-aAPI slug.
--importedPrint the raw imported spec (spec.imported.json) instead of the projected one.

Examples

craftr spec read -a petstore-api | jq '.paths | keys'

See also