fix 修复接口单参数校验无效问题
This commit is contained in:
parent
7cffafcdaa
commit
fdd8c65b36
|
@ -33,6 +33,7 @@ import io.swagger.annotations.ApiOperation;
|
||||||
* @author ${author}
|
* @author ${author}
|
||||||
* @date ${datetime}
|
* @date ${datetime}
|
||||||
*/
|
*/
|
||||||
|
@Validated
|
||||||
@Api(value = "${functionName}控制器", tags = {"${functionName}管理"})
|
@Api(value = "${functionName}控制器", tags = {"${functionName}管理"})
|
||||||
@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
@RequiredArgsConstructor(onConstructor_ = @Autowired)
|
||||||
@RestController
|
@RestController
|
||||||
|
|
Loading…
Reference in New Issue