Allowing "cty" header to include "application/" prefix rather than compacting #1043
Unanswered
steve-sasc
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Hi @steve-sasc! You should be able to do this with a custom Serializer; if you are using Jackson, you could customize the ObjectMapper. Let us know if this works for you! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I've hit an issue while trying to integrate with a third party in Open Banking, where the third party is (incorrectly) only allowing "application/json" for the cty header, and not json. I know both the OB specs and RFC for this state that the compacted form should be preferred, but unfortunately this provider hasn't implemented it this way. I'm working on trying to get them to fix this, but its out of my hands.
Is there a way I can turn off the compacting for this (compactIfPossible in CompactMediaTypeIdConverter)? If this feature doesn't exist and there's no easy work arounds, would it be worth creating an issue for this?
Any thoughts much appreciated thanks.
Beta Was this translation helpful? Give feedback.
All reactions