OptionalcontrollerThe base path in which the controllers can be found.
OptionalfallbackShould the controller function name fallback to method + path (method in lower and path in PascalCase)?
OptionalfallbackShould the index module (index.ts or index.js) be used as fallback?
OptionalmapSpecifies how to map the controller.
OptionalprovideSpecifies if stubs should be provided.
OptionalvalidateSpecifies if the oas-validator should be used.
Options for adding the routes from a oas specification.
Export
AddFromSpecificationOpts