// 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}}", "termsOfService": "http://nkode.example.com/terms/", "contact": { "name": "API Support", "url": "http://nkode.example.com/support", "email": "support@nkode.example.com" }, "license": { "name": "MIT", "url": "https://opensource.org/licenses/MIT" }, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { "/create-new-customer": { "post": { "description": "Creates a new customer based on the provided policy information.", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "customers" ], "summary": "Create a new customer", "parameters": [ { "description": "Customer creation data", "name": "NewCustomerPost", "in": "body", "required": true, "schema": { "$ref": "#/definitions/core.NewCustomerPost" } } ], "responses": { "200": { "description": "OK", "schema": { "$ref": "#/definitions/core.CreateNewCustomerResp" } } } } } }, "definitions": { "core.CreateNewCustomerResp": { "type": "object", "properties": { "customer_id": { "type": "string" } } }, "core.NKodePolicy": { "type": "object", "properties": { "distinct_attributes": { "type": "integer" }, "distinct_sets": { "type": "integer" }, "expiration": { "description": "seconds, -1 no expiration", "type": "integer" }, "lock_out": { "type": "integer" }, "max_nkode_len": { "type": "integer" }, "min_nkode_len": { "type": "integer" } } }, "core.NewCustomerPost": { "type": "object", "properties": { "nkode_policy": { "$ref": "#/definitions/core.NKodePolicy" } } } }, "securityDefinitions": { "ApiKeyAuth": { "type": "apiKey", "name": "Authorization", "in": "header" } } }` // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ Version: "1.0", Host: "localhost:8080", BasePath: "/", Schemes: []string{}, Title: "NKode API", Description: "This is the NKode API server.", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, LeftDelim: "{{", RightDelim: "}}", } func init() { swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo) }