acacode / acacode/swagger-typescript-api
Unable to use $ref in "paths"
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 4.1k
- Forks
- 436
- PR merge metrics
- No merged PRs in 30d
Description
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? 🤔
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.