Skip to content

Introduce RouterFunction attributes #25938

@poutsma

Description

@poutsma

In an issue discussion over at springdoc (see springdoc/springdoc-openapi#891, it has shown useful to let router functions have attributes, so that each route can be assigned additional metadata.

This issue will add methods to RouterFunction to add individual as well groups of attributes, and introduce a similar mechanism in the RouterFunctionBuilder.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions