From 0621bad6f8f75524f9a4309a64d1f6efc740a9a7 Mon Sep 17 00:00:00 2001 From: Nikolai Papin Date: Fri, 20 Jun 2025 17:55:42 +0300 Subject: [PATCH] chore: updated docs --- backend/docs/docs.go | 20 ++++++++++++++++++++ backend/docs/swagger.json | 20 ++++++++++++++++++++ backend/docs/swagger.yaml | 12 ++++++++++++ 3 files changed, 52 insertions(+) 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: