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

fix: exclude extra mappers registration in JacksonFeature #146

Conversation

Jumas
Copy link
Contributor

@Jumas Jumas commented Sep 2, 2024

Refs: #173

Proposed changes

JacksonFeature registers JsonParseExceptionMapper and JsonMappingExceptionMapper which returns 400 Bad Request as plain/text and does not allow to override them to return application/json.

Checklist

Before creating a PR, run through this checklist and mark each as complete:

  • I have read the CONTRIBUTING document
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • I have updated any relevant documentation

@yurtsevich-sbb yurtsevich-sbb merged commit c681097 into main Sep 2, 2024
10 checks passed
@yurtsevich-sbb yurtsevich-sbb deleted the 173-override-jsonparseexceptionmapper-and-jsonmappingexceptionmapper branch September 2, 2024 13:27
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.

Override JsonParseExceptionMapper and JsonMappingExceptionMapper
2 participants