Remove deprecations and outdated API usage. (#768)

This commit is contained in:
Olga Maciaszek-Sharma
2022-10-11 17:18:35 +02:00
committed by GitHub
parent 075887eec3
commit 28345b2ad9
18 changed files with 54 additions and 146 deletions

View File

@@ -191,7 +191,7 @@ spring:
requestInterceptors:
- com.example.FooRequestInterceptor
- com.example.BarRequestInterceptor
decode404: false
dismiss404: false
encoder: com.example.SimpleEncoder
decoder: com.example.SimpleDecoder
contract: com.example.SimpleContract
@@ -665,10 +665,6 @@ You can also disable the feature via property `spring.cloud.openfeign.cache.enab
=== Feign @QueryMap support
The OpenFeign `@QueryMap` annotation provides support for POJOs to be used as
GET parameter maps. Unfortunately, the default OpenFeign QueryMap annotation is
incompatible with Spring because it lacks a `value` property.
Spring Cloud OpenFeign provides an equivalent `@SpringQueryMap` annotation, which
is used to annotate a POJO or Map parameter as a query parameter map.