add add user to budget route
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-11-24 22:24:44 +07:00
parent 95fe8b530e
commit 130a3236e0
9 changed files with 483 additions and 413 deletions
+19 -6
View File
@@ -77,7 +77,7 @@
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/smm_coreBudget"
"$ref": "#/definitions/smm_coreOK"
}
},
"default": {
@@ -96,11 +96,12 @@
"format": "int32"
},
{
"name": "userId",
"in": "query",
"required": false,
"type": "integer",
"format": "int32"
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/SmmCoreAddUserToBudgetBody"
}
}
],
"tags": [
@@ -582,6 +583,15 @@
}
},
"definitions": {
"SmmCoreAddUserToBudgetBody": {
"type": "object",
"properties": {
"userId": {
"type": "integer",
"format": "int32"
}
}
},
"SmmCoreUpdateBudgetBody": {
"type": "object",
"properties": {
@@ -782,6 +792,9 @@
}
}
},
"smm_coreOK": {
"type": "object"
},
"smm_corePingRsp": {
"type": "object"
},