swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

Support not generating file parameters

Open cipchk opened this issue 4 years ago • 1 comments

In the secondary development process, each call to generateApi will force the target TypeScript file to be generated.

Although you can remove them after getting the results, you still hope that there are corresponding parameters to support not generating TypeScript files.

And,

Although generateApi returns a Promise, if an invalid file path is provided, the error result cannot be obtained in catch.

cipchk avatar Oct 04 '21 05:10 cipchk

I'm having the same problem here when generating a large number of files for multiple services. Having to filter out potentially broken services beforehand is not good.

Isola92 avatar Oct 12 '22 08:10 Isola92