You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: Cannot read property 'route' of undefined
at getFullExpressPath (D:\Work\idea2app\REST-Node-ts\node_modules\.pnpm\[email protected][email protected]\node_modules\routing-controllers-openapi\src\generateSpec.ts:18:17)
at getFullPath (D:\Work\idea2app\REST-Node-ts\node_modules\.pnpm\[email protected][email protected]\node_modules\routing-controllers-openapi\src\generateSpec.ts:27:31)
at D:\Work\idea2app\REST-Node-ts\node_modules\.pnpm\[email protected][email protected]\node_modules\routing-controllers-openapi\src\generateSpec.ts:77:6
at Array.map (<anonymous>)
at getPaths (D:\Work\idea2app\REST-Node-ts\node_modules\.pnpm\[email protected][email protected]\node_modules\routing-controllers-openapi\src\generateSpec.ts:76:29)
at Object.getSpec (D:\Work\idea2app\REST-Node-ts\node_modules\.pnpm\[email protected][email protected]\node_modules\routing-controllers-openapi\src\generateSpec.ts:291:12)
at routingControllersToSpec (D:\Work\idea2app\REST-Node-ts\node_modules\.pnpm\[email protected][email protected]\node_modules\routing-controllers-openapi\src\index.ts:28:16)
at createSwagger (D:\Work\idea2app\REST-Node-ts\node_modules\.pnpm\[email protected]\node_modules\koagger\dist\Swagger.js:16:77)
at createAPI (D:\Work\idea2app\REST-Node-ts\node_modules\.pnpm\[email protected]\node_modules\koagger\dist\index.js:10:44)
at Object.<anonymous> (D:\Work\idea2app\REST-Node-ts\source\controller\index.ts:10:53)
Expect
@epiphone I want to reduce the Source-code Size, so I wrote a Controller Abstract Class mixin:
Actual
But it thrown an error at:
routing-controllers-openapi/src/generateSpec.ts
Lines 13 to 21 in 7c5bc3e
Reproduce code
idea2app/REST-Node-ts#1
Environment
The text was updated successfully, but these errors were encountered: