In an issue discussion over at springdoc (see https://github.com/springdoc/springdoc-openapi/issues/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.