swagger-codegen client: How to include jackson annotations on models

北战南征 提交于 2019-12-05 22:39:11

Add the following line of code in your plugin configuration in pom.xml

<'library>$libraryValue<'/library>

$libraryValue can be based on which library you are using in your dependencies. Either jersey one if you are using Jersey 1.x.x or jersey2 if you are using Jersey 2.x.x.

Thanks https://stackoverflow.com/users/3695939/moondaisy for the headstart that you have provided.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!