acacode / acacode/swagger-typescript-api

Swagger type definition was skipped by generator

Đang mở
#668 0 bình luận 3 reaction 0 người được giao Xem trên GitHub
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ả

I tried to generate an api class based on the swagger file from emailengine. Everything went well in general, but some child types definitions were missing.

For example ImapConfiguration SmtpConfiguration types were defined as string "false"

Here is the swagger file on the basis of which the generation took place

[swagger.json](https://github.com/acacode/swagger-typescript-api/files/13639169/swagger.json)

Definition of missing types in the file is also present. ImapConfiguration on 6266 and SmtpConfiguration on 6340

Command that I use `
npx swagger-typescript-api -r
-p swagger.json
--axios
--single-http-client
--unwrap-response-data
--api-class-name EmailEngineApi
--union-enums
--disableStrictSSL
--extract-request-params
--extract-request-body
--extract-response-body
--extract-response-error
--extract-enums
`

![image](https://github.com/acacode/swagger-typescript-api/assets/93624409/e0809c20-78f2-4082-98c3-49e931e8f64e)

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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.