Skip to main content

All Questions

0 votes
0 answers
23 views

How to Upgrade openapi-generator-maven-plugin from 5.4.0. to 7.9.0

I'm currently using the openapi-generator-maven-plugin version 5.4.0, and I've customized it with my own POJOs, models, and a custom CustomOpenApiGenerator class. However, the generated classes still ...
Alexender's user avatar
0 votes
0 answers
137 views

Springdoc Swagger UI 404 Issue with Version 2.5.0 and 2.8.6

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
46 views

Spring Boot Maven Plugin does not pickup test properties or ansible properties for integration tests

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
47 views

Spring Boot: Combine multiple applications SwaggerUI?

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
  • 882
0 votes
1 answer
293 views

SpringDoc 2.8.0: Failed to introspect Class [SwaggerConfig] - IllegalStateException

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
1 answer
313 views

OpenApi maven-plugin-generator attributes error

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
150 views

Unable to disable POST methods in Springdoc swagger UI

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
79 views

Swagger UI giving 404 error with Springboot2

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
0 votes
0 answers
58 views

Open API definition empty with Sprint boot 3 and spring security

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
109 views

Springdoc with Boot 3, no explicit OpenAPI bean declaration

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
  • 319
0 votes
0 answers
156 views

How to add a logout button to Swagger UI in Springdoc OpenAPI?

I am using Springdoc OpenAPI with the following configuration in application.yml springdoc: version: '@springdoc.version@' cache: disabled: true swagger-ui: use-root-path: true api-...
Minh Trần's user avatar
1 vote
0 answers
233 views

Compatibility between Springboot 2.X and openapi-generator 7.2

Currently on a project where we work with Spring boot 2.5 and i wanna upgrade my openapi-generator from 5.3 to 7.2 i searched in mvn dependencies to look for compatibility between this version of my ...
rhoudri hamza's user avatar
0 votes
1 answer
324 views

Springdoc apidocs display yaml by default instead of json

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
188 views

OpenAPI Generator Maven Plugin: How to generate Tags and Servers from OpenAPI YAML into SpringDocConfiguration?

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
0 answers
45 views

I am getting crm id not found error when I hit the swagger url in spring boot 3.3.2 and java 21 application

I have migrated my service from java 8 to 21 and spring boot 2.0.4 release to 3.3.2, so at the same time migrated swagger to springdoc-openapi-starter-webmvc-ui but after migrating all this while ...
Jyoti Kolape's user avatar

15 30 50 per page
1
2 3 4 5
16