validators

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnumValidator

type EnumValidator struct {
	// contains filtered or unexported fields
}

func NewEnumValidator

func NewEnumValidator(cfg *config.OpenAPISettings) EnumValidator

func (EnumValidator) Run

func (en EnumValidator) Run(moduleName, fileName, absoluteKey string, value any) error

type HAValidator

type HAValidator struct {
	// contains filtered or unexported fields
}

func NewHAValidator

func NewHAValidator(cfg *config.OpenAPISettings) HAValidator

func (HAValidator) Run

func (ha HAValidator) Run(moduleName, file, absoluteKey string, value any) error

type KeyNameValidator

type KeyNameValidator struct {
	// contains filtered or unexported fields
}

func NewKeyNameValidator

func NewKeyNameValidator(cfg *config.OpenAPISettings) KeyNameValidator

func (KeyNameValidator) Run

func (kn KeyNameValidator) Run(file, _ string, value any) error

Jump to

Keyboard shortcuts

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