You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I think that would be really beneficial for a lot of generators since it is common to have a requests folder and a response folder or DTO folder. EG company conventions
Describe the solution you'd like
I already make a solution that involved mapping each modelName to a Type by recursively going through the paths.
then overriding the toModelImport to track each model and change the import. I also needed to update the modelFileName to contain the location of the folder (not modelFileFolder because that is static and can't be influenced by the file name)
there is also the issue of "Orphan" models that are part of requests and responses because they are referenced in a Model but aren t a request in of themselves. Which needed to be dealt with and they were put in a 3rd separate folder