## security description
method.doc[@javax.annotation.security.RolesAllowed]=groovy:"require role:"+it.ann("javax.annotation.security.RolesAllowed")
/**
* The first line of comments serves as the title for the folder.
* The remaining lines of comments serve as the description for the folder.
*/
@RestController
@RequestMapping(value = "mock")
public class MockCtrl {
/**
* The first line of comments serves as the title for the API.
* The remaining lines of comments serve as the description for the API.
*/
@GetMapping("/string")
@RolesAllowed("admin")
public String mockString() {
return Result.success("mock string");
}
}