@@ -20,7 +20,7 @@ import (
|
|||||||
// @Success 200 {object} utils.RespStatus{data=service_user.UserInfoData} "Successful profile retrieval"
|
// @Success 200 {object} utils.RespStatus{data=service_user.UserInfoData} "Successful profile retrieval"
|
||||||
// @Failure 401 {object} utils.RespStatus{data=nil} "Missing User ID / Unauthorized"
|
// @Failure 401 {object} utils.RespStatus{data=nil} "Missing User ID / Unauthorized"
|
||||||
// @Failure 404 {object} utils.RespStatus{data=nil} "User Not Found"
|
// @Failure 404 {object} utils.RespStatus{data=nil} "User Not Found"
|
||||||
// @Failure 403 {object} utils.RespStatus{data=service_user.UserInfoData} "User Not Public"
|
// @Failure 403 {object} utils.RespStatus{data=nil} "User Not Public"
|
||||||
// @Failure 500 {object} utils.RespStatus{data=nil} "Internal Server Error (UUID Parse Failed)"
|
// @Failure 500 {object} utils.RespStatus{data=nil} "Internal Server Error (UUID Parse Failed)"
|
||||||
// @Security ApiKeyAuth
|
// @Security ApiKeyAuth
|
||||||
// @Router /user/info/{user_id} [get]
|
// @Router /user/info/{user_id} [get]
|
||||||
|
|||||||
@@ -1190,7 +1190,7 @@ const docTemplate = `{
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"data": {
|
"data": {
|
||||||
"$ref": "#/definitions/service_user.UserInfoData"
|
"type": "object"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1188,7 +1188,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"data": {
|
"data": {
|
||||||
"$ref": "#/definitions/service_user.UserInfoData"
|
"type": "object"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -788,7 +788,7 @@ paths:
|
|||||||
- $ref: '#/definitions/utils.RespStatus'
|
- $ref: '#/definitions/utils.RespStatus'
|
||||||
- properties:
|
- properties:
|
||||||
data:
|
data:
|
||||||
$ref: '#/definitions/service_user.UserInfoData'
|
type: object
|
||||||
type: object
|
type: object
|
||||||
"404":
|
"404":
|
||||||
description: User Not Found
|
description: User Not Found
|
||||||
|
|||||||
Reference in New Issue
Block a user