Documentation ¶
Index ¶
- type RuleSchemaPropEnumStyle
- func (rule RuleSchemaPropEnumStyle) Name() string
- func (rule RuleSchemaPropEnumStyle) ProcessOperation(spec *oas3.Swagger, op *oas3.Operation, opPointer, path, method string) []lintutil.PolicyViolation
- func (rule RuleSchemaPropEnumStyle) ProcessSpec(spec *oas3.Swagger, pointerBase string) []lintutil.PolicyViolation
- func (rule RuleSchemaPropEnumStyle) Scope() string
- func (rule RuleSchemaPropEnumStyle) Severity() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleSchemaPropEnumStyle ¶
type RuleSchemaPropEnumStyle struct {
// contains filtered or unexported fields
}
func NewRule ¶
func NewRule(sev, requiredStringCase string) (RuleSchemaPropEnumStyle, error)
func (RuleSchemaPropEnumStyle) Name ¶
func (rule RuleSchemaPropEnumStyle) Name() string
func (RuleSchemaPropEnumStyle) ProcessOperation ¶
func (rule RuleSchemaPropEnumStyle) ProcessOperation(spec *oas3.Swagger, op *oas3.Operation, opPointer, path, method string) []lintutil.PolicyViolation
func (RuleSchemaPropEnumStyle) ProcessSpec ¶
func (rule RuleSchemaPropEnumStyle) ProcessSpec(spec *oas3.Swagger, pointerBase string) []lintutil.PolicyViolation
func (RuleSchemaPropEnumStyle) Scope ¶
func (rule RuleSchemaPropEnumStyle) Scope() string
func (RuleSchemaPropEnumStyle) Severity ¶
func (rule RuleSchemaPropEnumStyle) Severity() string
Click to show internal directories.
Click to hide internal directories.