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 modules.Module, ...) []sources.CodeFile Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Generate ¶ added in v2.1.1444 func Generate(specification *spec.Spec, jsonlib string, packageName string, generatePath string) *sources.Sources Types ¶ type Generator ¶ added in v2.1.1444 type Generator struct { Types *types.Types Models models.Generator } func NewGenerator ¶ added in v2.1.1444 func NewGenerator(jsonlib string) *Generator func (*Generator) Clients ¶ added in v2.1.1444 func (g *Generator) Clients(version *spec.Version, thePackage modules.Module, modelsVersionPackage modules.Module, jsonPackage modules.Module, utilsPackage modules.Module, mainPackage modules.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.