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
|
// @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"
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user