Skip to content

assignableTypes attribute in @ControllerAdvice #588

Closed
@raghuraman1

Description

@raghuraman1

Hi,

In case assignableTypes is specified when creating @ControllerAdvice the swagger documentation should change the responses as specified in the @ControllerAdvice implementation selectively using assignableTypes .

Giving an Example- @ControllerAdvice(assignableTypes = {SampleController.class})

In swagger documentation this ControllerAdvice should not affect Controllers not in the assignableTypes list.

Also should likewise consider basePackages, basePackageClasses attribute in @ControllerAdvice

Is that a gud bug?
R

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions