--extract-enums for generateApi
Hi, dear developer of swagger-typescript-api It's really so usefull package, that let you write the best practice code, and have a little TS problems!
I would ask you to add --extract-enums param to generateApi, because I can't use CLI, I need hooks
Please, let it possible
import { generateApi } from 'swagger-typescript-api';
generateApi({ ... extractEnums: true, })
I guess it's already implemented: https://github.com/acacode/swagger-typescript-api/blob/79274ac391f6f5d12ebc2e3773c5bf6783f7312e/src/configuration.js#L75
@alizadeh118 Oh man) Thank you very much, I have should checked it in source code, but I was looking for it in documentation.
I think it must be added in documentation for generateApi)