acacode / acacode/swagger-typescript-api
Swagger type definition was skipped by generator
- Lenguaje dominante
- TypeScript
- Estrellas
- 4.1k
- Forks
- 436
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
`

Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.