Arazzo exports that explain themselves
Exporting an API to Arazzo, or an Arazzo workflow to another format, now gives a fidelity report that matches what a round trip finds. Arazzo import and export are also checked against documents Apiome didn't write: the OpenAPI Initiative's examples, and Arazzo files from Redocly, Spectral and Specmatic.
- Arazzo 1.1 event steps import: a step that waits on an AsyncAPI channel with
channelPathused to be rejected as "names nothing to invoke". It now imports as an asynchronous step. Itsaction,correlationIdandtimeoutare kept, along with workflow-levelparametersand the document's$self, so the workflow exports back unchanged. See Import an Arazzo workflow with its API files. - Exports to Arazzo: when you read the file back, each step is named
<workflow>#<step>, and the report now says so. The operation's own key is dropped, the step's key is synthesized, and each service becomes a workflow. A REST, RPC, GraphQL or agent API now exports to Arazzo with every difference listed in the report. See What is written to Arazzo. - What can't be exported: an Arazzo workflow has no HTTP method or path, no types and no events. Gateway, API client, data and industry-message targets refuse it with the reason. The table is in Arazzo exports.
- Tested against official fixtures: 14 Arazzo 1.0 and 1.1 documents, from the OpenAPI
Initiative, Redocly, Spectral and Specmatic, must pass the official schema, import, and export
back unchanged. They cover
$componentsreferences, runtime expressions,querystringparameters andchannelPathsteps. - REST: no endpoint changes (REST API 1.770.0, OpenAPI 1.601.0).
