Hi,

this PR fixes #25000 by using RequestMappingInfo.paths(path)...build() rather than the deprecated constructors.

Let me know what you think. Cheers, Christoph