swagger使用报错:No enum constant org.springframework.web.bind.annotation.RequestMethod.Get
生活随笔
收集整理的這篇文章主要介紹了
swagger使用报错:No enum constant org.springframework.web.bind.annotation.RequestMethod.Get
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
參考:https://blog.csdn.net/qq_35623773/article/details/84898578
報(bào)錯(cuò)
No enum constant org.springframework.web.bind.annotation.RequestMethod.Get錯(cuò)誤寫法httpMethod = "Get"
@ApiOperation(value = "根據(jù)租id獲取信息", httpMethod = "Get", response = ModuleBoxDTO.class, responseContainer = "List", notes = "根據(jù)租id獲取信息")改成httpMethod = "GET"
@ApiOperation(value = "根據(jù)租id獲取信息", httpMethod = "GET", response = ModuleBoxDTO.class, responseContainer = "List", notes = "根據(jù)租id獲取信息")?
總結(jié)
以上是生活随笔為你收集整理的swagger使用报错:No enum constant org.springframework.web.bind.annotation.RequestMethod.Get的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 杂项代码未分类
- 下一篇: jenkins安装配置