remove login param from swagger

This commit is contained in:
harold 2025-07-04 11:18:00 +05:00
parent 5dae651d29
commit 7fba6f6702
4 changed files with 0 additions and 20 deletions

View File

@ -62,7 +62,6 @@ func CreateDonat(donatService model.DonatService) echo.HandlerFunc {
// @Accept json // @Accept json
// @Produce json // @Produce json
// @Security BearerAuth // @Security BearerAuth
// @Param streamer-login path string true "Login стримера"
// @Param request body model.CreateDonatBody true "Create donat body json" // @Param request body model.CreateDonatBody true "Create donat body json"
// @Success 200 {object} model.CreateDonatResponse "Donat page updated successfully" // @Success 200 {object} model.CreateDonatResponse "Donat page updated successfully"
// @Failure 400 {object} echo.HTTPError "Bad request" // @Failure 400 {object} echo.HTTPError "Bad request"

View File

@ -1130,13 +1130,6 @@ const docTemplate = `{
], ],
"summary": "Create donat", "summary": "Create donat",
"parameters": [ "parameters": [
{
"type": "string",
"description": "Login стримера",
"name": "streamer-login",
"in": "path",
"required": true
},
{ {
"description": "Create donat body json", "description": "Create donat body json",
"name": "request", "name": "request",

View File

@ -1123,13 +1123,6 @@
], ],
"summary": "Create donat", "summary": "Create donat",
"parameters": [ "parameters": [
{
"type": "string",
"description": "Login стримера",
"name": "streamer-login",
"in": "path",
"required": true
},
{ {
"description": "Create donat body json", "description": "Create donat body json",
"name": "request", "name": "request",

View File

@ -1275,11 +1275,6 @@ paths:
- application/json - application/json
description: Create donat description: Create donat
parameters: parameters:
- description: Login стримера
in: path
name: streamer-login
required: true
type: string
- description: Create donat body json - description: Create donat body json
in: body in: body
name: request name: request