Files
MermsCoreFlask/app/swagger/paths/Account.json
T
CHIEFSOFT\ameye 02dfc93d3b account swagger
2025-06-23 12:04:58 -04:00

57 lines
1.7 KiB
JSON

{
"get": {
"tags": [
"Account"
],
"summary": "User Account + Profile ",
"description": "Initiate Login Request",
"operationId": "startLogin",
"requestBody": {
"description": "Post JSON to conduct login request",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/UserRequest.json"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/UserRequest.json"
}
},
"application/x-www-form-urlencoded": {
"schema": {
"$ref": "../schemas/UserRequest.json"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful operation",
"content": {
"application/json": {
"schema": {
"$ref": "../schemas/LoginResponse.json"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/LoginResponse.json"
}
}
}
},
"400": {
"description": "Invalid request"
},
"422": {
"description": "Validation exception"
},
"500": {
"description": "Internal server error"
}
}
}
}