Fix wrong document about RequestHeaderArgumentResolver

Also test is added to verify that.

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>

See gh-34230
This commit is contained in:
Yanming Zhou
2025-01-10 17:30:27 +08:00
committed by rstoyanchev
parent 7d844274dc
commit a8c5885aff
2 changed files with 13 additions and 2 deletions

View File

@@ -940,7 +940,7 @@ method parameters:
| `@RequestHeader`
| Add a request header or multiple headers. The argument may be a `Map<String, ?>` or
`MultiValueMap<String, ?>` with multiple headers, a `Collection<?>` of values, or an
individual value. Type conversion is supported for non-String values. This overrides
individual value. Type conversion is supported for non-String values. This does not override
the annotation's `headers` attribute.
| `@PathVariable`