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