openapi_kotlin

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 12 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) StatusCodeToClassName

func (g *KotlinGenerator) StatusCodeToClassName(code string) string

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