openapi_java

package
v0.0.0-...-8befeed Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JavaGenerator

type JavaGenerator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator() *JavaGenerator

func (*JavaGenerator) BoxType

func (g *JavaGenerator) BoxType(codeType string, box bool) string

func (*JavaGenerator) Description

func (g *JavaGenerator) Description() string

func (*JavaGenerator) Generate

func (*JavaGenerator) Id

func (g *JavaGenerator) Id() string

func (*JavaGenerator) IsPrimitiveType

func (g *JavaGenerator) IsPrimitiveType(input string) bool

func (*JavaGenerator) PostProcessType

func (g *JavaGenerator) PostProcessType(codeType openapigenerator.CodeType) openapigenerator.CodeType

func (*JavaGenerator) PostProcessing

func (g *JavaGenerator) PostProcessing(files map[string]templateapi.RenderedFile) error

func (*JavaGenerator) TemplateData

func (*JavaGenerator) ToClassName

func (g *JavaGenerator) ToClassName(name string) string

func (*JavaGenerator) ToCodeType

func (g *JavaGenerator) ToCodeType(schema *base.Schema, schemaType openapigenerator.CodeTypeSchemaType, required bool) (openapigenerator.CodeType, error)

func (*JavaGenerator) ToConstantName

func (g *JavaGenerator) ToConstantName(name string) string

func (*JavaGenerator) ToFunctionName

func (g *JavaGenerator) ToFunctionName(name string) string

func (*JavaGenerator) ToParameterName

func (g *JavaGenerator) ToParameterName(name string) string

func (*JavaGenerator) ToPropertyName

func (g *JavaGenerator) ToPropertyName(name string) string

func (*JavaGenerator) TypeToImport

func (g *JavaGenerator) TypeToImport(iType openapigenerator.CodeType) string

Jump to

Keyboard shortcuts

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