redux-toolkit icon indicating copy to clipboard operation
redux-toolkit copied to clipboard

Option for OpenAPI code generator to export types to separate folder

Open michalvadak opened this issue 10 months ago • 1 comments

It would be nice to have an option to export the types from the OpenAPI code generator to a separate file.

michalvadak avatar Jan 07 '25 16:01 michalvadak

Yes that would be nice! I have a large API and am using the splitting functionality to split the API in multiple slices. I have multiple endpoints in different functional domains that return the same subclasses (for example: Tenant ID and name). These different endpoint are spread over currently three slices. Because of that the type for the same subclasses are also duplicated over those three slices... Would like the types to be handled separate to avoid duplication.

michel-jump avatar Apr 07 '25 09:04 michel-jump