forked from cilium/starwars-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
swagger.yaml
42 lines (42 loc) · 838 Bytes
/
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
---
swagger: '2.0'
info:
title: Deathstar
description: API of a Star Wars Deathstar
version: v1
basePath: "/v1"
schemes:
- http
produces:
- text/plain
consumes:
- application/json
paths:
"/":
get:
summary: Get in touch with the deathstar
responses:
'200':
description: OK
schema:
type: string
"/exhaust-port":
put:
summary: Put something into the thermal exhaust port of the deathstar
responses:
'200':
description: OK
schema:
type: string
'503':
description: Deathstar exploded
schema:
type: string
"/request-landing":
post:
summary: Land a ship in the ship bay
responses:
'200':
description: OK
schema:
type: string