Swashbuckle.AspNetCore icon indicating copy to clipboard operation
Swashbuckle.AspNetCore copied to clipboard

Handle Stream and PipeReader content types correctly

Open martincostello opened this issue 10 months ago • 1 comments

  • Do not generate schema models for Stream and PipeReader.
  • Only allocate the array once, rather than on every call.
  • Fix warning by removing unused parameter from private method.

Relates to item 3 in https://github.com/dotnet/aspnetcore/issues/44677.

martincostello avatar Apr 13 '24 08:04 martincostello

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.65%. Comparing base (a772c94) to head (044a995).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2784      +/-   ##
==========================================
+ Coverage   91.62%   91.65%   +0.02%     
==========================================
  Files          91       91              
  Lines        2998     3007       +9     
  Branches      514      514              
==========================================
+ Hits         2747     2756       +9     
  Misses        251      251              
Flag Coverage Δ
Linux 91.65% <100.00%> (+0.02%) :arrow_up:
Windows 91.65% <100.00%> (+0.02%) :arrow_up:
macOS 91.65% <100.00%> (+0.02%) :arrow_up:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Apr 13 '24 08:04 codecov-commenter