Documentation ¶
Index ¶
- Variables
- func DefaultValue(typ *spec.TypeDef, value string) string
- func GenerateClient(specification *spec.Spec, packageName string, generatePath string) *gen.Sources
- func GenerateModels(specification *spec.Spec, packageName string, generatePath string) *gen.Sources
- func GenerateService(specification *spec.Spec, packageName string, swaggerPath string, ...) *gen.Sources
- func JavaIsReferenceType(typ *spec.TypeDef) bool
- func JavaType(typ *spec.TypeDef) string
- func JoinDelimParams(params []string) string
- func JoinParams(params []string) string
- func NewJavaWriter() *gen.Writer
- func PlainJavaType(typ string, referenceTypesOnly bool) (string, bool)
- func TrimSlash(param string) string
- type Module
Constants ¶
This section is empty.
Variables ¶
View Source
var ToPascalCase = casee.ToPascalCase
Functions ¶
func GenerateClient ¶ added in v2.1.859
func GenerateModels ¶
func GenerateService ¶ added in v2.0.602
func JavaIsReferenceType ¶ added in v2.0.736
func JoinDelimParams ¶ added in v2.1.880
func JoinParams ¶
func NewJavaWriter ¶
func PlainJavaType ¶
PlainJavaType Returns Java type name and boolean indicating if the type is reference or value type
Types ¶
type Module ¶ added in v2.0.614
func (Module) Subpackage ¶ added in v2.0.620
Source Files ¶
Click to show internal directories.
Click to hide internal directories.