Documentation ¶
Index ¶
- Variables
- func DefaultValue(typ *spec.TypeDef, value string) string
- func GenerateClient(specification *spec.Spec, generatePath string, client string, ...) *gen.Sources
- func GenerateModels(specification *spec.Spec, validation string, generatePath string) *gen.Sources
- func GenerateService(specification *spec.Spec, swaggerPath string, generatePath string, ...) *gen.Sources
- func IoTsType(typ *spec.TypeDef) string
- func Module(folderPath string) module
- func NewTsWriter() *gen.Writer
- func ParamIoTsType(typ *spec.TypeDef) string
- func ParamIoTsTypeDefaulted(param *spec.NamedParam) string
- func ParamPlainIoTsType(typ string) string
- func ParamPlainSuperstructType(typ string) string
- func ParamSuperstructType(typ *spec.TypeDef) string
- func ParamSuperstructTypeDefaulted(param *spec.NamedParam) string
- func PlainIoTsType(typ string) string
- func PlainSuperstructType(typ string) string
- func PlainTsType(typ string) string
- func SuperstructType(typ *spec.TypeDef) string
- func TsType(typ *spec.TypeDef) string
Constants ¶
This section is empty.
Variables ¶
View Source
var IoTs = "io-ts"
View Source
var Superstruct = "superstruct"
Functions ¶
func GenerateClient ¶ added in v2.1.966
func GenerateModels ¶ added in v2.0.289
func GenerateService ¶ added in v2.0.334
func NewTsWriter ¶
func ParamIoTsType ¶ added in v2.0.312
func ParamIoTsTypeDefaulted ¶ added in v2.0.312
func ParamIoTsTypeDefaulted(param *spec.NamedParam) string
func ParamPlainIoTsType ¶ added in v2.0.312
func ParamPlainSuperstructType ¶ added in v2.0.289
func ParamSuperstructType ¶ added in v2.0.289
func ParamSuperstructTypeDefaulted ¶ added in v2.0.289
func ParamSuperstructTypeDefaulted(param *spec.NamedParam) string
func PlainIoTsType ¶
func PlainSuperstructType ¶ added in v2.0.289
func PlainTsType ¶
func SuperstructType ¶ added in v2.0.289
Types ¶
This section is empty.
Source Files ¶
- axios.go
- client.go
- default.go
- fetch.go
- format.go
- iots-models.go
- iots-params.go
- iots-type.go
- iots.go
- models.go
- module.go
- response.go
- service-express.go
- service-impl.go
- service-interface.go
- service-koa.go
- service-params.go
- service-routing.go
- service.go
- superstruct-models.go
- superstruct-params.go
- superstruct-type.go
- superstruct.go
- type.go
- validation.go
- writer.go
Click to show internal directories.
Click to hide internal directories.