forked from membrane/api-gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapis.yaml
More file actions
46 lines (40 loc) · 658 Bytes
/
apis.yaml
File metadata and controls
46 lines (40 loc) · 658 Bytes
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
# yaml-language-server: $schema=https://www.membrane-api.io/v7.1.2.json
api:
port: 2000
flow:
- shadowing:
targets:
- target:
host: localhost
port: 3000
- target:
host: localhost
port: 3001
- target:
host: localhost
port: 3002
target:
host: api.predic8.de
port: 443
ssl: {}
---
api:
port: 3000
flow:
- log: {}
- return:
status: 200
---
api:
port: 3001
flow:
- log: {}
- return:
status: 201
---
api:
port: 3002
flow:
- log: {}
- return:
status: 202