account bar

This commit is contained in:
CHIEFSOFT\ameye
2025-06-24 11:52:41 -04:00
parent 5ce0c72eaa
commit ce752fe04a
7 changed files with 203 additions and 88 deletions
+3
View File
@@ -85,6 +85,9 @@
"/panel/Account": {
"$ref": "swagger/paths/Account.json"
},
"/panel/account-bar": {
"$ref": "swagger/paths/AccountBar.json"
},
"/panel/Products": {
"$ref": "swagger/paths/Products.json"
}
+57
View File
@@ -0,0 +1,57 @@
{
"post": {
"tags": [
"AccountBar"
],
"summary": "User Account Bar ",
"description": "User Bar Request",
"operationId": "accountbar",
"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/AccountBarResponse.json"
}
},
"application/xml": {
"schema": {
"$ref": "../schemas/AccountBarResponse.json"
}
}
}
},
"400": {
"description": "Invalid request"
},
"422": {
"description": "Validation exception"
},
"500": {
"description": "Internal server error"
}
}
}
}
@@ -0,0 +1,49 @@
{
"type": "object",
"properties": {
"member_id": {
"type": "string",
"example": "200"
},
"uid": {
"type": "string",
"example": "8888-999998-9999"
},
"username": {
"type": "string",
"example": "username"
},
"account_name": {
"type": "string",
"example": "account_name"
},
"firstname": {
"type": "string",
"example": "firstname"
},
"lastname": {
"type": "string",
"example": "lastname"
},
"room": {
"type": "string",
"example": "room"
},
"token": {
"type": "string",
"example": "username"
},
"resultDescription": {
"type": "string",
"example": "Successful"
},
"resultCode": {
"type": "string",
"example": "00"
}
},
"xml": {
"name": "AccountResponse"
}
}