Versions in this module Expand all Collapse all v1 v1.31.0 Sep 5, 2026 Changes in this version type Level + func DeriveLevel(effect Effect, direction Direction, guards ...Guard) Level type Rule + func (r Rule) DerivedLevel() Level v1.30.0 Aug 30, 2026 Changes in this version + type Area int8 + const AreaComponents + const AreaHeaders + const AreaInfo + const AreaNone + const AreaParameters + const AreaPaths + const AreaRequestBody + const AreaResponses + const AreaSchema + const AreaSecurity + const AreaServers + const AreaTags + func (a Area) String() string + type Direction int8 + const DirectionNone + const DirectionRequest + const DirectionResponse + func (d Direction) String() string + type Effect int8 + const EffectIncomparable + const EffectNarrows + const EffectNone + const EffectUnknown + const EffectViolation + const EffectWidens + func (e Effect) String() string + type Guard string + const GuardHasDefault + const GuardNegotiated + const GuardNonSuccess + const GuardReadOnly + const GuardSanctioned + const GuardWriteOnly + type Kind int8 + const KindConstraints + const KindExistence + const KindLifecycle + const KindMutability + const KindNone + const KindRequiredness + const KindStructure + const KindType + const KindValues + func (k Kind) String() string + type Level int + const ERR + const INFO + const INVALID + const NONE + const WARN + func NewLevel(level string) (Level, error) + func (level Level) IsBreaking() bool + func (level Level) PrettyString() string + func (level Level) String() string + func (level Level) StringCond(colorMode colorize.ColorMode) string + type Rule struct + Area Area + Description string + Direction Direction + Effect Effect + Guards []Guard + Id string + Kind Kind + Level Level + Locations []string + func (r Rule) Actions() []metaschema.Action