acacode / acacode/swagger-typescript-api
Unable to use $ref in "paths"
未关闭
enhancement
- 主要语言
- TypeScript
- 星标
- 4.1k
- 派生
- 436
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hello. I'm getting errors while generating typescript definitions for my api. Some paths are defined in other files, so I pass a `$ref` to them. Feel free to check out the minimal bug repro repository I made https://github.com/bartekczyz/swagger-typescript-api-bug-repro
I'm getting
```
TypeError: Cannot create property 'consumes' on string './paths/repro.yaml#/hello'
```
Is there a workaround I could use? 🤔
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。