Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Micronaut = "micronaut-low-level"
View Source
var MicronautDecl = "micronaut-declarative"
View Source
var OkHttp = "okhttp"
Functions ¶
Types ¶
type ClientGenerator ¶
type Generator ¶
type Generator struct { ClientGenerator models.Generator Jsonlib string Types *types.Types Packages *Packages }
func NewGenerator ¶
type MicronautDeclGenerator ¶
type MicronautDeclGenerator struct { Types *types.Types Models models.Generator Packages *Packages }
func (*MicronautDeclGenerator) Clients ¶ added in v2.1.2134
func (g *MicronautDeclGenerator) Clients(version *spec.Version) []generator.CodeFile
func (*MicronautDeclGenerator) Exceptions ¶ added in v2.2.0
func (g *MicronautDeclGenerator) Exceptions(errors *spec.Responses) []generator.CodeFile
type MicronautGenerator ¶ added in v2.2.0
func NewMicronautGenerator ¶ added in v2.2.0
func (*MicronautGenerator) Clients ¶ added in v2.2.0
func (g *MicronautGenerator) Clients(version *spec.Version) []generator.CodeFile
func (*MicronautGenerator) Exceptions ¶ added in v2.2.0
func (g *MicronautGenerator) Exceptions(errors *spec.Responses) []generator.CodeFile
type OkHttpGenerator ¶
func NewOkHttpGenerator ¶
func (*OkHttpGenerator) Clients ¶ added in v2.1.2134
func (g *OkHttpGenerator) Clients(version *spec.Version) []generator.CodeFile
func (*OkHttpGenerator) Exceptions ¶ added in v2.2.0
func (g *OkHttpGenerator) Exceptions(errors *spec.Responses) []generator.CodeFile
Click to show internal directories.
Click to hide internal directories.