From 30bdca1d5743390de4d7f911894fed26fdbeb650 Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Thu, 30 Nov 2023 16:33:12 +0100 Subject: [PATCH 1/3] operationRef matching referenced OpenAPI description And the subsequent `parameters` block --- versions/1.0.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/1.0.0.md b/versions/1.0.0.md index b839421..5c11168 100644 --- a/versions/1.0.0.md +++ b/versions/1.0.0.md @@ -184,7 +184,7 @@ workflows: sessionToken: $response.body - stepId: getPetStep description: retrieve a pet by status from the GET pets endpoint - operationRef: https://petstore3.swagger.io/api/v3/openapi.json#/paths/users/~findbystatus~1{status}/get + operationRef: https://petstore3.swagger.io/api/v3/openapi.json#/paths/~1pet~1findByStatus/get dependsOn: loginStep parameters: - name: status From 24d2f3b9d3795d8dc57025c3862964cc6a45e0da Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Thu, 30 Nov 2023 17:46:13 +0100 Subject: [PATCH 2/3] Another occurrence of the same example --- versions/1.0.0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versions/1.0.0.md b/versions/1.0.0.md index 5c11168..bcffc36 100644 --- a/versions/1.0.0.md +++ b/versions/1.0.0.md @@ -379,7 +379,7 @@ steps: sessionToken: $response.body - stepId: getPetStep description: retrieve a pet by status from the GET pets endpoint - operationRef: https://petstore3.swagger.io/api/v3/openapi.json#/paths/users/~findbystatus~1{status}/get + operationRef: https://petstore3.swagger.io/api/v3/openapi.json#/paths/~1pet~1findByStatus/get parameters: - name: status in: query From bca491c41b85d5966abe1ef745c3c1e79633972a Mon Sep 17 00:00:00 2001 From: Ralf Handl Date: Thu, 14 Dec 2023 08:37:25 +0100 Subject: [PATCH 3/3] Path of operationRef must match one of the referenced sources --- versions/1.0.0.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/versions/1.0.0.md b/versions/1.0.0.md index bcffc36..ee5e863 100644 --- a/versions/1.0.0.md +++ b/versions/1.0.0.md @@ -184,7 +184,7 @@ workflows: sessionToken: $response.body - stepId: getPetStep description: retrieve a pet by status from the GET pets endpoint - operationRef: https://petstore3.swagger.io/api/v3/openapi.json#/paths/~1pet~1findByStatus/get + operationRef: https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml#/paths/~1pet~1findByStatus/get dependsOn: loginStep parameters: - name: status @@ -379,7 +379,7 @@ steps: sessionToken: $response.body - stepId: getPetStep description: retrieve a pet by status from the GET pets endpoint - operationRef: https://petstore3.swagger.io/api/v3/openapi.json#/paths/~1pet~1findByStatus/get + operationRef: https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml#/paths/~1pet~1findByStatus/get parameters: - name: status in: query