acacode / acacode/swagger-typescript-api
Name flag is not respected when --modular is also provided
未關閉
- 主要語言
- TypeScript
- 星號
- 4.1k
- 分支
- 436
- PR 合併指標
- 30 天內沒有已合併 PR
描述
When I run:
```
swagger-typescript-api --extract-enums --modular -p ./app/api/openapi.json -o ./app/api/sdk -n generated.server.ts
```
These files are generated
```
app/api/sdk/data-contracts.ts
app/api/sdk/http-client.ts
app/api/sdk/Api.ts
```
It looks like the `-n` flag is discarded when used with the `--modular` flag. I couldn't figure out any way to change the output file names when using the `--modular` flag from the readme.
I would expect `app/api/sdk/Api.ts` to be named `app/api/sdk/generated.server.ts` based on the `-n` flag.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。