acacode / acacode/swagger-typescript-api
Name flag is not respected when --modular is also provided
Đ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ả
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.
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á.