Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Express = "express"
View Source
var Koa = "koa"
View Source
var Servers = []string{Express, Koa}
Functions ¶
Types ¶
type ServiceGenerator ¶ added in v2.1.1326
type ServiceGenerator interface { VersionRouting(version *spec.Version, validationModule, paramsModule, module modules.Module) *sources.CodeFile SpecRouter(specification *spec.Spec, rootModule modules.Module, module modules.Module) *sources.CodeFile }
func NewServiceGenerator ¶ added in v2.1.1326
func NewServiceGenerator(server string, validation validations.Validation) ServiceGenerator
Click to show internal directories.
Click to hide internal directories.