We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82fc625 commit 1b53d43Copy full SHA for 1b53d43
examples/mock-service-extension.yaml
@@ -6,8 +6,8 @@ document:
6
use:
7
extensions:
8
- name: mockService
9
- extend: http
10
- when: ($task.with.uri != null and ($task.with.uri | startswith("https://mocked.service.com"))) or ($task.with.endpoint.uri != null and ($task.with.endpoint.uri | startswith("https://mocked.service.com")))
+ extend: call
+ when: ($task.with.endpoint != null and ($task.with.endpoint | startswith("https://mocked.service.com"))) or ($task.with.endpoint.uri != null and ($task.with.endpoint.uri | startswith("https://mocked.service.com")))
11
before:
12
- set:
13
statusCode: 200
0 commit comments