Skip to content

Add class level support for @JsonView in JsonViewResponseBodyAdvice #35343

@philwebb

Description

@philwebb

Currently @JsonView can be used on any @RequestMapping annotated method. In the case where a @Controller has multiple methods that all return the same view it would be useful if the annotation could be declared just once at the class-level.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: supersededAn issue that has been superseded by another

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions