validate

package
v0.0.0-...-f529968 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2025 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	SpecOwner = "Azure"
	SpecRepo  = "azure-rest-api-specs"
)

Variables

This section is empty.

Functions

func GetModuleName

func GetModuleName(content []byte) (string, string)

Types

type Validator

type Validator interface {
	Validate(cfg config.Config) error
}

func NewLocalValidator

func NewLocalValidator(specRoot string) Validator

func NewRemoteValidator

func NewRemoteValidator(ctx context.Context, client *query.Client) Validator

Jump to

Keyboard shortcuts

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