当我尝试为ReDoc实现CDN以增强外观时,我已经设法在本地主机上设置了它,而我正在使用Linux Mint。这是我得到的错误。
任何人都从事过ReDoc。
Something went wrong...
Error downloading http://localhost:8080/spring-boot-rest-swagger-example-master.swagger.io/v2/swagger.json NetworkError when attempting to fetch resource.
Stack trace
s/<@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:49:5301
e/</<@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:93:36105
K/<@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:61:130862
r@https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js:61:134422
ReDoc Version: 2.0.0-rc.18
Commit: cd9fd618