Reject multiple @HttpExchange
declarations on the same element
#32049
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Overview
While working on #31962, I noticed that we could potentially also log a warning for multiple
@HttpExchange
annotations declared on the same element (class or method); however, since it never makes sense to declare multiple@HttpExchange
annotations on the same element, the team has decided to reject such declarations instead of merely logging a warning.Related Issues
@PostMapping
,@GetMapping
, etc. annotations are declared #31962The text was updated successfully, but these errors were encountered: