Documentation ¶ Index ¶ func Generate(specification *spec.Spec, jsonlib string, packageName string, ...) *generator.Sources type Generator func NewGenerator(jsonlib string) *Generator func (g *Generator) Clients(version *spec.Version, thePackage packages.Module, ...) []generator.CodeFile Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ func Generate(specification *spec.Spec, jsonlib string, packageName string, generatePath string) *generator.Sources Types ¶ type Generator ¶ type Generator struct { Jsonlib string Types *types.Types Models models.Generator } func NewGenerator ¶ func NewGenerator(jsonlib string) *Generator func (*Generator) Clients ¶ func (g *Generator) Clients(version *spec.Version, thePackage packages.Module, modelsVersionPackage packages.Module, errorModelsPackage packages.Module, jsonPackage packages.Module, utilsPackage packages.Module, mainPackage packages.Module) []generator.CodeFile Source Files ¶ View all Source files client.go common.go exception.go generator.go okhttp_impl.go okhttp_utils.go Click to show internal directories. Click to hide internal directories.