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 ¶
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 ¶
func NewServiceGenerator(server string, validation validations.Validation) ServiceGenerator
Click to show internal directories.
Click to hide internal directories.