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
33 lines (32 loc) · 688 Bytes
/
apis.yaml
File metadata and controls
33 lines (32 loc) · 688 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
# yaml-language-server: $schema=https://www.membrane-api.io/v7.1.2.json
api:
port: 8443
ssl:
showSSLExceptions: true
# Please replace keystore for production!
keystore:
location: membrane.p12
password: secret
keyPassword: secret
truststore:
location: membrane.p12
password: secret
# Route here to your target
target:
host: localhost
port: 2000
---
# Serves as a backend API mock
api:
port: 2000
flow:
- response:
- template:
pretty: true
contentType: application/json
src: |
{
"success": true
}
- return:
status: 200