Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
65 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
91 views

I am running org.openrewrite.java.spring.boot3.SpringBoot33BestPractices recipe of OpenRewrite on a Spring Boot v3.3.8 project that uses SpringDoc Api v2.6.0. OpenRewrite is upgrading correctly the ...
Jesus Eiroa's user avatar
0 votes
1 answer
49 views

Can I describe schema attributes somehow, similar to how I can describe request parameters? In my case, I want to tell the clients that identifier means either a username, email, or phone. Obviously, ...
Sergey Zolotarev's user avatar
1 vote
1 answer
116 views

It's extremely weird. I made no changes at all, and now suddenly spring-doc Swagger UI doesn't work. First, I had this error. Then, after updating the version of the artifact from 2.6.0 to 2.8.8, I ...
Sergey Zolotarev's user avatar
0 votes
1 answer
46 views

We have an old service that used to run on an older spring-boot version and springfox-swagger-ui. Everything worked fine there. Since we've upgraded to spring-boot 2.7 and springdoc-openapi-ui 1.8.0, ...
UncleBob's user avatar
  • 1,403
0 votes
0 answers
12 views

I have started using springdoc in java. Everything works as expected but if i load the the webpage on mobile it is not compatible. The proportions do not look correct. I have investigated the ...
Roomber de Ruiter's user avatar
0 votes
0 answers
273 views

I’m facing an issue with Springdoc in my Spring Boot app and could use some help. Here’s the situation: When I use Springdoc version 2.5.0, everything works fine until I add a @ControllerAdvice to my ...
Mohamed Tarek's user avatar
0 votes
0 answers
56 views

I am trying to run openapi springdoc for my application for which I am using <groupId>org.springdoc</groupId>` <artifactId>springdoc-openapi-maven-plugin</artifactId>` <...
samk5049's user avatar
0 votes
1 answer
158 views

Tried a few suggestions in existing stackoverflow discussions but I can't even get the html page to serve, and almost all information on the web uses Spring Boot instead, does anyone have an article, ...
Overdrowsed's user avatar
0 votes
0 answers
89 views

I am using SpringDoc, version <= 2.6.0 with Spring Boot 3.x and getting following error while accessing http://localhost:8080/v3/api-docs There was an unexpected error (type=Internal Server Error, ...
alamnr's user avatar
  • 41
0 votes
1 answer
277 views

Having about 6 Spring Boot applications with REST APIs running with Actuator and Prometheus support. These are running on Docker, but the actuator port is not exposed. Although we can connect each ...
DJViking's user avatar
  • 911
0 votes
1 answer
1k 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
  • 337
0 votes
0 answers
20 views

Having moved to springdoc openapi, the generated UI was very much different and not as comfortable. I'm currently working with a base.yml that creates several tags without their operations. Base.yml ...
StarCharm's user avatar
3 votes
0 answers
44 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
1 answer
579 views

I'm using SpringBoot 3.4.1, Java 21 and I'm trying to generate Spring server classes (Api plus Model). I have this maven config on the generator project module: <dependency> <groupId>...
CoderJammer's user avatar
1 vote
1 answer
250 views

I am using springdoc UI to generate the documentation of my Java API and want to disable the try it out button (which should actually be the default behavior according to the docs) I have tried both: ...
Cami's user avatar
  • 15
0 votes
0 answers
43 views

Recursively defined collection fields are omitted in superclass generated api doc. i think similar to this issue 'https://github.com/springdoc/springdoc-openapi/issues/1158'. Here is my code. @Data ...
kay's user avatar
  • 5
0 votes
1 answer
192 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
  • 465
0 votes
0 answers
94 views

I'm migrating a springboot 2.7.18 application from springfox-swagger to springdoc-openapi. Did configuration and added properties etc., but getting the below in catalina logs when trying to access /...
Sai Kiran Parnandi's user avatar
43 votes
2 answers
22k 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,290
0 votes
0 answers
77 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
1 answer
202 views

I have trouble creating Swagger/Open API endpoints for my app. There was a previous app where such an endpoint was created automatically. I want to avoid explicitly declaring an OpenAPI bean. My ...
Cagepi's user avatar
  • 329
1 vote
2 answers
259 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
0 votes
0 answers
791 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
  • 13.9k
0 votes
1 answer
80 views

We recently migrated our application from Spring Boot 2.x to Spring Boot 3.x and replaced springdoc-openapi-ui dependency with springdoc-openapi-starter-webmvc-ui. After this migration, Swagger UI for ...
Salman Raza's user avatar
1 vote
0 answers
78 views

My project dependencies are here <log4j.version>1.2.17</log4j.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler....
Fatih Enes's user avatar
2 votes
3 answers
3k views

Unable to load swagger UI and getting the below error after upgrading to spring boot 3.2.10 and springdoc-openapi-starter-webflux-ui 2.2.0 : org.springframework.web.servlet.resource....
Amulya M's user avatar
  • 109
0 votes
1 answer
488 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
0 votes
1 answer
362 views

Given the following OpenAPI YAML extract ... openapi: 3.0.3 info: title: Customer API description: | Through this API, the platform can communicate with the application which manages customer ...
Erwin Dupont's user avatar
0 votes
1 answer
113 views

Our application use microservice architecture and we use Java/Spring for the implementation. Recently we started the integration with other systems. The requirement is to provide an OpenAPI ...
zashto's user avatar
  • 11
0 votes
0 answers
55 views

I have the below pom.xml with spring-boot-3.2.0 and spring-doc open-api-2.6.0. The dependency is not getting resolved from maven central. Is there something that I am missing here? <parent> ...
zilcuanu's user avatar
  • 3,755
1 vote
0 answers
936 views

`We tried to upgrade our openapi version from 3.0.3 to 3.1.0. But we faced issues that swagger ui does not render query parameters as object style. We use: <java.version>17</java.version> ...
csk's user avatar
  • 11
0 votes
0 answers
126 views

I am working on a Spring project 5.3 version (not spring boot) with Java 11 and I tried to include springdoc-openapi-ui dependency and created an OpenApiConfig class and this project uses spring ...
TeePee's user avatar
  • 3
0 votes
0 answers
138 views

I am upgrading spring boot version 2.x to 3.x with Java 17. The swagger OpenApi that is generated is unusable as follows: <!-- HTML for static distribution bundle build --> <!DOCTYPE html> ...
Kanchan's user avatar
1 vote
1 answer
867 views

I'm trying to use springdoc-openapi-gradle-plugin to generate OpenAPI documentation on my Spring Boot app. However it does not seem to work. I've added to application-test.yml: (...) oauth: ...
ashmedai82's user avatar
1 vote
0 answers
781 views

I'm using spring boot 3.2.5 with org.springdoc:springdoc-openapi-starter-webflux-ui:2.5.0 to power a simple API based on the OpenAPI spec. My API is running fine (at /api/v1/mystuff), but when I try ...
mdarwin's user avatar
  • 2,524
0 votes
2 answers
463 views

we have a setup where we have deployed springdoc-openapi-starter-webmvc-ui with Spring Boot 3.1.5. The spring boot server is running on port 8080. We have setup nginx so that all requests that start ...
morpheus's user avatar
  • 20.7k
0 votes
1 answer
489 views

I am migrating my project from swagger to springdoc openapi and seeing the following error when I use swagger-ui/index.html endpoint: My POM file: <dependency> <groupId>org....
user24621205's user avatar
0 votes
1 answer
689 views

I have a Spring Boot application with configured OpenAPI and able to show the Swagger UI. I see all the endpoints with all the supported HTTP verbs in that UI and many of those endpoints have example ...
Thorsten Schöning's user avatar
0 votes
0 answers
494 views

I am generating openAPI schema but it is not generating securitySchemes eventhough I added relevent code in my spring boot application. As you can see below, the JSON section under compoments is not ...
Gopikrishna X Gopalakrishnan's user avatar
2 votes
0 answers
854 views

Recently, I have upgraded my application from Spring 5 to Spring 6. I am not using Spring Boot in my application due to legacy issues. For API documentation, I was using SpringFox earlier but after ...
Rushabh's user avatar
  • 31
1 vote
2 answers
1k views

I'm trying to get swagger to run in my spring boot project. I'm currently using the spring verion 3.1.9. I looked up so many guides that told me to just add implementation "org.springdoc:...
Koch's user avatar
  • 13
2 votes
1 answer
1k views

Is there a possibility to mark specific enum values as deprecated in OpenAPI defintion? For example, how can I mark Value1 as deprecated? type: string title: CustomEnum enum: - Value1 - Value2
rento's user avatar
  • 124
0 votes
2 answers
5k views

I have a very basic Spring Boot 3 service with OpenAPI documentation using Spring Initializr. plugins { java id("org.springframework.boot") version "3.2.4" id("io.spring....
Mac's user avatar
  • 115
0 votes
1 answer
1k views

So this issue has been discussed several times, but none of the fixes suggested in these work for me: Spring Boot 3 springdoc-openapi-ui doesn't work Spring Boot 3.0.0 and Springdoc incompatible? ...
Furious Gamer's user avatar
2 votes
1 answer
79 views

I wanted to know if SpringDoc is compatibile with AWS Lambda. I tried multiple versions when hosting springdoc to AWS but what I get is 404 not found, when on localhost works perfectly. PS: I need ...
Dragos Laic's user avatar
2 votes
1 answer
497 views

I am using open api with spring boot application. Recently the application was upgraded to use java 17 from java 11 and since then the api stopped working. I upgraded it to open api 3 following ...
MBD's user avatar
  • 136
5 votes
4 answers
26k views

I am working on a Spring Boot project which has Rest APIs. It's a backend project. I am configuring OpenAP I3.0 as per the documentation here https://springdoc.org/#Introduction I have included this ...
Anam Qureshi's user avatar
0 votes
1 answer
288 views

I am using Spring Boot 3 with the following OpenApi dependencies: <version.springdoc.openapi>2.1.0</version.springdoc.openapi> <dependency> <groupId>org.springdoc</...
Clancinio's user avatar
  • 914
1 vote
0 answers
491 views

To play around with Spring Boot Reactive and functional programming, I've made a working example application. I've added the OpenApi library and made my own custom yaml file for API definition in ...
Praveen Dhasarathan's user avatar

1
2 3 4 5
8