如果使用 Spring Boot 3 觀看 Day 8,然後發現 OpenAPI 頁面一直無法訪問,請服用 #6
frankvicky
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
安安~
如果你跟我一樣,神經大條使用 Spring Boot 3 跟著學習的話,那你可能遇到這個問題:
這並不是你中了無限月讀因為 SpringDoc OpenAPI 隨著這次 Spring 6 / Spring Boot 3 一起升級了,如果要搭配 Spring Boot 3,你必須使用 SpringDoc OpenAPI v2。
然後隨著這次改版,Maven Repository 也有新的 SpringDoc OpenAPI Starter WebMVC UI Repository ,也不用額外引入 Kotlin 支援,已經都在同一包裡面了,詳情請參考 Spring 官方文件
Beta Was this translation helpful? Give feedback.
All reactions