Elevate Your API Game: Workflow Spec Deep Dive
summary
Specification under the OpenAPI SIG defines a YAML/JSON workflow file (targeting v1.0.0) that strings API calls into workflow steps referencing operationId or workflowId, accepts JSON Schema inputs, and returns named outputs mapping; steps include conditional success actions and failure actions (e.g., retry after 1000 ms up to 5 attempts on 503, or goto/end). Use cases: deterministic recipes, living docs, targeted SDK generation, regulatory conformance checks (open banking) and AI consumption. Example: Petco uses two OpenAPI specs (Pets, Adoptions) to implement search → initiate adoption → confirm → verify status.
AI-written summary · about
