Swagger ui works needs refactor to be done

This commit is contained in:
BuildTools
2020-11-04 15:09:44 +01:00
parent 1a30ac3374
commit ba26d67cd4
3 changed files with 39 additions and 10 deletions

View File

@ -8,18 +8,10 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.event.ApplicationReadyEvent;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.event.EventListener;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import org.springframework.web.servlet.DispatcherServlet;
@SpringBootApplication
@Configuration
@EnableSwagger2
@EnableWebMvc
public class App {
public final static String API_VERSION = "v1";