Questions tagged [springdoc-openapi-ui]
365 questions
0
votes
1 answer
springdoc-openapi swagger don't make calls with parameters
I have deleted an old swagger in a project and added springdoc-openapi, following the official documentation.
I should have done something wrong, but I don't know what. Somehow when I try to execute a call, the parameters don't get replaced in the…

Guillermo Siles Bonilla
- 61
- 10
0
votes
1 answer
springdoc openapi nested endpoints not being picked up
I'm using springdoc-openapi 1.6.11 and I'm finding that nested endpoints in my Controllers are not being picked up in the Swagger docs.
For example, the controller is annotated with@RequestMapping("/a/patient").
Then I'll have a method inside the…

Kash.
- 242
- 1
- 3
- 15
0
votes
0 answers
It is possible to define url for each Group - OpenAPI Java
I have to open an endpoint for external use by a client, and I have to create documentation for it, but when creating the group in openApi, I can't find a way to restrict the client so that it doesn't see the internal endpoints.
The client should…

Natan Medeiros
- 1
- 1
0
votes
1 answer
403 Forbidden for OpenApiSwagger in Spring Boot Security
I have Spring Boot application with Spring Security. After configure configuration-class localhost-Swagger return 403 Forbidden. I can't figure out what could be the problem.
http://localhost:8080/swagger-ui.html#/ - 403…

Artur Vartanyan
- 589
- 3
- 10
- 35
0
votes
0 answers
springdoc-openapi-ui swagger 3 swagger-ui.html is throwing 302 and redirecting to some other page that doesn't exist
We migrated springfox to springdoc-openapi-ui and changed the configuration as mentioned in the documention.
Documentation - Springfox to openAPI and swagger ui is served behind a proxy. For that added ForwardedHeaderFilter in the bean…

Anil Nivargi
- 1,473
- 3
- 27
- 34
0
votes
1 answer
springdoc-openapi-ui(Swagger UI) is appending :80 port to the base URL
I have a spring boot application running on the spring-boot-starter-parent:2.6.1 version and springdoc-openapi-ui:1.2.32. Swagger is working fine locally. The problem comes when I deploy the app inside Kubernetes cluster. That time spring doc open…

Harshit Gupta
- 106
- 4
- 16
0
votes
1 answer
How to skip @DateTimeFormat annotation in open-api-generator plugin
I am trying to generate interface from yaml file using open api generator plugin. However while generating the interface an additional annotation @DateTimeFormatter is getting added for date field. Can someone help how to skip adding this…

user3212324
- 163
- 1
- 6
- 23
0
votes
1 answer
SpringOpenApi Swagger UI not found in Kubernetes, but work very much fine in local
Technical Stack,
Springboot 2.6.7,
java 8 or 11
Springopenapi 1.6.9
Swagger properties
springdoc:
api-docs:
enabled: true
path: /api-docs
swagger-ui:
enabled: true
display-Request-duration: true
path:…

Venkat Bontha
- 3
- 3
0
votes
1 answer
Swagger UI partial loading issue in Spring Web flux
We are facing one issue in loading swagger ui. Out project is built on spring web flux and integrated with springdoc-openapi-webflux-ui. Whenever we try to load the swagger url, spring web flux returns partial js and css response(swagger-ui.css,…

user2390827
- 115
- 2
- 7
- 15
0
votes
0 answers
why the openapi official config could not find symbol when compile
I am using open api to generate the swagger docs, I follow the official documents to config like this:
package misc.config.openapi;
import org.springdoc.core.GroupedOpenApi;
import org.springframework.context.annotation.Bean;
import…

Dolphin
- 29,069
- 61
- 260
- 539
0
votes
1 answer
How to remove generated suffix generated by Open API and Json View?
Good day to you all!
I have a DTO class that has the information of an entity. I am using spring-docs-openapi-ui 1.4.8 to document the project. I am using JsonViews in order to show specific attributes of my class given the type of operation, if the…
0
votes
1 answer
Replace SpringFox @Api tag with SpringDoc tag
I have this SpringFox @Api tag:
@Api(hidden = true)
I tried to replace it with:
@Tag(hidden = true)
But where is not option hidded=true
What is the proper way to replace this?

Peter Penzov
- 1,126
- 134
- 430
- 808
0
votes
1 answer
Getting 405 error in OpenAPI swagger page if I put only path variable attributes in a Rest Controller
I am trying to create Swagger documentation using OpenAPI 3.0. I am using spring-boot-starter 1.5.4.RELEASE and springdoc-openapi-ui version 1.4.2
org.springframework.boot
…

Suswan Mondal
- 1
- 1
0
votes
0 answers
Couldn't configure swagger-ui in my springboot project using spring-doc
I am trying to implement swagger-ui using spring-docs but after i add the dependencies i am getting this error
and my ponm.xml file
org.springframework.boot
…

Mohammed Yasir
- 11
- 1
- 2
0
votes
1 answer
How to configure Swagger with Openapi
I just started using springdoc-openapi. I want to be able to customize the Swagger for things like background color, logo, etc. Is there a way to do that? I see that springdoc-openapi-ui includes webjars/swagger-ui, but I'd hate to just run a…

Peter Kronenberg
- 878
- 10
- 32