acacode / acacode/swagger-typescript-api
feat: external schemas
- 主要語言
- TypeScript
- 星號
- 4.1k
- 分支
- 436
- PR 合併指標
- 30 天內沒有已合併 PR
描述
# Description
In one of the last updates the handling of external schemas was changed. For example we have in many contracts a schema like
```yaml
"400":
description: "Bad Request"
content:
application/problem+json:
schema:
$ref: './common/default-responses.yaml#/components/schemas/ValidationProblem'
```
In old versions this was just ignored, now it is resolved and the types are added to every type file. Can this behaviours be configured?
Possible solutions:
1. shared type file (preferred) - it would be cool when these are only created into a shared file once instead of every file
2. just toggle this behaviour on/off
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。