Skip to content

Commit

Permalink
feat: fixes sonar Security Hotspot issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Sep 25, 2023
1 parent 4ea3eba commit ed63cac
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
* Home redirection to OpenAPI api documentation
*/
@Controller
public class HomeController {

@RequestMapping("/")
@RequestMapping(value = "/", method = RequestMethod.GET)
public String index() {
return "redirect:swagger-ui.html";
}
Expand Down

0 comments on commit ed63cac

Please sign in to comment.