cn.mapway.document.test.TestController2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mapway-doc-ui Show documentation
Show all versions of mapway-doc-ui Show documentation
auto gen doc from api with ui
package cn.mapway.document.test;
import org.springframework.stereotype.Controller;
import cn.mapway.document.annotation.Doc;
import org.springframework.web.bind.annotation.RequestMapping;
/**
* The Class TestController2.
*/
@Doc(value = "ABCD", group = "/泛能", desc = "ABCD Specail")
@Controller
@RequestMapping(value = "doc/456/")
public class TestController2 {
/**
* Gets the name 3.
*
* @param req the req
* @return the name 3
*/
@Doc(value = "touch3", group = "/Style",tags = {"测试","文明"})
@RequestMapping("/touch3")
public Ret getname3(Req req) {
return new Ret();
}
/**
* Gets the name 456.
*
* @param req the req
* @return the name 456
*/
@Doc(value = "touch4", group = "/Css")
@RequestMapping("/touch3")
public Ret getname456(Req req) {
return new Ret();
}
}