types

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

Documentation

Index

Constants

View Source
const EmptyType = `empty.Type`

Variables

View Source
var ErrorsModelsPackage = "errmodels"
View Source
var VersionModelsPackage = "models"

Functions

func DefaultValue

func DefaultValue(typ *spec.TypeDef, value string) string

Types

type Types added in v2.1.2134

type Types struct{}

func NewTypes added in v2.1.2134

func NewTypes() *Types

func (*Types) GoType added in v2.1.2134

func (types *Types) GoType(typ *spec.TypeDef) string

func (*Types) GoTypeSamePackage added in v2.1.2134

func (types *Types) GoTypeSamePackage(typ *spec.TypeDef) string

func (*Types) ResponseBodyGoType added in v2.2.0

func (types *Types) ResponseBodyGoType(body *spec.ResponseBody) string

Jump to

Keyboard shortcuts

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