Skip to content

Minimal Spring Boot Install and v2.8.13 is not working #3115

@harryjackson

Description

@harryjackson

Describe the bug

I created a minimal Spring Boot App using

https://start.spring.io/

Note, in the repo to follow Spring Boot does run and come up with a dummy controller added.

I added the following two dependencies.

implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.13")
implementation("org.springdoc:springdoc-openapi-starter-webmvc-api:2.8.13")

To Reproduce

Checkout this repo.

https://github.com/harryjackson/spring-boot-admin-springdoc-openapi

Steps to reproduce the behavior:

Run

./gradlew bootRun

wget http://localhost:8080/v3/api-docs

and you will get a 404

  • What version of spring-boot you are using?

3.5.7
Java 25

  • What modules and versions of springdoc-openapi are you using?

See the gradle.build.kts file in the repo

Expected behavior

Based on the docs I was reading here

https://springdoc.org/#getting-started

I was expecting results at the following URL

http://localhost:8080/v3/api-docs

Note. If springdoc detects that there's nothing to do I would have expected a warning in the logs but I don't see anything obvious.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions