Tuesday, August 28, 2018

XML-Based Swagger 2 Configuration With Spring MVC

Recently, I got a requirement to integrate Swagger 2 with Spring MVC. As the Spring configuration was done using XML based on the project, I had to go for that only, and I started looking for the example but could not find the proper article on the web immediately. Below is the step-by-step guide to configuring Swagger 2 with Spring MVC using an XML-based configuration.

  • First of all, add these below dependencies to your pom.xml.



    from DZone.com Feed https://ift.tt/2ME5L7X

No comments:

Post a Comment