package net.zoostar.sandbox.web.controller;

import java.io.IOException;

import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import springfox.documentation.annotations.ApiIgnore;

@Controller
public class MainController {

	static final Logger logger = LoggerFactory.getLogger(MainController.class);
	
	@ApiIgnore
	@RequestMapping(value="/", produces=MediaType.TEXT_HTML_VALUE)
	public void loadMain(HttpServletResponse response) throws IOException {
		logger.info("Redirecting to swagger-ui.html");
		response.sendRedirect("swagger-ui.html");
	}
}

@@ -615,12 +615,14 @@
 lic 
-void
+String
  loa
@@ -679,16 +679,67 @@
 tion %7B%0D%0A
+%09%09logger.debug(%22Redirecting to swagger-ui.html%22);%0D%0A
 %09%09logger
@@ -788,28 +788,13 @@
 %09%09re
-sponse.sendRedirect(
+turn 
 %22swa
@@ -796,29 +796,23 @@
  %22swagger-ui
-.html%22)
+%22
 ;%0D%0A%09%7D%0D%0A%7D%0D%0A

Add moore logging.