-
Notifications
You must be signed in to change notification settings - Fork 0
/
api-docs.json
67 lines (67 loc) · 1.54 KB
/
api-docs.json
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
{
"swagger": "2.0",
"info": {
"description": "Language Management REST API",
"version": "1.0-SNAPSHOT",
"title": "Spring Boot REST API",
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
}
},
"host": "localhost:8088",
"basePath": "/",
"tags": [
{
"name": "language-controller",
"description": "Operations pertaining to Language"
}
],
"paths": {
"/api/languages": {
"get": {
"tags": [
"language-controller"
],
"summary": "View a list of available languages",
"operationId": "getLanguagesUsingGET",
"produces": [
"application/json"
],
"responses": {
"200": {
"description": "Successfully retrieved list",
"schema": {
"$ref": "#/definitions/Iterable"
}
},
"401": {
"description": "You are not authorized to view the resource"
},
"403": {
"description": "Accessing the resource you were trying to reach is forbidden"
},
"404": {
"description": "The resource you were trying to reach is not found"
}
},
"deprecated": false
}
}
},
"definitions": {
"Iterable": {
"type": "object",
"title": "Iterable"
},
"Language": {
"type": "object",
"properties": {
"name": {
"type": "string"
}
},
"title": "Language"
}
}
}