// Package docs Code generated by swaggo/swag. DO NOT EDIT package docs import "github.com/swaggo/swag" const docTemplate = `{ "schemes": {{ marshal .Schemes }}, "swagger": "2.0", "info": { "description": "{{escape .Description}}", "title": "{{.Title}}", "contact": {}, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { "/donat-page": { "patch": { "description": "Update personal streamer donate page.", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Donate" ], "summary": "Update personal streamer donate page.", "parameters": [ { "description": "Update fields", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/donat-widget_internal_model.UpdateDonatPage" } }, { "type": "file", "description": "Background image", "name": "background", "in": "formData" } ], "responses": { "200": { "description": "Donat page updated successfully", "schema": { "type": "string" } }, "400": { "description": "Bad request", "schema": { "$ref": "#/definitions/echo.HTTPError" } }, "401": { "description": "Unauthorized or expired token", "schema": { "$ref": "#/definitions/echo.HTTPError" } }, "422": { "description": "Validation error", "schema": { "$ref": "#/definitions/echo.HTTPError" } } } } } }, "definitions": { "donat-widget_internal_model.UpdateDonatPage": { "type": "object", "properties": { "description": { "type": "string" }, "pageBackground": { "type": "string" }, "profileAvatar": { "type": "boolean" }, "textAfterDonat": { "type": "string" } } }, "echo.HTTPError": { "type": "object", "properties": { "message": {} } } }, "securityDefinitions": { "BearerAuth": { "type": "apiKey", "name": "Authorization", "in": "header" } } }` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "3.0", Host: "", BasePath: "/api/donat-wiget", Schemes: []string{}, Title: "Donate Auth Documentation", Description: "Donate auth service docs.", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, LeftDelim: "{{", RightDelim: "}}", } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }