Works json endpoint ui dont

This commit is contained in:
BuildTools
2020-11-04 15:06:24 +01:00
parent 1571bccb49
commit 1a30ac3374
4 changed files with 34 additions and 5 deletions

View File

@ -8,9 +8,18 @@ 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";