diff --git a/README.md b/README.md index ca8f98e..87dc94e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # The Arazzo Specification -![alt Arazzo logo](./images/Arrazo-logo.png) +![alt Arazzo logo](./images/Arazzo-logo.png) The Arazzo Specification is a community-driven open specification within the [OpenAPI Initiative](https://www.openapis.org/), a Linux Foundation Collaborative Project. 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': diff --git a/images/Arazzo-Specification-Structure.png b/images/Arazzo-Specification-Structure.png index a5a7854..68a125d 100644 Binary files a/images/Arazzo-Specification-Structure.png and b/images/Arazzo-Specification-Structure.png differ diff --git a/images/Arazzo-logo.png b/images/Arazzo-logo.png new file mode 100644 index 0000000..a584c84 Binary files /dev/null and b/images/Arazzo-logo.png differ diff --git a/images/Arrazo-logo.png b/images/Arrazo-logo.png deleted file mode 100644 index 34e3fe5..0000000 Binary files a/images/Arrazo-logo.png and /dev/null differ diff --git a/versions/1.0.0.md b/versions/1.0.0.md index df55813..eb5e8df 100644 --- a/versions/1.0.0.md +++ b/versions/1.0.0.md @@ -71,7 +71,7 @@ In order to preserve the ability to round-trip between YAML and JSON formats, YA It is RECOMMENDED that the entry Arazzo document be named: `arazzo.json` or `arazzo.yaml`. -An Arazzo Description MAY be made up of a single document or be divided into multiple, connected parts at the discretion of the author. If workflows from other documents are being referenced, they must by included as a [Source Description Object](#source-description-object). In a multi-document description, the document containing the [Arazzo Specification Object](#arazzo-specification-object) is known as the **entry Arazzo document**. +An Arazzo Description MAY be made up of a single document or be divided into multiple, connected parts at the discretion of the author. If workflows from other documents are being referenced, they MUST be included as a [Source Description Object](#source-description-object). In a multi-document description, the document containing the [Arazzo Specification Object](#arazzo-specification-object) is known as the **entry Arazzo document**. ### Data Types