Annotations to declare resource method response status type
Open
Component: hypermedia
Component: spec
- Dominant language
- Java
- Stars
- 400
- Forks
- 143
- PR merge metrics
- No merged PRs in 30d
Description
Rather than having to return a generic Response object in order to set
the status code to 201 CREATED, it would be nice to be able to mark a
resource method as @Creates, @Modifies, @Deletes, and have the
framework automatically map successful responses to something like 201
CREATED, 200 OK, 204 NO CONTENT.
#### Affected Versions
[2.1]
Contributor guide
Assessment
This issue has not been assessed yet.