Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
91 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 ...
András Ballai's user avatar
0 votes
1 answer
62 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 ...
Walter Butze's user avatar
0 votes
2 answers
94 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 ...
Thomas's user avatar
  • 177
2 votes
1 answer
56 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-...
Walter Butze's user avatar
0 votes
0 answers
119 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 ...
Walter Butze's user avatar
5 votes
1 answer
1k 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> ...
Horacio García Magallanes's user avatar
0 votes
0 answers
90 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/...
Aslak's user avatar
  • 139
1 vote
1 answer
67 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( @...
Nicklas's user avatar
  • 111
1 vote
3 answers
526 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: ...
Tim's user avatar
  • 449
0 votes
0 answers
61 views

This is my controller package example.infra.adapters.input.api.v1.endpoints import example.aplication.services.authentication.LoginAuthenticator import example.aplication.dtos.authentication....
David P's user avatar
1 vote
1 answer
97 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 ...
Display name's user avatar
0 votes
1 answer
99 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 ...
Pratibha Tiwari's user avatar
1 vote
0 answers
84 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 ...
Tommy Riviere's user avatar
1 vote
0 answers
94 views

Using Spring Boot (3.5.0) with springdoc (2.8.9) I noticed something unexpected when specifying produces at both the class and method levels in a @RestController. According to the Javadoc for org....
Nicklas's user avatar
  • 111
3 votes
0 answers
50 views

I have a polymorphic request type, CreateRequest: @JsonTypeInfo( use = JsonTypeInfo.Id.CUSTOM, include = JsonTypeInfo.As.PROPERTY, property = "@type") @...
Ben R.'s user avatar
  • 1,989
1 vote
1 answer
42 views

I want to checkout and test a development branch from this project: https://github.com/springdoc/springdoc-openapi/pull/3007 I tried: git checkout mschout:spring-boot-3.5-support error: pathspec '...
Peter Penzov's user avatar
  • 1,228
0 votes
1 answer
127 views

Suppose my Swagger-enabled endpoint receives lots of request parameters. I don't want to list all of them one by one. Instead, I want to group them somehow. Preferably, as a DTO: if I declare a Map, ...
Sergey Zolotarev's user avatar
1 vote
1 answer
409 views

To start with, here are the relevant dependencies in my build.gradle: implementation("org.springframework.boot:spring-boot-starter-web:2.7.18") implementation("org.springdoc:...
Ben R.'s user avatar
  • 1,989
2 votes
2 answers
2k views

I'm currently facing an issue while integrating Swagger UI with Spring Boot security in my project. Everything builds fine, but when I try to load Swagger UI (at /swagger-ui.html or /api-docs), I keep ...
Amitosh Biswas's user avatar
-1 votes
1 answer
356 views

My company have an app that uses Spring Boot 3.3 and can't be updated to 3.4. I had to change the version of org.webjars:swagger-ui to 5.20.7, but I can't access the swagger anymore. The error is: No ...
Marco Sulla's user avatar
0 votes
1 answer
153 views

Spring Data REST allows for simple boilerplate creation of CRUD REST controllers. When integrated with QueryDSL, HTTP query parameters can be bound to QueryDSL paths to filter the collection resource. ...
Ben's user avatar
  • 29
0 votes
0 answers
58 views

I use this dependency to generate swagger-documentation for my java application. <dependency> <groupId>org.springdoc</groupId> <artifactId>...
Богдан Зотов's user avatar
0 votes
1 answer
379 views

I've been developing REST API endpoints with Spring Boot. Here's the controller class: @RestController @RequestMapping( path = "/api/products", produces = {MediaType....
Hiroki's user avatar
  • 4,282
0 votes
0 answers
47 views

I have a Spring Boot 3.3.1 application, with springdoc-openapi-starter-webmvc-ui 2.6.0. The swagger does not work anymore. It shows me the error Fetch error response status is 500 /v3/api-docs. In the ...
Marco Sulla's user avatar
1 vote
1 answer
2k views

After updating SpringDoc to version 2.8.0, my Spring Boot application fails to start with the following error: Caused by: java.lang.IllegalStateException: Failed to introspect Class [org.springdoc....
selllami's user avatar
  • 367
0 votes
1 answer
466 views

I'm facing an issue with my Spring Security and Springdoc OpenAPI configuration. When I configure anyRequest().authenticated(), I receive the following error message: Unable to render this definition ...
mrsharukh03's user avatar
0 votes
0 answers
87 views

Very similar questions are answered in other posts, but their fixes just don't seem to work for me and I hope it's due to the slight difference. I'm using springdoc-openapi-starter-webmvc-ui:2.5.0 The ...
Scala Enthusiast's user avatar
0 votes
0 answers
430 views

I'm using Spring boot 3.4.1 with Spring Data Rest. Now I implemented SpringDoc implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7.0' springdoc.api-docs.enabled=true springdoc.api-...
viglu's user avatar
  • 305
1 vote
1 answer
243 views

I have problems to configure properly swagger /springdoc with Spring 6 (not Spring Boot). I have my api exposed via /CONTEXT-PATH/api, I managed to have swagger-ui accessible at /CONTEXT-PATH/api/...
kchetoua's user avatar
0 votes
1 answer
3k views

I'm working on a Spring Boot application and trying to integrate Swagger UI using the springdoc-openapi-ui dependency. Here's my setup: Spring Boot version: 2.x.x / 3.x.x (3.4.1) springdoc-openapi-ui ...
GURU RAJ's user avatar
3 votes
0 answers
55 views

I am creating a demo applicaiton where I register my endpoints dynamically using an endpoint registrar based on controller beans I have instanciated. Thus there are no annotations for the spring-doc ...
Philip Nahmias's user avatar
0 votes
0 answers
458 views

I am trying to get the swagger api docs to show up on my springboot Java 21 application. I believe I have the correct setup: Gradle File : implementation group: 'org.springdoc', name: 'springdoc-...
Billtaz's user avatar
  • 105
0 votes
1 answer
1k views

I'm trying to start up a simple REST server (Spring Boot 3, Spring Web). I'm used to Maven, but this time I had to use Gradle. Never had business with it before. I may have messed up the setup. Once I ...
Cagepi's user avatar
  • 329
0 votes
1 answer
224 views

I'm on java 8, spring-boot 1.5.1 release and I've got the dependency <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> ...
IDK's user avatar
  • 475
0 votes
1 answer
596 views

I'm chasing an error 404 when trying to retrieve the api-docs from springdoc in an app that has a lot of moving parts. In order to debug the problem I built a simple springboot app that just has the ...
Todd347's user avatar
  • 83
-1 votes
1 answer
43 views

I use spring boot Theses 2 endpoints is in controller @RequestMapping(value = "/deposits") @GetMapping(params = "idDepositSignal") public ResponseEntity<Boolean> ...
robert trudel's user avatar
45 votes
2 answers
23k views

I've just upgraded springdoc from version 2.6.0 to 2.7.0 (nothing else was changed) and now I get a ClassNotFoundException: org.springframework.web.servlet.resource.LiteWebJarsResourceResolver I'm ...
morecore's user avatar
  • 2,370
0 votes
0 answers
84 views

I have setup a spring boot project using spring boot version 3.3.5 and added springdoc version 2.6.0, this project also includes spring security and my Security config is as follow: @Bean public ...
Habchi's user avatar
  • 1,971
0 votes
0 answers
904 views

I have an OpenAPI Description with the following structure: Schema1: type: object properties: timestamp: type: string format: date-time ...
ferenc's user avatar
  • 11
1 vote
2 answers
322 views

I'm launching my springboot webapp and navigating to localhost/api/myservice/swagger-ui/index.html, but getting a 401 Unauthorized. I've done all the usual things from now countless answers on SO, but ...
Emalee's user avatar
  • 23
1 vote
0 answers
920 views

I'm generating an OpenAPI spec using org.springdoc:openapi-gradle-plugin:1.9.0 and org.springdoc:springdoc-openapi-ui:1.8.0 in a project using Boot 2. All of the referenced schemas are defined at the ...
ch4mp's user avatar
  • 14k
1 vote
3 answers
2k views

Adding the dependency below gives access to the swagger ui. <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-starter-webmvc-ui</...
Music's user avatar
  • 33
0 votes
1 answer
483 views

I want to combine internal application's OpenAPI spec with external specs into one single Swagger UI in Spring Gateway application According to contributor of Springdoc library, it should be possible: ...
eek's user avatar
  • 47
1 vote
1 answer
539 views

I am working on a spring boot 3.1.4 (java 17) project with the following dependency: <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-...
nicolas's user avatar
  • 445
0 votes
1 answer
544 views

I have a Spring Boot 3.x application using Springdoc to generate Swagger and OpenAPI documentation. When I access /api-docs, it returns the schema in JSON format. To get the YAML format, I have to ...
Rubén Osmar Alvarado's user avatar
-2 votes
1 answer
2k views

I am using Spring MVC 5.3.23 (Not Spring Boot) + SpringDoc 1.8 If I access http://localhost:8080/swagger-ui.html It is redirected to http://localhost:8080/swagger-ui/index.html?configUrl=/v3/api-docs/...
Tommy's user avatar
  • 141
0 votes
2 answers
607 views

We have a Maven project with Spring Boot 2.7. We have several maven modules in the maven project, including two with MVC REST APIs, and one common. The two REST API modules build separate services ...
John Little's user avatar
  • 12.9k
2 votes
1 answer
470 views

I'm using Spring WebFlux with Springdoc OpenAPI and trying to document an API endpoint using @RouterOperation. My code looks like this: @RouterOperation( path = "/api/hello", operation = @...
Minh Trần's user avatar
0 votes
1 answer
285 views

I am using spring boot 3.3.2 with jersey (using jakarta.ws annotations). Dependencies: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-...
MarekChr's user avatar
  • 1,148
0 votes
0 answers
146 views

I have a simple spring boot app with below gradle file. Gradle version used is 7.6.x buildscript { ext { springBootPlugin = 'org.springframework.boot:spring-boot-gradle-plugin' ...
Abhilash's user avatar
  • 905

1
2 3 4 5
11