craftr schema
Import an OpenAPI spec and manage the resource/operation mapping.
Commands
schema importImport an OpenAPI spec: preview the diff, resolve conflicts, write, and remap. Source may be a file path or URL; omit to use the saved source or piped stdin.schema diffPreview the diff between the current schema and a candidate spec. Uses the persisted source if no path is given.schema readRead the effective schema (resources, unmapped, ignored, orphan rules).schema unmappedList operations that are not mapped to any resource.schema ignoredList ignored operations with their rule ids.schema mapMap an unmapped operation to a resource and operation name.schema map-allBulk-map every unmapped operation. Choose exactly one mode.schema rename operationRename a single operation within a resource.schema rename resourceRename a resource.schema set-parentSet or clear the parent of a resource. Provide a parent or pass --clear, not both.schema ignoreIgnore an operation. It is removed from the effective schema.schema unignoreRemove an ignore rule by operationId.schema defineDefine a local operation that does not exist in the source spec. Creates the resource if new.schema undefineDelete a locally-defined operation.