-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathskjera-api.yaml
93 lines (86 loc) · 1.66 KB
/
skjera-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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
openapi: 3.1.0
info:
title: Skjera Api
description: Scienta's internal API for figuring out what's shakin'!
version: 1.0.0
paths:
/:
get:
tags:
- html
operationId: HelloWorld
responses:
200:
description: Hello World
content:
text/html:
schema: { }
/api/employee:
get:
tags:
- skjera
operationId: ListEmployees
responses:
200:
description: List of employees
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/Employee"
/meta/healthz:
get:
tags:
- meta
summary: ""
operationId: MetaHealthz
responses:
200:
description: Healthy
503:
description: Unhealthy
components:
schemas:
Employee:
type: object
required:
- email
- name
- someAccounts
properties:
name:
type: string
email:
type: string
nick:
type: string
someAccounts:
type: array
items:
$ref: "#/components/schemas/SomeAccount"
SomeAccount:
type: object
required:
- id
- network
- url
- nick
properties:
id:
type: integer
format: int64
network:
type: string
url:
type: string
nick:
type: string
SomeNetwork:
type: string
enum:
- Twitter
- LinkedIn
- Slack
- GitHub
- GitLab