Documentation ¶
Index ¶
- Variables
- func DefaultValue(typ *spec.TypeDef, value string) string
- func GenerateClient(specification *spec.Spec, jsonlib string, packageName string, ...) *sources.Sources
- func GenerateModels(specification *spec.Spec, jsonlib string, packageName string, ...) *sources.Sources
- func GenerateService(specification *spec.Spec, jsonlib string, packageName string, ...) *sources.Sources
- func JavaIsReferenceType(typ *spec.TypeDef, jsonlib string) bool
- func JavaType(typ *spec.TypeDef, jsonlib string) string
- func JoinDelimParams(params []string) string
- func JoinParams(params []string) string
- func NewJavaWriter() *sources.Writer
- func PlainJavaType(typ string, referenceTypesOnly bool, jsonlib string) (string, bool)
- func TrimSlash(param string) string
- type Module
Constants ¶
This section is empty.
Variables ¶
View Source
var Jackson = "jackson"
View Source
var Moshi = "moshi"
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 ¶
- check_types.go
- client_okhttp.go
- client_okhttp_exception.go
- client_okhttp_impl.go
- client_okhttp_utils.go
- default.go
- helpers.go
- models.go
- models_jackson.go
- models_moshi.go
- models_moshi_adapters.go
- module.go
- service_spring.go
- service_spring_controllers.go
- service_spring_impl.go
- service_spring_interface.go
- shorthands.go
- type.go
- writer.go
Click to show internal directories.
Click to hide internal directories.