forked from zhammer/finnegan-forever
-
Notifications
You must be signed in to change notification settings - Fork 0
/
swagger.yml
52 lines (50 loc) · 1.48 KB
/
swagger.yml
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
openapi: 3.0.0
servers:
- url: 'https://drsvfxtdvi.execute-api.us-east-1.amazonaws.com/dev'
info:
description: >
A simple webservice that reads Finnegan's Wake in fixed-length passages,
reading a new passage every `reading_every` seconds, forever.
### "Yet how lamely hobbles the hoy of his then pseudo-jocax axplanation
how, according to his own story, he vas a process server and was merely
trying to open zozimus a bottlop stoub by mortially hammering his magnum
bonum..."
version: "1.0.0-oas3"
title: Finnegan Forever
contact:
email: [email protected]
license:
name: MIT License
url: 'https://opensource.org/licenses/MIT'
tags:
- name: Use cases
paths:
/passage:
get:
tags:
- Use cases
summary: Read the current passage of Finnegan's Wake
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Passage'
externalDocs:
description: Visit the github page
url: 'https://github.com/zhammer/finnegan-forever'
components:
schemas:
Passage:
type: object
properties:
passage:
type: string
description: The current passage of Finnegan's Wake.
reading_every:
type: integer
description: The number of seconds for which each passage is read.
example:
passage: riverrun, past Eve and Adam’s, from swer
reading_every: 4