-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs.yaml
62 lines (62 loc) · 1.23 KB
/
docs.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
openapi: 3.1.0
info:
title: vague-chipmunk
version: 1.0.0
paths:
/hello:
get:
operationId: getHello
parameters:
- name: name
in: query
required: true
schema:
type: string
responses:
'200':
description: ''
content:
text/plain:
schema:
type: string
'400':
description: 'Invalid value for: query parameter name'
content:
text/plain:
schema:
type: string
/books/list/all:
get:
operationId: getBooksListAll
responses:
'200':
description: ''
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Book'
components:
schemas:
Author:
required:
- name
type: object
properties:
name:
type: string
Book:
required:
- title
- year
- author
type: object
properties:
title:
type: string
year:
type: integer
format: int32
author:
$ref: '#/components/schemas/Author'