From 2d1292262a9038fe2cfdef9cfc0170b247f25133 Mon Sep 17 00:00:00 2001 From: dongzi Date: Fri, 5 Jun 2026 16:43:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=B1=BB=E5=AF=B9=E8=B1=A1?= =?UTF-8?q?=E8=A7=A3=E6=9E=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/checker/controller_ast_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitea/checker/controller_ast_parser.py b/.gitea/checker/controller_ast_parser.py index 527aaef..589a4fe 100644 --- a/.gitea/checker/controller_ast_parser.py +++ b/.gitea/checker/controller_ast_parser.py @@ -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 调用方入参,解析时忽略