🎨 swagger update
This commit is contained in:
9
config/conf_swagger.go
Normal file
9
config/conf_swagger.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package config
|
||||
|
||||
type Swagger struct {
|
||||
Enabled bool `yaml:"enable"`
|
||||
Title string `yaml:"title"`
|
||||
Description string `yaml:"description"`
|
||||
User string `yaml:"user"`
|
||||
Password string `yaml:"password"`
|
||||
}
|
@@ -10,4 +10,5 @@ type Config struct {
|
||||
Encrypt Encrypt `yaml:"encrypt"`
|
||||
Wechat Wechat `yaml:"wechat"`
|
||||
OAuth OAuth `yaml:"oauth"`
|
||||
Swagger Swagger `yaml:"swagger"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user