Skip to content

Commit

Permalink
Minor example updates from linter (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
lornajane authored Jul 31, 2024
1 parent cffe02a commit 977f586
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 4 additions & 2 deletions examples/1.0.0/bnpl-arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,13 @@ workflows:
- name: CustomerAuthorizationRequired
type: goto
stepId: authenticateCustomerAndAuthorizeLoan
condition: $response.body.redirectAuthToken != null
criteria:
- condition: $response.body.redirectAuthToken != null
- name: CustomerAuthorizationNotRequired
type: goto
stepId: retrieveFinalizedPaymentPlan
condition: $response.body.redirectAuthToken == null
criteria:
- condition: $response.body.redirectAuthToken == null
outputs:
redirectAuthToken: $response.body.redirectAuthToken
loanTransactionResourceUrl: $response.body.links.self
Expand Down
2 changes: 1 addition & 1 deletion examples/1.0.0/oauth.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ paths:
type: string
client_secret:
type: string
requiredProperties:
required:
- grant_type
- client_id
responses:
Expand Down
6 changes: 4 additions & 2 deletions examples/1.0.0/pet-coupons.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,15 @@ paths:
description: Which page of results to display. First page is 1.
required: true
schema:
type: int32
type: integer
format: int32
- name: pageSize
in: query
description: Number of results to display per page.
required: false
schema:
type: int32
type: integer
format: int32
default: 10
responses:
'200':
Expand Down

0 comments on commit 977f586

Please sign in to comment.