[REQ] aspnetcore Make code generation configurable
Created by: A-Joshi
Is your feature request related to a problem? Please describe.
- Trying to get the aspnetcore generator to generate interfaces only. This will be akin to the Java Spring support where we generate the interfaces for the API and let the servers implement the interface. The difficulty is that a lot of irrelevant code is generated and it should be easy to turn it off via the configuration.
- The goal will be to add in additional configuration parameters to finetune what is generated.
Describe the solution you'd like
Want to have options to fine tune the generation by logical grouping without having to enumerate each possible output for the supporting files. E.g. generateWWWRoot would enable or disable generating the wwwroot directory.
Describe alternatives you've considered
Tried various options for the generator and looking a the generator code I don't think there is control over that. I have created a fork with the additional option (for the wwwroot directory) and it seems to to the job. Happy to submit the change as a PR
Additional context
Looking to extend this further to generate pure interfaces and models and at that point I see leveraging these options (some being set automatically based on the choice of generating an interface).