Documentation
¶
Index ¶
- type KotlinGenerator
- func (g *KotlinGenerator) Description() string
- func (g *KotlinGenerator) Generate(opts openapigenerator.GenerateOpts) error
- func (g *KotlinGenerator) Id() string
- func (g *KotlinGenerator) IsPrimitiveType(input string) bool
- func (g *KotlinGenerator) PostProcessType(codeType openapigenerator.CodeType) openapigenerator.CodeType
- func (g *KotlinGenerator) PostProcessing(files map[string]templateapi.RenderedFile) error
- func (g *KotlinGenerator) TemplateData(opts openapigenerator.TemplateDataOpts) (openapigenerator.DocumentModel, error)
- func (g *KotlinGenerator) ToClassName(name string) string
- func (g *KotlinGenerator) ToCodeType(schema *base.Schema, schemaType openapigenerator.CodeTypeSchemaType, ...) (openapigenerator.CodeType, error)
- func (g *KotlinGenerator) ToConstantName(name string) string
- func (g *KotlinGenerator) ToFunctionName(name string) string
- func (g *KotlinGenerator) ToParameterName(name string) string
- func (g *KotlinGenerator) ToPropertyName(name string) string
- func (g *KotlinGenerator) TypeToImport(iType openapigenerator.CodeType) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KotlinGenerator ¶
type KotlinGenerator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator() *KotlinGenerator
func (*KotlinGenerator) Description ¶
func (g *KotlinGenerator) Description() string
func (*KotlinGenerator) Generate ¶
func (g *KotlinGenerator) Generate(opts openapigenerator.GenerateOpts) error
func (*KotlinGenerator) Id ¶
func (g *KotlinGenerator) Id() string
func (*KotlinGenerator) IsPrimitiveType ¶
func (g *KotlinGenerator) IsPrimitiveType(input string) bool
func (*KotlinGenerator) PostProcessType ¶
func (g *KotlinGenerator) PostProcessType(codeType openapigenerator.CodeType) openapigenerator.CodeType
func (*KotlinGenerator) PostProcessing ¶
func (g *KotlinGenerator) PostProcessing(files map[string]templateapi.RenderedFile) error
func (*KotlinGenerator) TemplateData ¶
func (g *KotlinGenerator) TemplateData(opts openapigenerator.TemplateDataOpts) (openapigenerator.DocumentModel, error)
func (*KotlinGenerator) ToClassName ¶
func (g *KotlinGenerator) ToClassName(name string) string
func (*KotlinGenerator) ToCodeType ¶
func (g *KotlinGenerator) ToCodeType(schema *base.Schema, schemaType openapigenerator.CodeTypeSchemaType, required bool) (openapigenerator.CodeType, error)
func (*KotlinGenerator) ToConstantName ¶
func (g *KotlinGenerator) ToConstantName(name string) string
func (*KotlinGenerator) ToFunctionName ¶
func (g *KotlinGenerator) ToFunctionName(name string) string
func (*KotlinGenerator) ToParameterName ¶
func (g *KotlinGenerator) ToParameterName(name string) string
func (*KotlinGenerator) ToPropertyName ¶
func (g *KotlinGenerator) ToPropertyName(name string) string
func (*KotlinGenerator) TypeToImport ¶
func (g *KotlinGenerator) TypeToImport(iType openapigenerator.CodeType) string
Click to show internal directories.
Click to hide internal directories.