account json
This commit is contained in:
@@ -97,6 +97,12 @@
|
|||||||
"LoginResponse": {
|
"LoginResponse": {
|
||||||
"$ref": "swagger/schemas/LoginResponse.json"
|
"$ref": "swagger/schemas/LoginResponse.json"
|
||||||
},
|
},
|
||||||
|
"Account": {
|
||||||
|
"$ref": "swagger/schemas/UserRequest.json"
|
||||||
|
},
|
||||||
|
"AccountResponse": {
|
||||||
|
"$ref": "swagger/schemas/AccountResponse.json"
|
||||||
|
},
|
||||||
"Register": {
|
"Register": {
|
||||||
"$ref": "swagger/schemas/RegisterRequest.json"
|
"$ref": "swagger/schemas/RegisterRequest.json"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
"Account"
|
"Account"
|
||||||
],
|
],
|
||||||
"summary": "User Account + Profile ",
|
"summary": "User Account + Profile ",
|
||||||
"description": "Initiate Login Request",
|
"description": "User Account Request",
|
||||||
"operationId": "startLogin",
|
"operationId": "account",
|
||||||
"requestBody": {
|
"requestBody": {
|
||||||
"description": "Post JSON to conduct login request",
|
"description": "Post JSON to conduct login request",
|
||||||
"content": {
|
"content": {
|
||||||
@@ -33,12 +33,12 @@
|
|||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "../schemas/LoginResponse.json"
|
"$ref": "../schemas/AccountResponse.json"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"application/xml": {
|
"application/xml": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "../schemas/LoginResponse.json"
|
"$ref": "../schemas/AccountResponse.json"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user