diff --git a/pkg/api/docs/docs.go b/pkg/api/docs/docs.go index b83662d..25075cb 100644 --- a/pkg/api/docs/docs.go +++ b/pkg/api/docs/docs.go @@ -1,6 +1,6 @@ // GENERATED BY THE COMMAND ABOVE; DO NOT EDIT // This file was generated by swaggo/swag at -// 2019-08-07 14:48:29.881959 +0300 EEST m=+0.022469914 +// 2019-08-07 15:15:38.193457 +0300 EEST m=+0.022158637 package docs @@ -566,7 +566,7 @@ type swaggerInfo struct { } // SwaggerInfo holds exported Swagger Info so clients can modify it -var SwaggerInfo = swaggerInfo{Schemes: []string{}} +var SwaggerInfo = swaggerInfo{Schemes: []string{"http", "https"}} type s struct{} diff --git a/pkg/api/main.go b/pkg/api/main.go index 068adf6..01aefc4 100644 --- a/pkg/api/main.go +++ b/pkg/api/main.go @@ -12,6 +12,7 @@ package api // @host localhost:9898 // @BasePath / +// @schemes http https type ArrayResponse []string type MapResponse map[string]string