From 977f586da14b65bd8e612b763267b8b728749e52 Mon Sep 17 00:00:00 2001 From: Lorna Jane Mitchell Date: Wed, 31 Jul 2024 17:13:27 +0100 Subject: [PATCH] Minor example updates from linter (#215) --- examples/1.0.0/bnpl-arazzo.yaml | 6 ++++-- examples/1.0.0/oauth.openapi.yaml | 2 +- examples/1.0.0/pet-coupons.openapi.yaml | 6 ++++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/examples/1.0.0/bnpl-arazzo.yaml b/examples/1.0.0/bnpl-arazzo.yaml index adc833c..51fd00f 100644 --- a/examples/1.0.0/bnpl-arazzo.yaml +++ b/examples/1.0.0/bnpl-arazzo.yaml @@ -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 diff --git a/examples/1.0.0/oauth.openapi.yaml b/examples/1.0.0/oauth.openapi.yaml index ba91505..9930a23 100644 --- a/examples/1.0.0/oauth.openapi.yaml +++ b/examples/1.0.0/oauth.openapi.yaml @@ -72,7 +72,7 @@ paths: type: string client_secret: type: string - requiredProperties: + required: - grant_type - client_id responses: diff --git a/examples/1.0.0/pet-coupons.openapi.yaml b/examples/1.0.0/pet-coupons.openapi.yaml index a11f5ba..43661d7 100644 --- a/examples/1.0.0/pet-coupons.openapi.yaml +++ b/examples/1.0.0/pet-coupons.openapi.yaml @@ -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':