openapi_kotlin

package
v0.0.0-...-293b089 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

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 (*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 (*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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL