Add schemes to Swagger docs

This commit is contained in:
stefanprodan
2019-08-07 15:17:34 +03:00
parent 630841d81b
commit 94085d6dc6
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -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{}
+1
View File
@@ -12,6 +12,7 @@ package api
// @host localhost:9898
// @BasePath /
// @schemes http https
type ArrayResponse []string
type MapResponse map[string]string