craftr schema define
Define a local operation that does not exist in the source spec. Creates the resource if new.
Usage
craftr schema define <resource> <name> --method <method> --path <path> --operation-id <id> [--api <api>]Flags
| Flag | Description |
|---|---|
--methodrequired | HTTP method (GET, POST, …). |
--pathrequired | OpenAPI path, e.g. /pet/{petId}/vaccinations. |
--operation-idrequired | Unique operationId. |
--api-a | API slug. |