Auto-fix for Arazzo workflows
A fix plan now accepts an Arazzo workflow document as well as OpenAPI, and can repair three findings without a person or an AI model.
- Repeated step ids: the repeat gets a suffix (
listbecomeslist-2); the first step keeps its id. - Missing success criteria: a step whose embedded OpenAPI source declares a
2xxresponse getssuccessCriteria: [{condition: "$statusCode == 200"}]. Off unless you switch it on. - Version marker:
arazzo: 1.0.xbecomes1.1.0when the document uses an AsyncAPI source, achannelPathstep or aquerystring/channelparameter.
See Fixable Arazzo rules.
- REST: API 1.618.0.
POST /v1/lint/fixes/planplans Arazzo documents. - CLI: no changes;
apiome lint <file> --fixwill detect Arazzo files once local-file lint ships.
