experiment-service_controller_pattern #1

Merged
weirdcat merged 8 commits from experiment-service_controller_pattern into main 2025-06-20 17:57:12 +03:00
3 changed files with 52 additions and 0 deletions
Showing only changes of commit 0621bad6f8 - Show all commits

View File

@@ -146,6 +146,26 @@ const docTemplate = `{
"responses": {} "responses": {}
} }
}, },
"/profile": {
"patch": {
"security": [
{
"JWT": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Profile"
],
"summary": "Update profile",
"responses": {}
}
},
"/profile/me": { "/profile/me": {
"get": { "get": {
"security": [ "security": [

View File

@@ -142,6 +142,26 @@
"responses": {} "responses": {}
} }
}, },
"/profile": {
"patch": {
"security": [
{
"JWT": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Profile"
],
"summary": "Update profile",
"responses": {}
}
},
"/profile/me": { "/profile/me": {
"get": { "get": {
"security": [ "security": [

View File

@@ -113,6 +113,18 @@ paths:
summary: Confirm with code, finish creating the account summary: Confirm with code, finish creating the account
tags: tags:
- Auth - Auth
/profile:
patch:
consumes:
- application/json
produces:
- application/json
responses: {}
security:
- JWT: []
summary: Update profile
tags:
- Profile
/profile/{username}: /profile/{username}:
get: get:
consumes: consumes: