diff --git a/apps/docs/public/openapi.yaml b/apps/docs/public/openapi.yaml index da9504ae..94332db3 100644 --- a/apps/docs/public/openapi.yaml +++ b/apps/docs/public/openapi.yaml @@ -1,7 +1,7 @@ openapi: '3.0.0' info: - version: v2.7.0/15cf3fc + version: v2.7.0/366f528 title: Labrinth termsOfService: https://modrinth.com/legal/terms contact: @@ -3018,6 +3018,24 @@ paths: $ref: '#/components/schemas/InvalidInputError' '404': description: The requested item(s) were not found or no authorization to access the requested item(s) + delete: + summary: Remove user's avatar + operationId: deleteUserIcon + tags: + - users + security: + - TokenAuth: ['USER_WRITE'] + responses: + '204': + description: Expected response to a valid request + '400': + description: Request was invalid, see given error + content: + application/json: + schema: + $ref: '#/components/schemas/InvalidInputError' + '404': + description: The requested item(s) were not found or no authorization to access the requested item(s) /user/{id|username}/projects: parameters: - $ref: '#/components/parameters/UserIdentifier' diff --git a/apps/frontend/src/pages/settings/profile.vue b/apps/frontend/src/pages/settings/profile.vue index 1fd3e4e0..7395c1d4 100644 --- a/apps/frontend/src/pages/settings/profile.vue +++ b/apps/frontend/src/pages/settings/profile.vue @@ -32,6 +32,10 @@ > +