acacode / acacode/swagger-typescript-api
Unable to use $ref in "paths"
Ouverte
enhancement
- Langage dominant
- TypeScript
- Étoiles
- 4.1k
- Forks
- 436
- Métriques de merge des PR
- Aucune PR mergée en 30 j
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? 🤔
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.