Questions tagged [springdoc-openui]
43 questions
0
votes
1 answer
Configure Groups into springdoc openapi
I use this gradle dependency to configue springdoc-openapi:
implementation 'org.springdoc:springdoc-openapi-ui:1.7.0'
I added:
@Configuration
public class SwaggerConfiguration {
@Bean
public GroupedOpenApi publicApi() {
return…

Peter Penzov
- 1,126
- 134
- 430
- 808
0
votes
0 answers
Swagger (SpringDoc) UI requests throught gateway
It seems that when we use Swagger (SpringDoc) UI for the gateway, when a request is sent through it, the request is made directly to the service and not through the gateway. For example, in this example (linked from SpringDoc documentation), the…

Shayan
- 2,758
- 7
- 36
- 55
0
votes
1 answer
Springdoc openapi migration from springfox
I am working on the migration of swagger spring fox to spring doc open api. I followed below link.
https://deepak-shinde.medium.com/migrating-from-springfox-swagger-2-to-springdoc-openapi-3-79a79757b8d1
Below version used.
spring_boot_version= …

jslearner07
- 451
- 1
- 4
- 17
0
votes
0 answers
Not able to implement swagger-ui in spring-mvc project
I want to implement swagger-UI on my spring web-mvc project. I have tried at least 10+ tutorials from internet. But none works on my project.
In the end I am trying this solution: see this stackoverflow solution.

Upendra Kumar
- 1
- 3
0
votes
1 answer
springdoc-openapi how to display an list of object class as a response?
using the springdocs-openapi library (1.6.8).I'm looking to get the following output:
{
"result":200,
"data":{
"raoGroup":[
{
"name":"S/MIME RA Operator"
}
]
},
"resultMessage":"操作成功"
}
It's…

Mr.Kao
- 111
- 2
- 9
0
votes
1 answer
Specifying maxItems for a List> using spring swagger.v3 ArraySchema annotation
We are facing an issue where we are unable to use any variant of @ArraySchema to specify the limit of maxItems for the properties such as -
List
- > test;
List
- >>> listOfTest;
JSON Validation error:
Semantic error at…

KeshavBoh
- 1
- 1
0
votes
0 answers
Why is my Springboot Springdoc /swagger-ui.html endpoint returning 404 when I include large resource files & build/run the JAR file?
Why is SpringDoc swagger-ui.html returning 404 / Whitelabel Error Page when large resource files are present (eg 7 files of ~380Mb each)? This is occuring after building and running the JAR file. The endpoint works fine when the project is run…

Anthony Nicholas
- 1
- 1
0
votes
1 answer
springdoc / Swagger UI not passing OAuth2 token to API
I am using springdoc (v1.5.9) to generate Swagger definitions for an API. After authenticating inside the Swagger UI and executing a secured method, the http request received by the Spring Boot app has no Authentication header. I have confirmed…

Timothy Vogel
- 1,363
- 2
- 21
- 39
0
votes
1 answer
SpringDoc OpenAPI swagger MergeAnnotations error
I am trying to configure OpenAPI with swagger to my existing non-spring boot application.
Spring v.5.1.8.RELEASE
SpringDoc v.1.4.6
Spring-boot v.2.3.2.RELEASE
Open doc and swagger with spring mv
My application is not spring boot enable that’s why I…

d-man
- 57,473
- 85
- 212
- 296
0
votes
1 answer
How to integrate Swagger with SpringDoc YAML?
I'm using Swagger to document my project.And I want generate the YAML doc from springdoc. But when I generate this YAML documentation the YAML dont have my Swagger doc coments. For example. I have one endpoint in my project:
@ApiOperation(value =…

lucas.iter
- 47
- 3
0
votes
1 answer
SpringDoc app-doc.yaml don't show the swagger doc
I have a API with swagger. Endpoint example:
@ApiOperation(value = "Returns a list of Pix transactions.",httpMethod = "POST",response = DResponse.class)
@PostMapping("/transactions")
public ResponseEntity getTransactions(@RequestBody…

lucas.iter
- 47
- 3
0
votes
1 answer
Unable to access spring-docs-open-ui swagger documentation
I am a spring newbie trying to configure swagger documentation for my spring boot application. I configured my application based on the documentation provided here
I am able to access the documentation page locally from this…

codejunkie
- 908
- 2
- 21
- 34
0
votes
1 answer
Keep same URL but contract changes in Spring Boot REST Open API 3?
I am using Spring Boot and REST and Open API 3 implementation. In this example, v1 Group has List implementation - all data will get in List, in v2 Group has pagination implementation - all data will come in the form of pages.
For the consumer, we…

PAA
- 1
- 46
- 174
- 282