swagger docs update
All checks were successful
/ Make image (push) Successful in 1m3s

This commit is contained in:
nquidox 2026-03-26 20:43:37 +03:00
parent e39d286742
commit 0b470ec9ad
4 changed files with 82 additions and 12 deletions

View file

@ -1063,17 +1063,20 @@
}
},
"delete": {
"description": "Marks user as deleted by user uuid",
"description": "Returns user data",
"consumes": [
"application/json"
],
"tags": [
"User"
],
"summary": "Delete user",
"summary": "Returns user data",
"responses": {
"204": {
"description": "No Content"
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/user.MeDTO"
}
},
"400": {
"description": "Bad Request",
@ -1087,6 +1090,12 @@
"$ref": "#/definitions/responses.Unauthorized"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/responses.NotFound"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
@ -1370,6 +1379,15 @@
}
}
},
"responses.NotFound": {
"type": "object",
"properties": {
"error": {
"type": "string",
"example": "error"
}
}
},
"responses.Unauthorized": {
"type": "object",
"properties": {
@ -1378,6 +1396,14 @@
"example": "error"
}
}
},
"user.MeDTO": {
"type": "object",
"properties": {
"user_uuid": {
"type": "string"
}
}
}
}
}