Split interfaces to different files #385
Replies: 1 comment 1 reply
-
@sharpzilla thanks for taking the time to bring this up As of right now, there is no way to generate multiple files. This is something I am working on. To begin with, I want to enable an option to split the generated types into individual files. To begin with, that would be the following:
Unfortunately, I piggyback entirely on NSwag for generating the models, and as far as I know, they only support generating a single file for models I haven't thought about whether this would be the default, or should be enabled using some sort of option like |
Beta Was this translation helpful? Give feedback.
-
Hello, is there a way to generate file per tag when I'm generating clients with options "multipleInterfaces": "ByTag"?
Also is there a way to disable generation of models from open api specification? I have this structure of my solution: Api, Api.Client, Api.Models. Api.Models is shared project with projects: Api and Api.Client and it contains requets and response models and enums. Basically I don't need generated models from refitter I'm fine with my existed models from Api.Models.
Beta Was this translation helpful? Give feedback.
All reactions