Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!
Score of 2
1 answer
211 views

What does it want from me? How do I make sure I get no warning without suppressing it? Non-null type argument is expected import org.springframework.web.reactive.function.server.RouterFunction; ...
Score of 3
1 answer
89 views

I specified a custom Swagger UI endpoint. springdoc: swagger-ui: path: /swagger-ui However, I get 404 when hitting it from my browser: http://localhost:8080/swagger-ui 2026-05-08T20:00:23.390+...
Score of 1
1 answer
232 views

I have a native query that takes 4 (optional) parameters for filtering. 4 is a bit too many for readability, so I was looking into replacing it with an object. I encountered two separate problems ...
Score of 0
1 answer
75 views

When I change the property springdoc.swagger-ui.url to contain the .yaml extension, for example /v3/api-docs.yaml, I expect the URLs of the defined groups to include it as well. For example, with the ...
Score of 0
2 answers
238 views

I have Springdoc 2.8.15 and Spring Boot 3.5.11 running. The API spec is generated correctly as long as I don't use the @Parameter and @OpenApiDefinition annotations. If I use one of them I get an ...
Score of 2
1 answer
82 views

I'm trying to understand the relationship between groups and URLs in Springdoc. For example, we might have the following Springdoc configuration: springdoc.swagger-ui.urls[0].url=${springdoc.swagger-...
Score of 0
0 answers
142 views

When a Spring Boot application using springdoc-openapi-{common, ui, web-code, ...}:1.6.13 starts, it invokes the SwaggerWelcomeWebMvc class and later AbstractSwaggerWelcome, where ...
Score of 6
1 answer
1928 views

I am setting up OpenAPI doc in spring-boot on one of my projects. Every time I try to run my project with the following dependency: <dependency> <groupId>org.springdoc</groupId> ...
Score of 0
0 answers
95 views

I have created a very simple demo project with one controller endpoint: Spring Boot 3.5.6 Springdoc 2.8.13 This was working much better in Spring Boot 2.7.x Full project here: https://github.com/...
Score of 1
1 answer
88 views

I am using springdoc 2.8.13 with Spring Boot and QueryDSL. Here’s a controller endpoint that accepts a QueryDSL predicate: @GetMapping("/users") public ResponseEntity<?> users( @...
Score of 1
3 answers
710 views

I have a Spring Boot application where I use OpenAPI to document my API's. Everything works as expected except I'm not able to configure a custom info object of the v3/api-docs. This is my code: ...
Score of 0
0 answers
70 views

This is my controller package example.infra.adapters.input.api.v1.endpoints import example.aplication.services.authentication.LoginAuthenticator import example.aplication.dtos.authentication....
Score of 1
1 answer
120 views

Let's consider that I have a stateless service with an authentication mechanism that makes the browser automatically send the credentials which then makes even a stateless service vulnerable. I want ...
Score of 0
1 answer
121 views

I am trying to integrate SpringDoc in my Spring MVC application (non SpringBoot), but every time I try to access the UI, its loading petstore swagger UI. I am using Spring webmvc 5.3.39 version and ...
Score of 1
0 answers
115 views

I have a situation where I would like to not see a HTTP method parameter in the Swagger UI documentation, but still have it generated in my method signature by OpenAPI Java client generation. I tried ...

15 30 50 per page
1
2 3 4 5
36