From 9adbcce8f33d0874d4382f0f5e89c5e47b255b0f Mon Sep 17 00:00:00 2001 From: Andrew Palm Date: Fri, 12 Jul 2024 19:32:49 -0400 Subject: [PATCH] chore: fixes for LoginAndRetrievePets.arazzo.yaml --- examples/1.0.0/LoginAndRetrievePets.arazzo.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/1.0.0/LoginAndRetrievePets.arazzo.yaml b/examples/1.0.0/LoginAndRetrievePets.arazzo.yaml index 227d9bb..0e2d2ce 100644 --- a/examples/1.0.0/LoginAndRetrievePets.arazzo.yaml +++ b/examples/1.0.0/LoginAndRetrievePets.arazzo.yaml @@ -7,7 +7,7 @@ info: version: 1.0.1 sourceDescriptions: - name: petStoreDescription - url: https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml + url: https://raw.githubusercontent.com/swagger-api/swagger-petstore/master/src/main/resources/openapi.yaml type: openapi workflows: @@ -43,18 +43,18 @@ workflows: sessionToken: $response.body - stepId: getPetStep description: retrieve a pet by status from the GET pets endpoint - operationPath: $sourceDescriptions.petStoreDescription#/paths/~1pet~1findByStatus + operationPath: $sourceDescriptions.petStoreDescription#/paths/~1pet~1findByStatus/get parameters: - name: status in: query value: 'available' - name: Authorization in: header - value: $steps.loginUser.outputs.sessionToken + value: $steps.loginStep.outputs.sessionToken successCriteria: - condition: $statusCode == 200 outputs: # outputs from this step availablePets: $response.body outputs: - available: $steps.getPetStep.availablePets \ No newline at end of file + available: $steps.getPetStep.availablePets