Documentation
¶
Index ¶
Constants ¶
View Source
const ( // GeneratorTypeClient shows this generator generates a client GeneratorTypeClient = GeneratorType(iota) // GeneratorTypeServer shows this generator generates a server GeneratorTypeServer = GeneratorType(iota) // GeneratorTypeDocumentation shows this generator generates documentation GeneratorTypeDocumentation = GeneratorType(iota) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface { //Generate a client in the given output folder with the given swagger specification and options Generate(swagger *openapi3.Swagger, outputLocation string, options string) // GetType returns the generator type of this generator GetType() GeneratorType }
Generator is a common interface for generators to take a yaml or other file and generate a client
Click to show internal directories.
Click to hide internal directories.