@@ -20,6 +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 403 {object} utils.RespStatus{data=nil} "Missing User ID / Unauthorized"
|
// @Failure 403 {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 404 {object} utils.RespStatus{data=service_user.UserInfoData} "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]
|
||||||
|
|||||||
@@ -1126,7 +1126,7 @@ const docTemplate = `{
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"description": "User Not Found",
|
"description": "User Not Public",
|
||||||
"schema": {
|
"schema": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
@@ -1136,7 +1136,7 @@ const docTemplate = `{
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"data": {
|
"data": {
|
||||||
"type": "object"
|
"$ref": "#/definitions/service_user.UserInfoData"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1124,7 +1124,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"404": {
|
"404": {
|
||||||
"description": "User Not Found",
|
"description": "User Not Public",
|
||||||
"schema": {
|
"schema": {
|
||||||
"allOf": [
|
"allOf": [
|
||||||
{
|
{
|
||||||
@@ -1134,7 +1134,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"data": {
|
"data": {
|
||||||
"type": "object"
|
"$ref": "#/definitions/service_user.UserInfoData"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -755,13 +755,13 @@ paths:
|
|||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
"404":
|
"404":
|
||||||
description: User Not Found
|
description: User Not Public
|
||||||
schema:
|
schema:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: '#/definitions/utils.RespStatus'
|
- $ref: '#/definitions/utils.RespStatus'
|
||||||
- properties:
|
- properties:
|
||||||
data:
|
data:
|
||||||
type: object
|
$ref: '#/definitions/service_user.UserInfoData'
|
||||||
type: object
|
type: object
|
||||||
"500":
|
"500":
|
||||||
description: Internal Server Error (UUID Parse Failed)
|
description: Internal Server Error (UUID Parse Failed)
|
||||||
|
|||||||
Reference in New Issue
Block a user