Skip to content

Commit 2ac27be

Browse files
Merge pull request #879 from ricardozanini/issue-865-fix
Fix #878 - Fix URI format in workflow schema for endpoint attribute
2 parents 0a48db9 + 4284df7 commit 2ac27be

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

examples/bearer-auth-uri-format.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
document:
2+
dsl: 1.0.0-alpha1
3+
namespace: examples
4+
name: bearer-auth-uri-format
5+
version: 1.0.0-alpha1
6+
do:
7+
getPetById:
8+
call: http
9+
with:
10+
method: get
11+
endpoint:
12+
uri: https://petstore.swagger.io/v2/pet/1
13+
authentication:
14+
bearer:
15+
token: ${ .token }

schema/workflow.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ $defs:
665665
properties:
666666
uri:
667667
type: string
668-
format: uri
668+
format: uri-template
669669
description: The endpoint's URI.
670670
authentication:
671671
$ref: '#/$defs/authenticationPolicy'

0 commit comments

Comments
 (0)