diff --git a/examples/call-http-shorthand-endpoint.yaml b/examples/call-http-shorthand-endpoint.yaml index 35a8c81d..f682ed30 100644 --- a/examples/call-http-shorthand-endpoint.yaml +++ b/examples/call-http-shorthand-endpoint.yaml @@ -8,4 +8,4 @@ do: call: http with: method: get - endpoint: https://petstore.swagger.io/v2/pet/1 \ No newline at end of file + endpoint: https://petstore.swagger.io/v2/pet/{petId} diff --git a/schema/workflow.yaml b/schema/workflow.yaml index e39171d5..75c2093e 100644 --- a/schema/workflow.yaml +++ b/schema/workflow.yaml @@ -219,7 +219,7 @@ $defs: oneOf: - $ref: '#/$defs/endpoint' - type: string - format: uri + format: uri-template headers: type: object description: A name/value mapping of the headers, if any, of the HTTP request to perform.