其他分享
首页 > 其他分享> > swagger 相关

swagger 相关

作者:互联网

No enum constant org.springframework.web.bind.annotation.RequestMethod.Post

 错误原因:httpMethod 中 POST 写成了 Post

@ApiOperation(value = "新建人脸库",notes = "新建人脸库", httpMethod = "Post")

问题解决,改过来:

@ApiOperation(value = "新建人脸库",notes = "新建人脸库", httpMethod = "POST")

 

标签:新建,notes,httpMethod,人脸,相关,Post,swagger,POST
来源: https://www.cnblogs.com/xiluhua/p/14850531.html