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": {}
}
},
"/profile": {
"patch": {
"security": [
{
"JWT": []
}
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"Profile"
],
"summary": "Update profile",
"responses": {}
}
},
"/profile/me": {
"get": {
"security": [

View File

@@ -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": [

View File

@@ -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: