You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Oops, the change in #3 wasn't properly tested. While the swagger ui correctly loads all assets under the new swaggerui path, it does not properly load the openAPI spec:
Visting swagger-ui will try to load http://localhost:8044/openapi.yml
Visting swaggerui will try to load http://localhost:8044/swaggerui/openapi.yml
The other option is to use an HTTP redirect from swaggerui to swagger-ui. That has the benefit of not having to modify the dist directory which is better for maintenance.
Oops, the change in #3 wasn't properly tested. While the swagger ui correctly loads all assets under the new
swaggerui
path, it does not properly load the openAPI spec:swagger-ui
will try to loadhttp://localhost:8044/openapi.yml
swaggerui
will try to loadhttp://localhost:8044/swaggerui/openapi.yml
The issue is with
swaggerui/dist/swagger-initializer.js
Line 6 in 5230764
Swagger UI expects to run under the
swagger-ui
path.The text was updated successfully, but these errors were encountered: