-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeow.yml
40 lines (39 loc) · 968 Bytes
/
meow.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
openapi: 3.0.1
info:
title: meow facts
description: A simple API that returns a random fact about cats
version: 0.1.1
servers:
- url: https://meowfacts.herokuapp.com
paths:
/:
get:
description: Get random facts about cats
operationId: facts
parameters:
- name: count
description: The number of facts to return
in: query
required: false
style: form
explode: true
schema:
type: string
example: '3'
- name: lang
in: query
required: false
style: form
description: The language to return the facts
explode: true
schema:
type: string
example: ukr
responses:
'200':
description: A list of facts about cats
content:
application/json; charset=utf-8:
schema: {}
examples: {}
components: {}