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

Jersey body handling is inconsistent with Spring Webflux and Spring MVC #43209

Closed
snicoll opened this issue Nov 18, 2024 · 0 comments
Closed
Assignees
Labels
type: bug A general bug
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Nov 18, 2024

As discovered by @nosan the Jersey implementation of actuator endpoints accepts complex types in the body whereas Spring Weblux and Spring MVC do not.

An operation is meant to accept a Map<String,String> so the following should fail as it has a nested attribute:

{
  "jobData": {
    "key": "value"
  }
}

To make things consistent, we should update the Jersey implementation so that it fails in a similar fashion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant