Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
Extend built-in supported types
- Ensure
DateOnly
andTimeOnly
with for Newtonsoft.Json. - Add System.Text.Json support for
TimeSpan
andVersion
. - Add Int128 and UInt128 support.
- Handle
AnnotationsDataType.Upload
. - Create
AnnotationsDataType
mapping dictionary only once.
Resolves #2611 Relates to #2500
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 92.14%. Comparing base (
c936acb
) to head (8fab64d
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@ Coverage Diff @@
## master #2804 +/- ##
==========================================
+ Coverage 92.10% 92.14% +0.04%
==========================================
Files 91 91
Lines 3064 3080 +16
Branches 525 526 +1
==========================================
+ Hits 2822 2838 +16
Misses 242 242
Flag | Coverage Δ | |
---|---|---|
Linux | 92.14% <100.00%> (+0.04%) |
:arrow_up: |
Windows | 92.14% <100.00%> (+0.04%) |
:arrow_up: |
macOS | 92.14% <100.00%> (+0.04%) |
: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.
There was no need to do that in the Swashbuckle.AspNetCore.Newtonsoft.Test
project because it already targets a minimum of .NET 6 so the condition would always have evaluated to true. The preprocessor condition was added where it was needed.