Versions in this module Expand all Collapse all v1 v1.8.2 Sep 12, 2023 v1.8.1 Sep 11, 2023 Changes in this version + const LEVEL_ERROR + const LEVEL_WARN + type Check func(string, *load.SpecInfo) []*Error + type Config struct + Checks []Check + func DefaultConfig() *Config + func NewConfig(checks []Check) *Config + type Error struct + Comment string + Id string + Level int + Source string + Text string + func InfoCheck(source string, spec *load.SpecInfo) []*Error + func PathParamsCheck(source string, s *load.SpecInfo) []*Error + func RequiredParamsCheck(source string, s *load.SpecInfo) []*Error + func SchemaCheck(source string, spec *load.SpecInfo) []*Error + type Errors []*Error + func Run(config Config, source string, spec *load.SpecInfo) Errors + func (e Errors) Len() int + func (e Errors) Less(i, j int) bool + func (e Errors) Swap(i, j int)