Skip to content

Document how to specify Jackson JSON view serialization hints with @RestController and Webflux #25596

Closed
@monstrfolk

Description

@monstrfolk

There is not documentation how to filter fields using JsonViews using specific security roles when using Webflux and non-functional endpoints, for example @RestController.

There is a tutorial that explains how to achieve this using MCV.
https://www.baeldung.com/spring-security-role-filter-json

There is another issue that has been closed that explains similar functionality with RouterFunctions and Webflux.
#23150

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions