[api] swagger 셋팅중
- 패스 수정
This commit is contained in:
@@ -2,11 +2,10 @@ package com.alist.api.modules.main;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("/")
|
||||
public class MainController {
|
||||
|
||||
@GetMapping(value = "/")
|
||||
public String index() {
|
||||
return "redirect:/swagger-ui/index.html";
|
||||
|
||||
Reference in New Issue
Block a user