You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You use the removeIf method so the paths are removed.
The text was updated successfully, but these errors were encountered:
mathieu-amblard
changed the title
Missing paths after upgrading Spring Docs 1.5.13 to 1.6.0
Missing paths after upgrading from Spring Docs 1.5.13 to 1.6.0
Dec 14, 2021
bnasslahsen
changed the title
Missing paths after upgrading from Spring Docs 1.5.13 to 1.6.0
Related to show-actuator=true with no groups, Missing paths after upgrading from Spring Docs 1.5.13 to 1.6.0
Dec 14, 2021
Describe the bug
After upgrading from Spring Docs 1.5.13 to 1.6.0, we lost all paths of our application except the Actuator ones.
To Reproduce
Steps to reproduce the behavior:
We have also the following properties :
Expected behavior
We expect to get both, paths from actuator and and paths from our application.
Additional context
By modifying the actuator base path property as following it is working :
management.endpoints.web.base-path=/
But we cannot change it.
It seems, that this change cause the issue.
1.5.13 :
https://github.com/springdoc/springdoc-openapi/blob/v1.5.13/springdoc-openapi-common/src/main/java/org/springdoc/core/customizers/ActuatorOpenApiCustomizer.java#L38-L40
You use the
filter
method so the paths are kept.1.6.0 :
https://github.com/springdoc/springdoc-openapi/blob/master/springdoc-openapi-common/src/main/java/org/springdoc/core/customizers/ActuatorOpenApiCustomizer.java#L37-L39
You use the
removeIf
method so the paths are removed.The text was updated successfully, but these errors were encountered: