acacode / acacode/swagger-typescript-api

Unable to use $ref in "paths"

オープン
#447 コメント 6 件 リアクション 2 件 担当者 1 名 @js2me が担当を希望しています GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。