redux-toolkit
redux-toolkit copied to clipboard
Option for OpenAPI code generator to export types to separate folder
It would be nice to have an option to export the types from the OpenAPI code generator to a separate file.
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.