-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathprofile.openapi.yaml
40 lines (39 loc) · 1.25 KB
/
profile.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
37
38
39
40
# This file is to be merged on top of mgc/cli/openapis/profile.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}/profile
variables:
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
paths:
/v0/ssh-keys:
get:
parameters:
- name: _limit
in: query
schema:
type: integer
default: 50
- name: _offset
in: query
schema:
type: integer
default: 0
- name: _sort
in: query
schema:
default: name:asc