Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter Illegal Header Fields #2767

Closed
drothmaler opened this issue Feb 23, 2024 · 0 comments · Fixed by #2842
Closed

Filter Illegal Header Fields #2767

drothmaler opened this issue Feb 23, 2024 · 0 comments · Fixed by #2842
Labels
help-wanted A change up for grabs for contributions from the community

Comments

@drothmaler
Copy link

According to the OpenApi Spcec there are certain header parameters, that are not allowed as part of the regular parameters specification in the Swagger Spec. These Headers (Accept, Content-Type and Authorization) are described using other OpenApi fields.

The Swashbuckle Swagger generation should respect/filter that, when processing properties marked with FromHeader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help-wanted A change up for grabs for contributions from the community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants