-
Notifications
You must be signed in to change notification settings - Fork 175
/
api.yaml
50 lines (50 loc) · 1.09 KB
/
api.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
openapi: 3.0.1
info:
title: dapr
version: '1.0'
servers:
- url: http://dapr-apim-demo.azure-api.net
- url: https://dapr-apim-demo.azure-api.net
paths:
/echo:
post:
summary: Echo Service
description: Invoke service using Dapr API
operationId: echo
requestBody:
content:
application/json:
example:
message: hello
responses:
'200':
description: ''
/message:
post:
summary: Message Topic
description: Post to topic using Dapr API
operationId: message
requestBody:
content:
application/json:
example:
content: hello
responses:
'200':
description: ''
/save:
post:
summary: DB Binding
description: DB binding using Dapr API
operationId: save
requestBody:
content:
application/json:
example:
city: PDX,
time: 1600171062
metric: aqi
value: 457
responses:
'200':
description: ''