Minimal project with use-management-port
set causes NPE on api-docs endpoint
#996
Labels
bug
Something isn't working
Describe the bug
In a minimal example, use-management-port is generating NPEs when accessing v3/api-docs.
This appears to be because the ActuatorProvider is trying to access a port from a null
applicationWebServer
. However the previous call's if statement in AbstractOpenApiResource might also be taking the wrong path. It could also be that my example is too minimal and I am missing some configuration.To Reproduce
What version of spring-boot you are using?
What modules and versions of springdoc-openapi are you using?
Expected behavior
The text was updated successfully, but these errors were encountered: