ruleopxpropertystringexist

package
v1.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RuleName = "x-operation-x-api-group-exist"
)

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) (RuleOperationXPropertyStringExist, error)

func (RuleOperationXPropertyStringExist) Name

func (RuleOperationXPropertyStringExist) ProcessOperation

func (rule RuleOperationXPropertyStringExist) ProcessOperation(spec *oas3.Swagger, op *oas3.Operation, opPointer, path, method string) []lintutil.PolicyViolation

func (RuleOperationXPropertyStringExist) ProcessSpec

func (rule RuleOperationXPropertyStringExist) ProcessSpec(spec *oas3.Swagger, pointerBase string) []lintutil.PolicyViolation

func (RuleOperationXPropertyStringExist) Scope

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL