Skip to content

fix: ignore an injected HttpHeaders parameter - #3345

Merged
bnasslahsen merged 1 commit into
mainfrom
fix/3317-ignore-httpheaders-parameter
Sep 6, 2026
Merged

fix: ignore an injected HttpHeaders parameter#3345
bnasslahsen merged 1 commit into
mainfrom
fix/3317-ignore-httpheaders-parameter

Conversation

@bnasslahsen

Copy link
Copy Markdown
Collaborator

HttpHeaders used to be covered by the Map entry of the ignore list, but it no longer implements MultiValueMap in Spring Framework 7, so a controller asking for every request header at once got the whole class described as a schema.

Fixes #3317

HttpHeaders used to be covered by the Map entry of the ignore list, but it
no longer implements MultiValueMap in Spring Framework 7, so a controller
asking for every request header at once got the whole class described as a
schema.

Fixes #3317

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@bnasslahsen
bnasslahsen merged commit 7247cae into main Sep 6, 2026
1 check passed
@bnasslahsen
bnasslahsen deleted the fix/3317-ignore-httpheaders-parameter branch September 6, 2026 09:24
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.

injected HttpHeaders class interpreted as schema object

1 participant