Replies: 1 comment 1 reply
-
@jetro4u I'm not quite sure what you're asking, but the format of the Arazzo Description is independent from the format of the API messages. If you just want to convert the examples from YAML to JSON there are online tools that will do that for you. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I read on the page that 'Arazzo Descriptions can be JSON or YAML values.'
On the documentation page, I saw these two descript
JSON Templated Example
contentType: application/json
payload: |
{
"petOrder": {
"petId": "{$inputs.pet_id}",
"couponCode": "{$inputs.coupon_code}",
"quantity": "{$inputs.quantity}",
"status": "placed",
"complete": false
}
}
JSON Object Example
contentType: application/json
payload:
petOrder:
petId: $inputs.pet_id
couponCode: $inputs.coupon_code
quantity: $inputs.quantity
status: placed
complete: false
`
Which of them apply as a json format for the entire document.
Beta Was this translation helpful? Give feedback.
All reactions