Documentation ¶
Index ¶
Constants ¶
View Source
const ( LevelErr = "ERR" LevelWarn = "WARN" LevelInfo = "INFO" )
Variables ¶
This section is empty.
Functions ¶
func GetBreakingLevels ¶ added in v1.10.24
func GetBreakingLevels() []string
func GetSupportedLevels ¶ added in v1.10.24
func GetSupportedLevels() []string
func GetSupportedLevelsLower ¶ added in v1.10.24
func GetSupportedLevelsLower() []string
Types ¶
type Config ¶ added in v1.10.24
type Config struct { Attributes []string `mapstructure:"attributes"` Composed bool `mapstructure:"composed"` FlattenAllof bool `mapstructure:"flatten-allof"` FlattenParams bool `mapstructure:"flatten-params"` CaseInsensitiveHeaders bool `mapstructure:"case-insensitive-headers"` DeprecationDaysBeta uint `mapstructure:"deprecation-days-beta"` DeprecationDaysStable uint `mapstructure:"deprecation-days-stable"` Lang string `mapstructure:"lang"` Color string `mapstructure:"color"` WarnIgnore string `mapstructure:"warn-ignore"` ErrIgnore string `mapstructure:"err-ignore"` Format string `mapstructure:"format"` FailOn string `mapstructure:"fail-on"` Level string `mapstructure:"level"` FailOnDiff bool `mapstructure:"fail-on-diff"` SeverityLevels string `mapstructure:"severity-levels"` ExcludeElements []string `mapstructure:"exclude-elements"` Severity []string `mapstructure:"severity"` Tags []string `mapstructure:"tags"` MatchPath string `mapstructure:"match-path"` UnmatchPath string `mapstructure:"unmatch-path"` FilterExtension string `mapstructure:"filter-extension"` PrefixBase string `mapstructure:"prefix-base"` PrefixRevision string `mapstructure:"prefix-revision"` StripPrefixBase string `mapstructure:"strip-prefix-base"` StripPrefixRevision string `mapstructure:"strip-prefix-revision"` IncludePathParams bool `mapstructure:"include-path-params"` }
type ReturnError ¶
type ReturnError struct { Code int // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.