Skip to content

Commit bd2aff4

Browse files
docs: add async api example
Signed-off-by: Matthias Pichler <[email protected]>
1 parent 62e012d commit bd2aff4

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

examples/asyncapi.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
document:
2+
dsl: 1.0.0-alpha1
3+
namespace: examples
4+
name: bearer-auth
5+
version: 1.0.0-alpha1
6+
do:
7+
greetUser:
8+
call: asyncapi
9+
with:
10+
document:
11+
uri: https://fake.com/docs/asyncapi.json
12+
operation: findPetsByStatus
13+
server: staging
14+
message: getPetByStatusQuery
15+
binding: http
16+
payload:
17+
petId: ${ .pet.id }
18+
authentication:
19+
bearer:
20+
token: ${ .token }

0 commit comments

Comments
 (0)