Skip to content

2.8.4 always shows PetStore documentation instead of the generated documentation in WebFlux application #2878

Closed
@kdebski85

Description

@kdebski85

Describe the bug

In Spring Boot 3.4.2 application with WebFlux, when springdoc-openapi-starter-webflux-ui is upgraded from 2.8.3 to 2.8.4, Swagger no longer shows generated documentation, but documentation for https://petstore.swagger.io/v2/swagger.json

There is also a warning:

o.s.w.r.resource.ResourceHandlerUtils    : Appended trailing slash to static resource location: classpath:/META-INF/resources/webjars/swagger-ui/5.18.2/

To Reproduce
Steps to reproduce the behavior:

Expected behavior

  • Swagger shows generated documentation - /v3/api-docs, not https://petstore.swagger.io/v2/swagger.json
  • no warning about classpath:/META-INF/resources/webjars/swagger-ui/5.18.2/

Screenshot

Image

Additional context
Maybe it is caused by #2862

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