-
-
Notifications
You must be signed in to change notification settings - Fork 568
Closed
Closed
Copy link
Labels
invalidThis doesn't seem rightThis doesn't seem right
Description
Describe the bug
- With Cache enabled, when requesting a group and the controller has multiple path definitions, Springdoc will always return the first group it generated, no matter the amount of groups.
To Reproduce
Steps to reproduce the behavior:
- What version of spring-boot you are using? : 3.4.3
- What modules and versions of springdoc-openapi are you using?: 2.8.5
- What is the actual and the expected result using OpenAPI Description (yml or json)? When requesting multiple groups, it should always return the expected group
- Provide with a sample code (HelloController) or Test that reproduces the problem: here
Expected behavior
- A clear and concise description of what you expected to happen.
- What is the expected result using OpenAPI Description (yml or json)?
In the project I shared, whenever you request any of the api groups (v1, v2 or v3), it will always return the one it generated first (if, for example, you kill the app and reload with the path requesting v2, it will return v2 for all groups. This uses the default /swagger-ui/index.html.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
I know of the other bug reports for this. I don't know if they're the same issue.
Metadata
Metadata
Assignees
Labels
invalidThis doesn't seem rightThis doesn't seem right