superstruct

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Superstruct = "superstruct"

Functions

This section is empty.

Types

type Generator

type Generator struct {
	Modules *modules.Modules
}

func (*Generator) ErrorModels added in v2.2.0

func (g *Generator) ErrorModels(httpErrors *spec.HttpErrors) *generator.CodeFile

func (*Generator) Models

func (g *Generator) Models(version *spec.Version) *generator.CodeFile

func (*Generator) RuntimeType

func (g *Generator) RuntimeType(typ *spec.TypeDef) string

func (*Generator) RuntimeTypeName added in v2.2.0

func (g *Generator) RuntimeTypeName(typeName string) string

func (*Generator) RuntimeTypeSamePackage

func (g *Generator) RuntimeTypeSamePackage(typ *spec.TypeDef) string

func (*Generator) SetupLibrary

func (g *Generator) SetupLibrary() *generator.CodeFile

func (*Generator) WriteParamsType

func (g *Generator) WriteParamsType(w *writer.Writer, typeName string, params []spec.NamedParam)

Jump to

Keyboard shortcuts

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