-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdbaas.openapi.yaml
36 lines (36 loc) · 1.22 KB
/
dbaas.openapi.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
# This file is to be merged on top of mgc/cli/openapis/dbaas.openapi.yaml
# using yaml_merge.py
# NOTE: Lists are merged by their indexes, be careful with parameters, tags and such!
# to keep it sane, keep some list item identifier (ex: "name") and add extra properties,
# such as "x-mgc-name" or "x-mgc-description"
servers:
- url: https://{env}/{region}/database
variables:
region:
description: Region to reach the service
default: br-se1
enum:
- br-ne-1
- br-se1
- br-mgl1
x-mgc-transforms:
- type: translate
allowMissing: true
translations:
- from: br-ne1
to: br-ne-1
- from: br-mgl1
to: br-se-1
env:
description: Environment to use
default: api.magalu.cloud
enum:
- api.magalu.cloud
- api.pre-prod.jaxyendy.com
x-mgc-transforms:
- type: translate
translations:
- from: prod
to: api.magalu.cloud
- from: pre-prod
to: api.pre-prod.jaxyendy.com