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