ignore
- Used to ignore class/method
- Comment
@ignore
on the class to ignore all apis in the class.
- Comment
@ignore
on the method to ignore the api for the method.
Built-in recommended configuration
ignore=#ignore
demo
- Comment like this on the class to ignore all apis in the class
@RestController
@RequestMapping(value = "mock")
public class MockCtrl {
}
- Comment like this on the method to ignore the api:
@RestController
@RequestMapping(value = "mock")
public class MockCtrl {
@GetMapping("/string")
public String mockString() {
return Result.success("mock string");
}
}