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, targetModule modules.Module, modelsModule, validationModule, paramsModule, errorsModule, responsesModule modules.Module) *generator.CodeFile SpecRouter(specification *spec.Spec, rootModule modules.Module, module modules.Module) *generator.CodeFile Responses(targetModule, validationModule, errorsModule modules.Module) *generator.CodeFile }
func NewServiceGenerator ¶
func NewServiceGenerator(server string, validation validations.Validation) ServiceGenerator
Click to show internal directories.
Click to hide internal directories.