craftr spec
Read the OpenAPI spec, or promote defined operations into it.
Commands
spec readPrint the effective OpenAPI spec, or the raw imported spec with --imported.spec promoteWrite defined operations, with their parameters, request body and responses, into the API spec (spec.imported.json). The API then owns its spec: an upstream file or URL source is detached.