Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(configs ...Configuration)
Generate generates code from OpenAPI spec file.
Types ¶
type Configuration ¶
type Configuration struct {
SpecFile string
OutputFile string
ImportMapping ImportMapping
GenerateServer bool
GenerateClient bool
GenerateModels bool
}
Configuration is the config for generator.
Click to show internal directories.
Click to hide internal directories.