// 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": { "/api/user/register": { "post": { "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "Auth" ], "parameters": [ { "description": "Register user", "name": "input", "in": "body", "required": true, "schema": { "$ref": "#/definitions/register.requestModel" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/register.responseModel" } } } } } }, "definitions": { "register.requestModel": { "type": "object", "required": [ "password" ], "properties": { "email": { "type": "string" }, "login": { "type": "string" }, "password": { "type": "string" } } }, "register.responseModel": { "type": "object", "properties": { "token": { "type": "string" }, "userId": { "type": "string" } } } } }` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "1.0", Host: "localhost", BasePath: "/v2", Schemes: []string{}, Title: "Template", Description: "Описание.", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, LeftDelim: "{{", RightDelim: "}}", } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }