Skip to content

springdoc.model-and-view-allowed #1892

Closed
@jlafuenteriberaLM

Description

@jlafuenteriberaLM

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    incompleteincomplete description: Make sure you Provide a Minimal, Reproducible Example - with HelloController

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions