diff --git a/routers/routes/v1/user/useravatar.go b/routers/routes/v1/user/useravatar.go index b01f597..a5074bd 100644 --- a/routers/routes/v1/user/useravatar.go +++ b/routers/routes/v1/user/useravatar.go @@ -11,13 +11,17 @@ import ( ) func GetAvatar(c *fiber.Ctx) error { - // swagger:operation GET /avatars/:userId/:fileName?size= user userGetAvatar + // swagger:operation GET /avatars/:userId/:fileName user userGetAvatar // --- // summary: Get avatar from a user // consumes: // - application/json // produces: // - application/json + // parameters: + // - name: size + // in: query + // description: Size can be specified as query to influence the size of the image. Available sizes https://git.clickandjoin.umbach.dev/ClickandJoin/StorageServer/src/branch/alpha/modules/image/image.go#L28 // responses: // '200': // description: Avatar from user