package swagger const docTemplate = `{ "schemes": {{ marshal .Schemes }}, "swagger": "2.0", "info": { "description": "{{escape .Description}}", "title": "{{.Title}}", "contact": {}, "version": "{{.Version}}" }, "host": "{{.Host}}", "basePath": "{{.BasePath}}", "paths": { "/example/helloworld": { "get": { "description": "do ping", "consumes": [ "application/json" ], "produces": [ "application/json" ], "tags": [ "example" ], "summary": "ping example", "responses": { "200": { "description": "OK", "schema": { "type": "string" } } } } } } }`