validator

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateAPIFile

func ValidateAPIFile(apiPath string) error

ValidateAPIFile validates that the generated API file doesn't exists. Deletes the file if it already exists.

func ValidateMainFile

func ValidateMainFile(mainPath string) error

ValidateMainFile validates that the swag main file exists.

func ValidatePkg

func ValidatePkg(pkgPath string) error

ValidatePkg validates that the source code directory exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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