Files
MermsCoreFlask/app/swagger/paths/Account.json
T
CHIEFSOFT\ameye ba3555ef6e POST
2025-06-23 13:23:26 -04:00

57 lines
1.7 KiB
JSON

{
"post": {
"tags": [
"Account"
],
"summary": "User Account + Profile ",
"description": "User Account Request",
"operationId": "account",
"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/AccountResponse.json"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/AccountResponse.json"
}
}
}
},
"400": {
"description": "Invalid request"
},
"422": {
"description": "Validation exception"
},
"500": {
"description": "Internal server error"
}
}
}
}