使用SpringMVC如何实现对Swagger进行集成?相信很多没有经验的人对此束手无策,为此本文总结了问题出现的原因和解决方法,通过这篇文章希望你能解决这个问题。
1、添加POM依赖
com.fasterxml.jackson.core jackson-core 2.5.3 com.fasterxml.jackson.core jackson-annotations 2.5.3 com.fasterxml.jackson.core jackson-databind 2.5.3 io.springfox springfox-swagger2 2.6.1 io.springfox springfox-swagger-ui 2.6.1