原文:swagger2 Illegal DefaultValue null for parameter type integer

問題,為了方便調試,引入了swagger ,但是在第一次訪問的時候總是報 Illegal DefaultValue null for parameter type integer 讓人看着很不輸入 定位問題 很明顯說是NumberFormatException,查看AbstractSerializableParameter的getExample得知 在進行轉化的時候報錯,在this.example ...

2020-03-18 11:02 0 1086 推薦指數:

查看詳情

SpringBoot整合Swagger2

相信各位在公司寫API文檔數量應該不少,當然如果你還處在自己一個人開發前后台的年代,當我沒說,如今為了前后台更好的對接,還是為了以后交接方便,都有要求寫API文檔。 手寫Api文檔的 ...

Fri Mar 09 18:22:00 CST 2018 4 111809
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM