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