mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-08-23 22:26:29 +00:00
Add schemes to Swagger docs
This commit is contained in:
@@ -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{}
|
||||
|
||||
|
||||
@@ -12,6 +12,7 @@ package api
|
||||
|
||||
// @host localhost:9898
|
||||
// @BasePath /
|
||||
// @schemes http https
|
||||
|
||||
type ArrayResponse []string
|
||||
type MapResponse map[string]string
|
||||
|
||||
Reference in New Issue
Block a user