generate

package
v4.22.3 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(params GeneratorParams) error

Generate executes code generators against OpenAPI specs.

Types

type GeneratorParams

type GeneratorParams struct {
	ProjectDir     string
	ConfigFile     string
	Generators     []string
	GeneratorsFile string
	Force          bool
	Debug          bool
	DryRun         bool
	FS             fs.FS
	Functions      template.FuncMap
}

GeneratorParams contains the metadata needed to execute code generators.

Jump to

Keyboard shortcuts

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