Skip to content

Commit

Permalink
Merge pull request #879 from ricardozanini/issue-865-fix
Browse files Browse the repository at this point in the history
Fix #878 - Fix URI format in workflow schema for endpoint attribute
  • Loading branch information
ricardozanini authored Jun 3, 2024
2 parents 0a48db9 + 4284df7 commit 2ac27be
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions examples/bearer-auth-uri-format.yaml
Original file line number Diff line number Diff line change
@@ -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 }
2 changes: 1 addition & 1 deletion schema/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ $defs:
properties:
uri:
type: string
format: uri
format: uri-template
description: The endpoint's URI.
authentication:
$ref: '#/$defs/authenticationPolicy'
Expand Down

0 comments on commit 2ac27be

Please sign in to comment.