Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConfigPathEmpty = errors.New("config path is empty")
Functions ¶
This section is empty.
Types ¶
type FixerConfig ¶
type FixerConfig struct {
Tool *ToolConfig `mapstructure:"x-openapi-fixer"`
}
func LoadConfig ¶
func LoadConfig(configPath string) (*FixerConfig, error)
type LoggerConfig ¶
type LoggerConfig struct {
Level string `mapstructure:"level"`
}
type ToolConfig ¶
type ToolConfig struct {
Logger *LoggerConfig `mapstructure:"logger"`
}
Click to show internal directories.
Click to hide internal directories.