Documentation ¶ Index ¶ func Generate(specification *spec.Spec, jsonlib string, packageName string, ...) *sources.Sources type Generator func NewGenerator(jsonlib string) *Generator func (g *Generator) Clients(version *spec.Version, thePackage packages.Module, ...) []sources.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) *sources.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, jsonPackage packages.Module, utilsPackage packages.Module, mainPackage packages.Module) []sources.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.