Comments (2)
We rely on swagger-ui webjars, and there is a special case for Webjars content using spring-mvc. Any resources with a path in /webjars/** will be served from jar files if they are packaged in the Webjars format. Consequently, the default behaviour is using /webjars path for serving these resources.
If your config is: springdoc.swagger-ui.path=${app.path}/swagger-ui.html
With, the version 1.1.24 of springdoc-openapi, you will have the static ressources served from the path: ${app.path}/
If you need to serve these resources from another specific path, you can just override the org.springdoc.ui.SwaggerConfig.
from springdoc-openapi.
Thanks so much for the feedback. I just brought down the latest build and it seems to now be hiding webjars from the url which is great. Everything is served from the correct place and working as expected
from springdoc-openapi.
Related Issues (20)
- How to configure springdoc with a non-spring-boot project? HOT 3
- ConverterNotFoundException when upgrading from 2.4.0 to 2.5.0
- ClassNotFoundException after trying to use Springdoc in a non-spring-boot application
- Update springdoc-openapi-ui 1.7.0 to 1.8.0 - generate "string" example value
- Not able to exclude the path from custom api.yaml file for a given group name HOT 2
- Enhance SpringDoc documentation for file upload API configuration
- Add a generic way to customize serverBaseUrl based on request headers.
- ParameterObject annotation dosen't work when has RequestPart annotation
- When the openapi version is changed to 3.1.0 from 3.0.3, integer values are assigned the maximum value
- Custom ModelResolver and TypeNameResolver results in unexpected behaviour
- oneOf schema not generated > 2.3.0 HOT 2
- GroupedApi orders by displayName instead of name
- /v3/api-docs response error HOT 1
- Spring Data REST Excerpt projections are missing from spec
- java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlRootElement HOT 1
- Dynamically define ApiGroups does not work
- Is it bug? objectMapper redefinition causes Swagger Petstore page
- java.lang.NoSuchMethodError: 'io.swagger.v3.oas.annotations.StringToClassMapItem[] io.swagger.v3.oas.annotations.media.Schema.dependentSchemas()'
- Springdoc is adding a 404 status response for all endpoints, even if I don't add it explicitly
- Springdoc programatically dynamic API definition and display it's properties
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from springdoc-openapi.