Skip to content

Implicit /** mapping on type-level @RequestMapping [SPR-5631] #10302

Closed
@spring-projects-issues

Description

@spring-projects-issues

Arjen Poutsma opened SPR-5631 and commented

When a @Controller has a class-level @RequestMapping annotation, with further sub-paths mappings defined on the methods, it makes sense to implicitely add /** to the type-level annotation.

Since method mappings can just have a RequestMethod (GET or POST)on it, with no further path information, we have to be a little clever about this.


Issue Links:

Referenced from: commits 6121da9, 65afc80, acc8492

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