diff --git a/examples/bearer-auth-uri-format.yaml b/examples/bearer-auth-uri-format.yaml new file mode 100644 index 00000000..622aae2d --- /dev/null +++ b/examples/bearer-auth-uri-format.yaml @@ -0,0 +1,15 @@ +document: + dsl: 1.0.0-alpha1 + namespace: examples + name: bearer-auth-uri-format + version: 1.0.0-alpha1 +do: + getPetById: + call: http + with: + method: get + endpoint: + uri: https://petstore.swagger.io/v2/pet/1 + authentication: + bearer: + token: ${ .token } diff --git a/schema/workflow.yaml b/schema/workflow.yaml index d98321f3..f8d9c90d 100644 --- a/schema/workflow.yaml +++ b/schema/workflow.yaml @@ -665,7 +665,7 @@ $defs: properties: uri: type: string - format: uri + format: uri-template description: The endpoint's URI. authentication: $ref: '#/$defs/authenticationPolicy'