generator

package
v0.0.0-...-b1a38c4 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(rootDir string) error

func GenerateConfig

func GenerateConfig(rootDir string, spec string, doc *openapi3.T, deps []string) (outLists []string, err error)

func GenerateEmbed

func GenerateEmbed(rootDir string, deps []string) (outLists []string, err error)

func GenerateLoader

func GenerateLoader(rootDir string, spec string, depsOne []string) (outLists []string, err error)

func GenerateLoaderTest

func GenerateLoaderTest(rootDir string) (outLists []string, err error)

func GeneratePkgMap

func GeneratePkgMap(rootDir string) (outLists []string, err error)

func LoadOpenApi3Spec

func LoadOpenApi3Spec(rootDir string, spec string) (doc *openapi3.T, deps []string, err error)

func RemoveOldFiles

func RemoveOldFiles(rootDir string, lists []string) error

func RewriteYaml

func RewriteYaml(rootDir string, spec string, doc *openapi3.T) (outLists []string, deps []string, err error)

func RewriteYamlAndGenerateConfig

func RewriteYamlAndGenerateConfig(rootDir string) (outLists []string, depsAll []string, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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