Spring Cloud Open Feign: Custom Jackson Object Mapper via Decoder
Following this (https://github.com/spring-cloud/spring-cloud-openfeign/issues/1306) we have an Issue on our side. Before we updated to SpringBoot 4.0.2 and OpenFeign 5.0.0 we had the following config in out application.yml (which should now work again, thanks to mentioned changes): # Spring boot settings spring: jackson: property-naming-strategy: SNAKE_CASE deserialization: fail-on-unknown-properties: true This was to ensure, that incoming REST Requests to our RestControllers fail, if someone used our API "wrong" (-> sending unknown JSON properties). And we had a Decoder-Bean defined that woul
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.