Closed thepratt closed 8 years ago
I tried to use Finatra's mapper without success, it still generated the camel cased property name. Please feel free to open a PR for it, thanks.
Updated API, now you can config the swagger JSON.
Please see the sample application for more information.
Thanks for that Xiaodong. I'll update, and test it out later next week.
Currently you use the swagger json mapper, wouldn't it be better to use the included finatra mapper (with the option to use
@CamelCaseMapper
)? I use the default finatra functionality when it comes to mapping values, so my requests look like:instead of
And I don't see a way currently to support the first without writing name annotations on every request case class. if you don't have time, are you open to a PR surrounding this?