Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1183] - rename Entity annotation to Body #1189

Merged

Conversation

WhiteCat22
Copy link
Contributor

@WhiteCat22 WhiteCat22 commented Oct 19, 2023

Fixes #1183

Rename the @Entity annotation to @Body and update references.

@WhiteCat22 WhiteCat22 force-pushed the 1183_update_entity_to_body branch 3 times, most recently from 3daac4e to 8bb0c2a Compare October 19, 2023 20:28
@WhiteCat22 WhiteCat22 force-pushed the 1183_update_entity_to_body branch 2 times, most recently from 1229383 to 4195c75 Compare October 19, 2023 21:18
@WhiteCat22 WhiteCat22 force-pushed the 1183_update_entity_to_body branch from 4195c75 to 9b536c9 Compare October 26, 2023 22:14
Signed-off-by: Adam Anderson <atanderson9383@gmail.com>
@WhiteCat22 WhiteCat22 force-pushed the 1183_update_entity_to_body branch from 9b536c9 to 27ae97a Compare October 30, 2023 20:53
@@ -55,7 +55,8 @@ parameters. See <<consuming_multipart_formdata>> for more details.

The value of a parameter not annotated with `@FormParam` or any of the
annotations listed in in <<resource_field>>, called the entity
parameter, is mapped from the request entity body. Conversion between an
parameter, is mapped from the request entity body. This parameter MUST
be annotated with the `@Body` annotation. Conversion between an
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@spericas I moved the @Body requirement here.

forks a (non-request) thread to execute a long running operation and returns
immediately. Once the execution of the long running operation is complete,
the connection is resumed and the response returned by calling `resume` on
the injected instance of `AsyncResponse`.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am leaving these changed (minus the @Body section) since I think I've made it easier to read. I can remove this if you want.

Copy link
Contributor

@jansupol jansupol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jim-krueger jim-krueger merged commit db2a532 into jakartaee:release-4.0 Nov 14, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants