Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RefValid ¶
type RefValid struct{}
RefValid declares the JSON Schema reference validation hook.
libopenapi resolver errors are collected by the motor while building the rolodex and emitted as json-schema-ref-valid results before rule functions run.
func (RefValid) GetCategory ¶
func (RefValid) GetSchema ¶
func (r RefValid) GetSchema() model.RuleFunctionSchema
func (RefValid) RunRule ¶
func (r RefValid) RunRule(nodes []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult
type Sanity ¶
type Sanity struct{}
Sanity runs lightweight JSON Schema consistency checks.
func (Sanity) GetCategory ¶
func (Sanity) GetSchema ¶
func (s Sanity) GetSchema() model.RuleFunctionSchema
func (Sanity) RunRule ¶
func (s Sanity) RunRule(nodes []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult
type Valid ¶
type Valid struct{}
Valid validates a JSON Schema document against its declared metaschema.
func (Valid) GetCategory ¶
func (Valid) GetSchema ¶
func (v Valid) GetSchema() model.RuleFunctionSchema
func (Valid) RunRule ¶
func (v Valid) RunRule(nodes []*yaml.Node, context model.RuleFunctionContext) []model.RuleFunctionResult
Click to show internal directories.
Click to hide internal directories.