acacode / acacode/swagger-typescript-api
$ref from JSON is not recognized and replaced by any
Đang mở
- Ngôn ngữ chính
- TypeScript
- Star
- 4.1k
- Fork
- 436
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
In my yaml I have references to json models in the local files, like this
` schemas:
details:
$ref: 'models/details.json'
`
When I generate TS, I am gettin the property type as "any". No errors are shown. Just a missing type in a result.
When I describe details as Yaml in this file, then everything works as expected, and generator creates an interface. So it's something about the external JSON models that is not working. However the same setup works with another TS generator, so models themselves are correct.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.