Kurten
Kurten
这样不支持,拿不到参数哦
>  大概思路就是没有WEB_ROUTER_PARAM_KEY的时候再添加下metaForMethods的类型参数,老哥帮忙看看能不能实现? > > > 这样不支持,拿不到参数哦 组件实现上面是独立的,只用 swagger 的装饰器,router 是不会执行相关逻辑的。
TypeScript 范型继承拿不到类型信息的,ApiProperty 里面指定类型试试
> @kurten https://docs.nestjs.com/openapi/operations#advanced-generic-apiresponse midway swagger 也支持这么搞的
你说的是snippet吧,vsc现有的支持应该就能满足你的需求吧。
> 所以说你的 `controller/inward` 文件夹下有很多 controller 文件? 我的理解,应该是自动带上目录,作为url路径的prefix
Component api only work on example: class Test extends React.Component { // here ... // other code }, gdp gis ren scu only work in ({ }), Limited by scope...
依赖了babel,能过node 6测试