// 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": { "name": "https://peresvet.it" }, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { "/auth/login": { "post": { "description": "Returns pair of access and refresh tokens", "produces": [ "application/json" ], "tags": [ "auth" ], "summary": "Request pair of tokens", "parameters": [ { "description": "Request body", "name": "request", "in": "body", "required": true, "schema": { "$ref": "#/definitions/auth.AuthBody" } } ], "responses": { "200": { "description": "OK" } } } } }, "definitions": { "auth.AuthBody": { "type": "object", "required": [ "email", "password" ], "properties": { "email": { "type": "string", "example": "john@proton.mail" }, "password": { "type": "string", "example": "Aasdfgh1!" } } } }, "securityDefinitions": { "Bearer": { "type": "apiKey", "name": "Authorization", "in": "header" } } }` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "1.0", Host: "", BasePath: "/v1", Schemes: []string{}, Title: "System Trace API", Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, LeftDelim: "{{", RightDelim: "}}", } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }