Documentation
¶
Index ¶
- Variables
- type Generator
- func (g *Generator) ErrorModels(httpErrors *spec.HttpErrors) *generator.CodeFile
- func (g *Generator) Models(version *spec.Version) *generator.CodeFile
- func (g *Generator) RuntimeType(typ *spec.TypeDef) string
- func (g *Generator) RuntimeTypeName(typeName string) string
- func (g *Generator) RuntimeTypeSamePackage(typ *spec.TypeDef) string
- func (g *Generator) SetupLibrary() *generator.CodeFile
- func (g *Generator) WriteParamsType(w *writer.Writer, typeName string, params []spec.NamedParam)
Constants ¶
This section is empty.
Variables ¶
View Source
var IoTs = "io-ts"
Functions ¶
This section is empty.
Types ¶
type Generator ¶
func (*Generator) ErrorModels ¶ added in v2.2.0
func (g *Generator) ErrorModels(httpErrors *spec.HttpErrors) *generator.CodeFile
func (*Generator) RuntimeTypeName ¶ added in v2.2.0
func (*Generator) RuntimeTypeSamePackage ¶
func (*Generator) SetupLibrary ¶
func (*Generator) WriteParamsType ¶
Click to show internal directories.
Click to hide internal directories.