Questions tagged [springdoc-openapi-ui]

365 questions
0
votes
0 answers

Using springdoc-openapi in combination with openapi-generator-maven-plugin

Our REST API is documented using OpenAPI V3. Documentation annotations are used in the controllers which generate an OpenAPI specification which is displayed using a Swagger UI page. Recently we switched to developing endpoints by writing the…
0
votes
2 answers

Upgrading to Springboot 3: 'org.springframework.hateoas.server.LinkRelationProvider' that could not be found

I am upgrading my springboot app from 2.7.x to 3.0.0, I have made required changes for jakartaEE. When starting my app I am getting the below…
0
votes
1 answer

Swagger UI getting 403 (openapi v3)

I'm using springdoc-openapi-ui for API documentation org.springdoc springdoc-openapi-ui 1.6.14 And, following Spring Boot security config. . . public…
0
votes
1 answer

Swagger springdoc-openapi-ui doesn't work when SpringBoot run in JAR

Swagger-UI works generally fine when I run SpringBoot application directly in the IDE (by clicking run on main class) or via maven spring-boot:run plugin. Anyway it's broken when I run SpringBoot as JAR file trough java -jar command in CLI. How the…
HakerMSL
  • 91
  • 9
0
votes
1 answer

Can't open OpenApi (Swagger) page

Gradle: implementation group: 'org.springdoc', name: 'springdoc-openapi-ui', version: '1.6.13' implementation group: 'io.swagger.core.v3', name: 'swagger-annotations', version: '2.2.7' …
стасевич
  • 298
  • 2
  • 10
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

Can we specify package structure relative to the generated directory in swagger?

Currently the issue is we have to generate two openapi specs A and B both of which use the some common models defined in package C. Package A and B contain some objects with the same name for e.g. 'GetQuestionDetails' but the definition of this…
0
votes
0 answers

spring-doc open api integration on spring web mvc problem

I am working on a production application built with spring core, spring Web-mvc, spring security. It is running fine. But I want to implement spring doc Open-Api. So I am using first solution of this stackoverflow question. i have made following…
0
votes
1 answer

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.springdoc:springdoc-openapi-ui:1.5.2'. But as soon i add…
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.
0
votes
1 answer

/swagger-ui.html is not working, it is showing 404 error

While configuring openapi 3 for Spring Boot application, the "/swagger-ui.html" endpoint is not working, it is showing 404 error. Here is the pom.xml file.
0
votes
0 answers

Path List of parameters in request in Springdoc-openapi-ui

I try to path List of parameters in request. My controller use @RequestParam: @RequestParam(name = "extraRow", required = false) List params, But in generated url request I…
Axel HK
  • 75
  • 2
  • 8
0
votes
0 answers

Spring doc openapi oauth2 resource server not working

Although I have successfully authorize but when I get api 401 is there any way to fix it. Authorize swagger Execute api swageer Swagger config application.yml springdoc: version: 'v1.0' swagger-ui: oauth: …
0
votes
0 answers

OpenAPI 1.6.11 Swagger UI showing PetStore by default if SerializationFeature.WRAP_ROOT_VALUE is enabled in jackson-databind ObjectMapper

I am using OpenAPI 1.6.11 (1.6.12 the latest one works also) with Spring Boot 2.3.3.RELEASE. I have defined ObjectMapper like below: @Configuration public class CombinedApiConfiguration { @Bean @Primary public ObjectMapper objectMapper() { …
Sikandar Sahab
  • 638
  • 3
  • 10
  • 27
0
votes
1 answer

OpenApi 3.0 shows all af the HTTP methods

My OpenApi gone crazy... i created 2 simple rest APIs @RequestMapping("/inWithHibernate") @PutMapping public void inDbMobile() { hibernateInsert.inDB(); } @RequestMapping("/outWithHibernate") @GetMapping public…
Jatel
  • 40
  • 8