Skip to content

Filter illegal header fields#2842

Merged
martincostello merged 10 commits into
domaindrivendev:masterfrom
keahpeters:filter-illegal-header-fields
Apr 29, 2024
Merged

Filter illegal header fields#2842
martincostello merged 10 commits into
domaindrivendev:masterfrom
keahpeters:filter-illegal-header-fields

Conversation

@keahpeters

Copy link
Copy Markdown
Contributor

Exclude the Accept, Content-Type and Authorization header parameters from the document.

Resolves #2767.

@codecov-commenter

codecov-commenter commented Apr 29, 2024

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.39%. Comparing base (1088d70) to head (a92859b).
⚠️ Report is 737 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2842      +/-   ##
==========================================
+ Coverage   92.37%   92.39%   +0.01%     
==========================================
  Files          93       93              
  Lines        3160     3168       +8     
  Branches      556      557       +1     
==========================================
+ Hits         2919     2927       +8     
  Misses        241      241              
Flag Coverage Δ
Linux 92.39% <100.00%> (+0.01%) ⬆️
Windows 92.39% <100.00%> (+0.01%) ⬆️
macOS ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread test/Swashbuckle.AspNetCore.SwaggerGen.Test/Fixtures/FakeController.cs Outdated
@martincostello martincostello added this to the v6.6.0 milestone Apr 29, 2024

@martincostello martincostello left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the tests need fixing. Otherwise this looks good.

This was referenced Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter Illegal Header Fields

3 participants