How to enable Swagger in Spring Boot Application

Here we will see how to enable swagger in spring boot application. Technologies: Spring Boot Starter 2.2.5 Swagger 2.7.0 Swagger