79405002

Date: 2025-02-01 12:50:43
Score: 1
Natty:
Report link

In my case, after going through the solution provided in https://stackoverflow.com/a/78723412/29458628 ; i was able to access swagger and /v3/api-docs with urls - http://localhost:8080/swagger-ui/index.html and http://localhost:8080/v3/api-docs

I use Springboot 3.3.8 / java 17

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-validation</artifactId>
        </dependency>
        
        <dependency>
            <groupId>org.springdoc</groupId>
            <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
            <version>2.6.0</version>
        </dependency>
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: satish