) o).containsKey("photoUrls"), "callHttpCondition")));
+ Arguments.of("callHttp.yaml", petInput, petCondition),
+ Arguments.of("call-http-endpoint-interpolation.yaml", petInput, petCondition));
}
}
diff --git a/impl/src/test/resources/call-http-endpoint-interpolation.yaml b/impl/src/test/resources/call-http-endpoint-interpolation.yaml
new file mode 100644
index 00000000..8380a9aa
--- /dev/null
+++ b/impl/src/test/resources/call-http-endpoint-interpolation.yaml
@@ -0,0 +1,13 @@
+document:
+ dsl: '1.0.0-alpha5'
+ namespace: examples
+ name: call-http-shorthand-endpoint
+ version: '0.1.0'
+do:
+ - getPet:
+ call: http
+ with:
+ headers:
+ content-type: application/json
+ method: get
+ endpoint: ${ "https://petstore.swagger.io/v2/pet/\(.petId)" }
\ No newline at end of file
diff --git a/impl/src/main/resources/callHttp.yaml b/impl/src/test/resources/callHttp.yaml
similarity index 100%
rename from impl/src/main/resources/callHttp.yaml
rename to impl/src/test/resources/callHttp.yaml
pFad - Phonifier reborn
Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy