-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathswagger.yaml
72 lines (71 loc) · 1.88 KB
/
swagger.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
swagger: '2.0'
info:
description: |
Application deployment and management should be automated, auditable, and easy to understand and that\'s what beetle tries to achieve in a simple manner. Beetle automates the deployment and rollback of your applications in a multi-cluster, multi-namespaces kubernetes environments. Easy to integrate with through API endpoints & webhooks to fit a variety of workflows.
version: 0.1.0
title: Beetle
contact:
email: [email protected]
license:
name: MIT
url: 'https://github.com/Clivern/Beetle/blob/master/LICENSE'
host: clivern.com
basePath: /
schemes:
- https
- http
paths:
/_health:
get:
tags:
- Healthcheck
summary: Get system health status
produces:
- application/json
parameters: []
responses:
200:
description: "system healthy"
schema:
$ref: "#/definitions/healthResponse"
500:
description: "system is down"
schema:
$ref: "#/definitions/healthResponse"
/_ready:
get:
tags:
- Readiness
summary: Get system readiness
produces:
- application/json
parameters: []
responses:
200:
description: "system ready to accept traffic"
schema:
$ref: "#/definitions/healthResponse"
500:
description: "system not ready to accept traffic"
schema:
$ref: "#/definitions/healthResponse"
/metrics:
get:
tags:
- Metrics
summary: Get metrics for prometheus
produces:
- text/plain
parameters: []
responses:
200:
description: "system metrics"
definitions:
healthResponse:
type: "object"
properties:
status:
type: "string"
externalDocs:
description: Find out more about beetle
url: 'https://github.com/Clivern/Beetle'