Adds a flag and relevant settings for disabling generation of Dispatch client code.
Sometimes we may want to use our own HTTP client without bringing in an unused Dispatch dependency.
Change Config to a regular class
This allows us to add more fields to it. At the moment adding just one takes it over the 22 field limit.
Add parameter for skipping the generation of Dispatch client code
--no-dispatch-client – command line parameter
enableDispatchClient – SBT setting
scalaxb.enableDispatchClient – Maven setting
The default value is ‘true’ so that current behavior is not changed.
Sorry I haven't commented on this PR yet.
I was thinking maybe having Seq of sealed trait is a better way of representing config. I have to experiment and see how it would look.
Manually merge #322
Closing this in favor of #345