diff --git a/backend/docs/docs.go b/backend/docs/docs.go index 42b259c..044b645 100644 --- a/backend/docs/docs.go +++ b/backend/docs/docs.go @@ -146,6 +146,26 @@ const docTemplate = `{ "responses": {} } }, + "/profile": { + "patch": { + "security": [ + { + "JWT": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Profile" + ], + "summary": "Update profile", + "responses": {} + } + }, "/profile/me": { "get": { "security": [ diff --git a/backend/docs/swagger.json b/backend/docs/swagger.json index 3679bc5..2133584 100644 --- a/backend/docs/swagger.json +++ b/backend/docs/swagger.json @@ -142,6 +142,26 @@ "responses": {} } }, + "/profile": { + "patch": { + "security": [ + { + "JWT": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Profile" + ], + "summary": "Update profile", + "responses": {} + } + }, "/profile/me": { "get": { "security": [ diff --git a/backend/docs/swagger.yaml b/backend/docs/swagger.yaml index e66c72b..507b388 100644 --- a/backend/docs/swagger.yaml +++ b/backend/docs/swagger.yaml @@ -113,6 +113,18 @@ paths: summary: Confirm with code, finish creating the account tags: - Auth + /profile: + patch: + consumes: + - application/json + produces: + - application/json + responses: {} + security: + - JWT: [] + summary: Update profile + tags: + - Profile /profile/{username}: get: consumes: