Skip to content

Commit 97de739

Browse files
docs: add bearer auth example
Signed-off-by: Matthias Pichler <[email protected]>
1 parent 2b681ee commit 97de739

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

examples/bearer-auth.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
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/{petId}
13+
authentication:
14+
bearer:
15+
token: ${ .token }

0 commit comments

Comments
 (0)