Skip to content

Commit

Permalink
Merge pull request #214 from apalm/patch-1
Browse files Browse the repository at this point in the history
chore: fixes for LoginAndRetrievePets.arazzo.yaml
  • Loading branch information
kevinduffey authored Nov 12, 2024
2 parents 4766356 + 9adbcce commit 60e4b0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/1.0.0/LoginAndRetrievePets.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
available: $steps.getPetStep.availablePets

0 comments on commit 60e4b0f

Please sign in to comment.