-
-
Notifications
You must be signed in to change notification settings - Fork 523
/
Copy pathapp8.json
53 lines (53 loc) · 1 KB
/
app8.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
{
"openapi": "3.0.1",
"info": {
"title": "Security API",
"license": {
"name": "Apache 2.0",
"url": "http://springdoc.org"
},
"version": "v1"
},
"servers": [
{
"url": "http://localhost",
"description": "Generated server url"
}
],
"paths": {
"/api/login": {
"post": {
"tags": [
"login-endpoint"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"username": {
"type": "string"
},
"password": {
"type": "string"
}
}
}
}
}
},
"responses": {
"200": {
"description": "OK"
},
"403": {
"description": "Forbidden"
}
}
}
}
},
"components": {
}
}