Comments (1)
Hi,
The calculated server url is only used for swagger-ui purpose only. And not used to calculate the OpenAPI document.
If an application is deployed in a container, like a tomcat for example, the server url includes the context-root as well.
spring-webflux doesn't support for the moment context-paths:
In order to make, your example work with context-path, you can use the attached configuration.
The following pull request, can help you make context-path work:
from springdoc-openapi.
Related Issues (20)
- @ParameterObject don't exclude Objects subfields if field is annotated with @Hidden
- Add field level description for post mapping HOT 1
- Issue in compatibilty with Spring Boot 3.2.0 HOT 1
- Any way of adding Alternate Type rules in Open API Spring Doc
- Pom contains invalid organizationUrl
- How to use @Scheme to configure Java classes with generics?
- Schema creation error in inner-class duplication HOT 1
- Swagger Doesn't See @PostMapping HOT 1
- request /v3/api-docs Returns the encoded base64 string HOT 2
- how to Convert Option<CustomClass> to nullable CustomClass
- buildApiResponses ignores produced ContentType in case of many @Operation HOT 4
- How to add example in an API response without losing Schema HOT 2
- I developed an openapi ui document that supports swagger2 and openapi3. I hope everyone can improve it together. HOT 1
- Disable Suffixes for OperationId HOT 1
- 访问/swagger-ui/index.html, 请求/v3/api-docs/swagger-config路径404 HOT 1
- Controller advice documents ApiResponse on every operation, even if the operation does not annotate the exception to be thrown HOT 4
- JavaDoc integration not working with SnakeCaseStrategy property naming HOT 3
- response status is 500 /v3/api-docs HOT 1
- springdoc-openapi v2.3.0, "XXX PROPS " is displayed to standard error. HOT 2
- How to configure springdoc-openapi/swagger support for a specific servlet? HOT 2
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.