Documentation ¶
Index ¶
- type RuleSchemaPropEnumStyle
- func (rule RuleSchemaPropEnumStyle) Name() string
- func (rule RuleSchemaPropEnumStyle) ProcessOperation(spec *openapi3.Spec, op *oas3.Operation, opPointer, path, method string) []lintutil.PolicyViolation
- func (rule RuleSchemaPropEnumStyle) ProcessSpec(spec *openapi3.Spec, pointerBase string) []lintutil.PolicyViolation
- func (rule RuleSchemaPropEnumStyle) Scope() 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(requiredStringCase string) (RuleSchemaPropEnumStyle, error)
func (RuleSchemaPropEnumStyle) Name ¶
func (rule RuleSchemaPropEnumStyle) Name() string
func (RuleSchemaPropEnumStyle) ProcessOperation ¶
func (rule RuleSchemaPropEnumStyle) ProcessOperation(spec *openapi3.Spec, op *oas3.Operation, opPointer, path, method string) []lintutil.PolicyViolation
func (RuleSchemaPropEnumStyle) ProcessSpec ¶
func (rule RuleSchemaPropEnumStyle) ProcessSpec(spec *openapi3.Spec, pointerBase string) []lintutil.PolicyViolation
func (RuleSchemaPropEnumStyle) Scope ¶
func (rule RuleSchemaPropEnumStyle) Scope() string
Click to show internal directories.
Click to hide internal directories.