This commit is contained in:
@@ -25,6 +25,7 @@ from models import ApiEndpoint, ApiParameter
|
||||
|
||||
# javax.validation 必填注解
|
||||
REQUIRED_FIELD_ANNS = {"NotNull", "NotEmpty", "NotBlank"}
|
||||
MAPPING_ANNS = {"GetMapping", "PostMapping", "PutMapping", "DeleteMapping", "PatchMapping", "RequestMapping"}
|
||||
CONTROLLER_ANNS = {"RestController", "Controller"}
|
||||
|
||||
# Spring MVC 框架自动注入参数,不属于 API 调用方入参,解析时忽略
|
||||
|
||||
Reference in New Issue
Block a user