All Questions
Tagged with springdoc-openapi-ui spring-mvc
15 questions
0
votes
1
answer
51
views
Set up OpenAPI (Swagger) UI 3 in Spring Framework 6
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, ...
0
votes
1
answer
364
views
Spring Doc 2.2.0 and WebMvcConfigurer issues with timestamps and rendering UI
Spring Boot 3.0.4
Spring Doc 2.2.0
I am having issues rendering OffsetDateTime "eventStart": 1647302400.000000000
To solve this I implemented:
@Configuration
@EnableWebMvc
public class ...
3
votes
2
answers
1k
views
Springdoc doesn't work WebMvcConfigurationSupport
I am working on old legacy project where spring boot was configured using WebMvcConfigurationSupport and now need to set up swagger ui using spring doc. Unfortunately it's not working properly when @...
2
votes
0
answers
1k
views
Springdoc OpenAPI 3.0 Swagger - GroupedOpenApi not working in Spring MVC
I'm using springdoc-openapi-ui 1.6.14
I have following class
@Configuration
public class GroupsConfig {
private final PropertyResolver propertyResolver;
public GroupsConfig(PropertyResolver ...
0
votes
1
answer
513
views
error occured during integration of openapi-ui on spring-web mvc project
I have a spring web mvc project with gradle build tools. It is running perfectly fine. but I want to use swagger to generate open api documentation for it. So , I have used
implementation 'org....
0
votes
0
answers
436
views
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 ...
0
votes
1
answer
3k
views
springfox to springdoc-openapi-ui migration
I have a spring mvc I am migrating from springfox to springdoc swagger
I have followed the steps mentioned in this link, but when I try to access the swagger page, it gives me below error
no mapping ...
1
vote
1
answer
2k
views
how upgrade swagger2 to swagger3 in plain spring project
In our spring-webmvc project we are using the following code to configure swagger2, now we want to upgrade to swagger3, so we added springdoc-openapi-ui in pom file, what changes we need to make in ...
1
vote
0
answers
797
views
Unable to open swagger-ui.html using springdoc-openapi-ui
I am using (Spring MVC 4.3.11.RELEASE), (spring-boot, spring-boot-autoconfigure 1.5.7.RELEASE).
In which trying to integrate springdoc-openapi-ui 1.5.9
On the API-JSON DOC it is returning a proper ...
2
votes
2
answers
2k
views
Understand and configure Spring JSON marshalling configuration of String responses
For a Spring MVC project (not Spring Boot) I'm configuring the JSON converter to customise JSON responses of all REST endpoints i.e. removing null fields and setting a date format. After introducing ...
1
vote
1
answer
4k
views
Swagger url is not working after migration from springfox swagger to openAPI
I am having springfox swagger2 where http://localhost:8080/context/swagger-ui.html works fine.
Now I have modified all the changes to make it open-api runnable.
Using : Migrating from springfox ...
3
votes
1
answer
2k
views
Configure Open API 3 on a Spring project (not Spring Boot)
After following @Zagrebin-Victor advice, I have a Spring MVC project running OpenAPI 3 (springdoc-openapi-1.5.3)
Following this FAQ I defined this on a property file:
springdoc.swagger-ui.disable-...
1
vote
1
answer
2k
views
Use springdoc in Spring MVC project with custom message converters
Adding springdoc to an existing Spring MVC REST API project causes problems with custom message converters. The project configures custom message converters to set the date output to a specific format ...
12
votes
3
answers
32k
views
Swagger OpenAPI 3.0 - Springdoc - GroupedOpenApi not working in Spring MVC
My Application is Sping MVC not boot.
I'm using springdoc-openapi-ui 1.4.4
also, I added the following imports to one of my @configuration class;
org.springdoc.core.SpringDocConfigProperties.class,...
0
votes
1
answer
2k
views
How to describe Schema of my object by Open Api 3.0 with @annotation?
Is it ok to use annotation for this? I don't understand how to use Yaml.
Example:
@Operation(summary = "Get page of top by rating articles by title")
@ApiResponses(value = {
@...