openapi_go

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoGenerator

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

func NewGenerator

func NewGenerator() *GoGenerator

func (*GoGenerator) Description

func (g *GoGenerator) Description() string

func (*GoGenerator) Generate

func (g *GoGenerator) Generate(opts openapigenerator.GenerateOpts) error

func (*GoGenerator) Id

func (g *GoGenerator) Id() string

func (*GoGenerator) IsPrimitiveType

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

func (*GoGenerator) PostProcessType

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

func (*GoGenerator) PostProcessing

func (g *GoGenerator) PostProcessing(outputDir string) error

func (*GoGenerator) TemplateData

func (*GoGenerator) ToClassName

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

func (*GoGenerator) ToCodeType

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

func (*GoGenerator) ToConstantName

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

func (*GoGenerator) ToFunctionName

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

func (*GoGenerator) ToParameterName

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

func (*GoGenerator) ToPropertyName

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

func (*GoGenerator) TypeToImport

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

Jump to

Keyboard shortcuts

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