Additional comments on the class
class.doc=@io.swagger.annotations.Api#value
@Api(value = "mock api tools",
@RestController
@RequestMapping(value = "mock")
public class MockCtrl {
/**
* Mock String
*/
@GetMapping("/string")
public String mockString() {
return Result.success("mock string");
}
}