-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocs.yml
69 lines (63 loc) · 1.38 KB
/
docs.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
api:
info:
version: '1.0.1'
title: CurrencyAlarmAPI
description: great ever
tags:
- Converter
- Currency
models:
- name: ConverterResult
contentType: "application/json"
schema:
type: object
properties:
from:
type: string
to:
type: string
value:
type: number
- name: ConverterSuccessResponse
contentType: "application/json"
schema:
type: object
properties:
success:
type: boolean
data:
$ref: "{{model: ConverterResult}}"
- name: CurrencyConverterRequest
contentType: "application/json"
schema:
required:
- email
- password
properties:
email:
type: string
password:
type: string
- name: 500InternalError
contentType: "application/json"
schema:
type: object
properties:
success:
type: boolean
message:
type: string
- name: 400ValidationResponse
contentType: "application/json"
schema:
type: object
properties:
success:
type: boolean
message:
type: string
commonModelSchemaFragments:
MethodResponse400Json:
statusCode: '400'
responseModels:
"application/json": 400JsonResponse