Swagger tweak, removing manually built postman build
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"paths": {
|
||||
"/adm/doot": {
|
||||
"get": {
|
||||
"summary": "Admin ming",
|
||||
"summary": "Admin ping",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
@@ -19,7 +19,11 @@
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {}
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/admin": {
|
||||
@@ -31,7 +35,7 @@
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"summary": "User login",
|
||||
"summary": "Admin login",
|
||||
"parameters": [
|
||||
{
|
||||
"description": "email, password and 2FA code. 2FA code is required",
|
||||
@@ -65,7 +69,11 @@
|
||||
"/doot": {
|
||||
"get": {
|
||||
"summary": "Unauthenticated Ping",
|
||||
"responses": {}
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/forgot": {
|
||||
@@ -173,6 +181,25 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/sec/2fa-doot": {
|
||||
"get": {
|
||||
"summary": "2FA-Restricted Ping",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "2FA authentication code",
|
||||
"name": "twofactorcode",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/sec/doot": {
|
||||
"get": {
|
||||
"summary": "User ping",
|
||||
@@ -185,7 +212,11 @@
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {}
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/signup": {
|
||||
|
||||
Reference in New Issue
Block a user