Skip to content

Commit

Permalink
chore: fix typos in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
frankkilcommins committed Mar 14, 2024
1 parent 9006769 commit ca3e6a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
7 changes: 3 additions & 4 deletions examples/1.0.0/oauth.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@ workflows:
This is where you do the refresh
operationId: get-token
requestBody:
contentType: application/x-www-form-urlencoded
payload:
contentType: application/x-www-form-urlencoded
payload:
grant_type: refresh_token
refresh_token: $steps.do-the-auth-flow.outputs.my_refresh_token
grant_type: refresh_token
refresh_token: $steps.do-the-auth-flow.outputs.my_refresh_token
successCriteria:
- condition: $statusCode == 200
- context: $response.body
Expand Down
13 changes: 6 additions & 7 deletions examples/1.0.0/pet-coupons.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,13 @@ workflows:
- stepId: place-order
operationId: placeOrder
requestBody:
contentType: application/json
payload:
contentType: application/json
payload:
petId: $inputs.pet_id
quantity: $inputs.quantity
couponCode: $inputs.coupon_code
status: placed
complete: false
petId: $inputs.pet_id
quantity: $inputs.quantity
couponCode: $inputs.coupon_code
status: placed
complete: false
successCriteria:
- condition: $statusCode == 200
outputs:
Expand Down

0 comments on commit ca3e6a0

Please sign in to comment.