Documentation ¶
Index ¶
- Variables
- func DefaultValue(typ *spec.TypeDef, value string) string
- func GenerateClient(specification *spec.Spec, moduleName string, generatePath string) *sources.Sources
- func GenerateModels(specification *spec.Spec, moduleName string, generatePath string) *sources.Sources
- func GenerateService(specification *spec.Spec, moduleName string, swaggerPath string, ...) *sources.Sources
- func GoType(typ *spec.TypeDef) string
- func GoTypeSamePackage(typ *spec.TypeDef) string
- func Imports() *imports
- func JoinDelimParams(params []string) string
- func JoinParams(params []string) string
- func Module(rootModule string, path string) module
- func NewGoWriter() *sources.Writer
- func PlainGoType(typ string, modelsPackage string) string
- func WriteAlignedLines(w *sources.Writer, lines [][]string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ToPascalCase = casee.ToPascalCase
View Source
var ToUpperCase = casee.ToUpperCase
Functions ¶
func GenerateClient ¶ added in v2.1.1198
func GenerateModels ¶
func GenerateService ¶ added in v2.0.279
func GoTypeSamePackage ¶ added in v2.0.586
func JoinDelimParams ¶ added in v2.0.297
func JoinParams ¶ added in v2.0.297
func NewGoWriter ¶
func PlainGoType ¶
func WriteAlignedLines ¶ added in v2.1.1206
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.