Skip to content

Conversation

@hrybs
Copy link
Contributor

@hrybs hrybs commented Jun 7, 2021

The Javadoc of @ResponseStatus doesn't mention that when @ResponseStatus is applied to a class then it is inherited also by @ExceptionHandler annotated methods.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jun 7, 2021
@sbrannen sbrannen added in: web Issues in web modules (web, webmvc, webflux, websocket) type: documentation A documentation task and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jun 7, 2021
@sbrannen sbrannen self-assigned this Jun 8, 2021
@sbrannen sbrannen added this to the 5.3.8 milestone Jun 8, 2021
@sbrannen sbrannen changed the title Fix @ResponseStatus JavaDoc Document that class-level @ResponseStatus is inherited by @ExceptionHandler methods Jun 8, 2021
@sbrannen sbrannen merged commit aa2bfd4 into spring-projects:main Jun 8, 2021
@sbrannen
Copy link
Member

sbrannen commented Jun 8, 2021

This has been merged into main.

Thanks

sbrannen added a commit that referenced this pull request Jun 8, 2021
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this pull request Mar 26, 2022
lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this pull request Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: web Issues in web modules (web, webmvc, webflux, websocket) type: documentation A documentation task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants