-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Hi Everyone,
I have notice some problems with the example files provided, want to discuss on clarify with you all here.
BNPL Example
https://github.com/OAI/Arazzo-Specification/blob/main/examples/1.0.0/bnpl-arazzo.yaml
**->**The schema only allows path, query, header, and cookie. However on the BNPL example I can see "headers" is used, is this a mistake or intentionally added?
parameters:
- name: redirectAuthToken
in: query
value: $steps.authenticateCustomerAndAuthorizeLoan.outputs.redirectAuthToken
successCriteria:
- condition: $statusCode == 302
outputs:
redirectUrl: $response.headers.Location
-> Missing comma on line number 173
requestBody:
contentType: application/json
payload: |
{
"firstName": "{$inputs.customer.firstName}",
"lastName": "{$inputs.customer.lastName}",
"dateOfBirth": "{$inputs.customer.dateOfBirth}",
"postalCode": "{$inputs.customer.postalCode}"
"termsAndConditionsAccepted": true
}
FAPI-PAR Example
https://github.com/OAI/Arazzo-Specification/blob/main/examples/1.0.0/FAPI-PAR.arazzo.yaml
-> Incorrect operationId is defined in line number 102. According to the OpenAPI Specification the operationId should be case sensitive, in this case the OpenAPI documents operationId is "Par", but what is mentioned in the Arazzo spec is "PAR"
Arazzo
steps:
- stepId: PARStep
description: Pushed Authorization Request
operationId: $sourceDescriptions.auth-api.PAR
OpenAPI
operationId: Par
tags:
- OAuth2
parameters: