http://172.16.5.130:8080/swagger-ui.html
上面的ip:port 根據實際情況調換
如果設置了server.servlet.context-path
比如:
server.servlet.context-path=/chat
(注意如果配置這個參數,這里的“/”是必須的,否則報錯)
那么swagger訪問地址變為
http://ip:port/chat/swagger-ui.html
http://172.16.5.130:8080/swagger-ui.html
上面的ip:port 根據實際情況調換
如果設置了server.servlet.context-path
比如:
server.servlet.context-path=/chat
(注意如果配置這個參數,這里的“/”是必須的,否則報錯)
那么swagger訪問地址變為
http://ip:port/chat/swagger-ui.html
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。