remove login param from swagger
This commit is contained in:
parent
5dae651d29
commit
7fba6f6702
@ -62,7 +62,6 @@ func CreateDonat(donatService model.DonatService) echo.HandlerFunc {
|
||||
// @Accept json
|
||||
// @Produce json
|
||||
// @Security BearerAuth
|
||||
// @Param streamer-login path string true "Login стримера"
|
||||
// @Param request body model.CreateDonatBody true "Create donat body json"
|
||||
// @Success 200 {object} model.CreateDonatResponse "Donat page updated successfully"
|
||||
// @Failure 400 {object} echo.HTTPError "Bad request"
|
||||
|
@ -1130,13 +1130,6 @@ const docTemplate = `{
|
||||
],
|
||||
"summary": "Create donat",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Login стримера",
|
||||
"name": "streamer-login",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"description": "Create donat body json",
|
||||
"name": "request",
|
||||
|
@ -1123,13 +1123,6 @@
|
||||
],
|
||||
"summary": "Create donat",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "Login стримера",
|
||||
"name": "streamer-login",
|
||||
"in": "path",
|
||||
"required": true
|
||||
},
|
||||
{
|
||||
"description": "Create donat body json",
|
||||
"name": "request",
|
||||
|
@ -1275,11 +1275,6 @@ paths:
|
||||
- application/json
|
||||
description: Create donat
|
||||
parameters:
|
||||
- description: Login стримера
|
||||
in: path
|
||||
name: streamer-login
|
||||
required: true
|
||||
type: string
|
||||
- description: Create donat body json
|
||||
in: body
|
||||
name: request
|
||||
|
Loading…
x
Reference in New Issue
Block a user