-
-
Notifications
You must be signed in to change notification settings - Fork 528
springdoc.model-and-view-allowed #1892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Not reproducible This ticket will be closed, and can be reopened if the relevant information are provided. |
Here is and example, SwaggerURL -> http://localhost:8080/hello/swagger-ui/index.html If started with this properties: springdoc.show-actuator=true Actuator endpoint and ModelAndView Enpoint are shown. (ModelAndView should not) If started with this properties: springdoc.show-actuator=false Actuator endpoint and ModelAndView Enpoint are not shown. |
This will be out of the box for the next release. |
Describe the bug
If property springdoc.show-actuator=true is set and springdoc.model-and-view-allowed=false, ModelAndVew Endpoints are still exposed in swagger.
If property springdoc.show-actuator=false is set and springdoc.model-and-view-allowed=false, ModelAndVew Endpoints are not exposed.
Expected behavior
ModelAndView endpoints should not appear even if springdoc.show-actuator=true.
The text was updated successfully, but these errors were encountered: