swagger
This commit is contained in:
parent
2ef1a9255f
commit
aad4ae0c98
@ -0,0 +1,14 @@
|
||||
package email.timemail.mail.controller
|
||||
|
||||
import org.springframework.stereotype.Controller
|
||||
import org.springframework.web.bind.annotation.RequestMapping
|
||||
import springfox.documentation.annotations.ApiIgnore
|
||||
|
||||
@Controller
|
||||
@ApiIgnore
|
||||
open class IndexController {
|
||||
@RequestMapping(value = ["/", "/swagger"])
|
||||
open fun index(): String {
|
||||
return "redirect:doc.html"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user