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