acacode / acacode/swagger-typescript-api

feat: external schemas

オープン
#1,669 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

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

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