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
If you are reporting a bug, please help to speed up problem diagnosis by providing as
much information as possible:
A clear and concise description of what the bug is: the title of an issue is not enough
To Reproduce
Steps to reproduce the behavior:
Version of spring-boot is 3.0.7
Version of springdoc-openapi is 2.0.0
When starting the application the following output is available:
a white screen and an error message in the sources as follows: Uncaught ReferenceError: SwaggerUIBundle is not defined
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: "https://petstore.swagger.io/v2/swagger.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout" ,
Describe the bug
Implement a spring-boot project with the following dependencies:
org.springframework.boot
spring-boot-starter-parent
3.0.7
much information as possible:
To Reproduce
Steps to reproduce the behavior:
Version of spring-boot is 3.0.7
Version of springdoc-openapi is 2.0.0
When starting the application the following output is available:
a white screen and an error message in the sources as follows: Uncaught ReferenceError: SwaggerUIBundle is not defined
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: "https://petstore.swagger.io/v2/swagger.json",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
],
plugins: [
SwaggerUIBundle.plugins.DownloadUrl
],
layout: "StandaloneLayout" ,
"configUrl" : "/v3/api-docs/swagger-config",
"validatorUrl" : ""
});
//
};
/v3/api-docs is loading normal
The text was updated successfully, but these errors were encountered: