@ApiOperation(value = "xxx功能", httpMethod = "GET")
httpMethod 的值需要纯大写就可以了
我这里有一个写成了get小写形式就报错了
httpMethod可用的值
"POST",
"GET",
"PUT",
"PATCH",
"DELETE",
"HEAD",
"OPTIONS"
标签:web,constant,GET,get,No,httpMethod,报错
来源: https://www.cnblogs.com/rchao/p/14824530.html