epiphone / routing-controllers-openapi

Runtime OpenAPI v3 schema generation for routing-controllers.
MIT License
306 stars 58 forks source link

Cannot read properties of undefined - getParamSchema #114

Open mathzdev opened 2 years ago

mathzdev commented 2 years ago

When I use @Body() or @Param from routing-controllers I got this error Cannot read properties of undefined on getParamSchema

If I remove it or comment it, it works but don't generate openapi correctly.

I put "emitDecoratorMetadata": true on tsconfig.json but doesn't work =/

taiwanhua commented 9 months ago

+1

martinZacharias commented 3 months ago

Seems to be the same as https://github.com/epiphone/routing-controllers-openapi/issues/141 I posted a possible reason / solution in https://github.com/epiphone/routing-controllers-openapi/issues/141#issuecomment-2247441947