Questions tagged [springdoc]

The springdoc-openapi Java library helps automating the generation of API documentation using Spring Boot projects. springdoc-openapi works by examining an application at runtime to infer API semantics based on Spring configurations, class structure and various annotations.

The springdoc library automatically generates documentation in JSON/YAML and HTML formatted pages. The generated documentation can be complemented using swagger-annotations.

Useful links:

471 questions
0
votes
1 answer

Why predicate field in RouterFunctions.DefaultRouterFunction class gets DefaultErrorWebExceptionHandler?

I am using 'org.springdoc:springdoc-openapi-webflux-ui:1.2.28' library to show swagger UI API documentation in my spring-boot app. http://localhost:8080/swagger-ui.html does not work, it returns: Whitelabel Error Page This application has no…
Seydazimov Nurbol
  • 1,404
  • 3
  • 10
  • 25
0
votes
1 answer

Default value for accept header using springdoc-openapi

I'm using springdoc-openapi library for auto generation and rendering of swagger-ui. I need to add default value for accept header. How to do this? springfox allows to do this using defaultValue function of ParameterBuilder. Attaching the…
Mugdha
  • 171
  • 2
  • 10
-1
votes
0 answers

Springdoc open api v3 specification issue

The response is not valid : The body of the received response is not valid against the schema constraining it in the OpenAPI definition of the API : path / value is not a string, got map[string]interface {} 'map[error:Bad Request path:/device…
Naveen
  • 1
  • 1
-1
votes
1 answer

How to make QueryDSL Springdoc predicates work in Springboot 3 as it did in Springboot 2?

I utilized Springdocs 1 in Springboot 2 to generate my Swagger documentation. In addition, I employed the springdoc-openapi-data-rest library to generate the additional parameters necessary for @QuerydslPredicate instead of using the predicate…
rjdkolb
  • 10,377
  • 11
  • 69
  • 89
-1
votes
1 answer

Spring Boot 3 Swagger issue 403 with JWT with Springdoc OpenAPI

I have migrated to Spring Boot version 3 from 2.7 and Swagger UI stopped working. Below are the dependencies I have used: spring-boot-starter-parent - 3.0.0 springfox-boot-starter-3.0.0 springdoc-openapi-starter-webmvc-ui -…
-1
votes
1 answer

Customizing swagger static resources with Springdoc

According to the documentation (see the link below) the static resources can be customized with Java by extending SwaggerIndexPageTransformer and overriding the transform method. https://springdoc.org/#customizing-swagger-static-resources As I…
krillov
  • 79
  • 1
  • 14
1 2 3
31
32