Releases: domaindrivendev/Swashbuckle.AspNetCore
Releases · domaindrivendev/Swashbuckle.AspNetCore
v7.1.0
What's Changed
- Update some nugets by @Saibamen in #3143
- Recreate package lock files by @Saibamen in #3146
- More asserts for
SwaggerGeneratorTests
by @Saibamen in #3147 - Add more HTTP codes to
ResponseDescriptionMap
by @Saibamen in #3148 - Test more WebAPI examples by @Saibamen in #3149
- Fix issue with
[FromForm]
and enums for Controllers by @jgarciadelanoceda in #3164 - Support
[Description]
and[ReadOnly]
by @jgarciadelanoceda in #3162 - Second level inheritance for
UseOneOfForPolymorphism
by @k0ka in #3155 - Avoid exception checking nullability by @martincostello in #3119
- Fix
NotSupportedException
in AoT test project by @martincostello in #3171 - Create
snupkg
files by @martincostello in #3168 - Support of
[JsonPolymorphic]
and[JsonDerivedType]
attributes by @k0ka in #3170
New Contributors
Full Changelog: v7.0.0...v7.1.0
v7.0.0
What's Changed
- Refactor filter descriptor type checks in SwaggerGen by @iskandersierra in #3125
- Apply SwaggerIgnore on Newtonsoft by @jgarciadelanoceda in #3134
- Support .NET 9 by @martincostello in #3007
- Drop support for .NET (Core) versions prior to 8 (except 6) by @martincostello in #3007
- Fix FromForm without WithOpenApi schemas by @jgarciadelanoceda in #3133
New Contributors
- @iskandersierra made their first contribution in #3125
Full Changelog: v6.9.0...v7.0.0
v6.9.0
What's Changed
- Generate Properties whenever there are objects without schema(Not onl… by @jgarciadelanoceda in #3095
- fix: Pass props to multi targeting by @xC0dex in #3107
- Types with TryParse must be set with type string by @jgarciadelanoceda in #3108
- Add native AoT support for ReDoc by @martincostello in #3088
New Contributors
Full Changelog: v6.8.1...v6.9.0
v6.8.1
What's Changed
- Fix issue when applying filters for WithOpenApi extension by @jgarciadelanoceda in #3085
Full Changelog: v6.8.0...v6.8.1
v6.8.0
What's Changed
- Added dependency injection/easy registration for async filters by @tofi92 in #3030
- Improve IncludeXmlComments performance (2) by @mus65 in #3044
- Apply ParameterFilters and RequestBodyFilters for WithOpenApi endpoints by @jgarciadelanoceda in #3059
- Swagger plugins support by @jvmlet in #3056
- Add benchmarks project by @martincostello in #3050
- Fix NuGet badge by @martincostello in #3064
- SwaggerGen - Improved handling of dictionaries with enum key by @flarestudiopl in #3068
- Fix typo by @tom-star119 in #3073
- Do not fill the RequestBody description with the first parameter of a… by @jgarciadelanoceda in #3076
New Contributors
- @tofi92 made their first contribution in #3030
- @mus65 made their first contribution in #3044
- @jvmlet made their first contribution in #3056
- @flarestudiopl made their first contribution in #3068
- @tom-star119 made their first contribution in #3073
Full Changelog: v6.7.3...v6.8.0
v6.7.3
What's Changed
- Fix nested types nullable context check by @VladimirTyrin in #3043
- Use NullabilityInfoContext to determine if member is nullable by @patrikwlund in #3046
New Contributors
- @VladimirTyrin made their first contribution in #3043
Full Changelog: v6.7.2...v6.7.3
v6.7.2
What's Changed
- Use NullabilityInfoContext to determine dictionary value nullability by @patrikwlund in #3041
Full Changelog: v6.7.1...v6.7.2
v6.7.1
What's Changed
- docs: Update README.md by @WeihanLi in #3002
- Support
[DataMember]
IsRequired
inNewtonsoftDataContractResolver
by @ouvreboite in #2644 - Add API analysers by @martincostello in #3003
- Update README by @martincostello in #3004
- docs: fix example code formatting by @WeihanLi in #3010
- Fixes nullability problems with dictionaries by @ozziepeeps in #3023
- Fix handling of nullable structs by @martincostello in #3015
- Fix missing form parameter XML documentation by @martincostello in #3020
New Contributors
- @ouvreboite made their first contribution in #2644
Full Changelog: v6.7.0...v6.7.1
v6.7.0
What's Changed
- Allow Swagger UI CSS and JS paths to be configurable by @mag1art in #2908
- Add
IncludeXmlCommentsForAssembly()
convience overload by @leotsarev in #2909 - Add snapshot tests using Verify by @keahpeters in #2929
- Add posibility to ignore properties in
[FromForm]
with[SwaggerIgnore]
by @jgarciadelanoceda in #2928 - Adding check for existing directory and creating if doesn't exist by @matt-lethargic in #2927
- Default null value on nullable types caused errors by @jgarciadelanoceda in #2941
- Add additional Verify tests by @keahpeters in #2950
- Only apply a SchemaFilter to create the description on SwaggerUI by @jgarciadelanoceda in #2943
- Add support for async filters by @mauve in #2938
- Fix package validation by @martincostello in #2926
- Adding support for .NET 8 Model State attributes by @jgarciadelanoceda in #2958
- Only set Exclusive Range when they are by @jgarciadelanoceda in #2960
[AsParameters]
throwing error on cast when showing the description withEnableAnnotations()
by @jgarciadelanoceda in #2962- Fix
RequestBodyFilterAnnotation
andMultipleFromForm
for Minimal APIs by @jgarciadelanoceda in #2963 - Swagger UI refactoring by @martincostello in #2942
- Add help wanted badge by @martincostello in #2911
- Move inline css and js to external files for SwaggerUI and ReDoc by @junior-santana in #2965
- Missing properties section when generating
IFomFile
/IFormFileCollection
by @jgarciadelanoceda in #2972 - Missing Encoding and RequiredProperties when
IFormFile
with OpenAPI by @jgarciadelanoceda in #2979 - Use
ApiParameter.Type
by @jgarciadelanoceda in #2980 - Document arrays of generic parameters with XML comments and support overload methods by @jgarciadelanoceda in #2982
- Take into account [JsonRequired] for System.Text.Json by @jgarciadelanoceda in #2988
- Configure non-nullable types as required by @AntiGuideAkquinet in #2803
- Use
HttpMethods.IsGet()
by @martincostello in #2971
New Contributors
- @mag1art made their first contribution in #2908
- @jgarciadelanoceda made their first contribution in #2928
- @matt-lethargic made their first contribution in #2927
- @mauve made their first contribution in #2938
- @junior-santana made their first contribution in #2965
- @AntiGuideAkquinet made their first contribution in #2803
Full Changelog: v6.6.2...v6.7.0
v6.6.2
What's Changed
- Fix to make required and nullable properties nullable in schema by @keahpeters in #2879
- Update Swagger UI section in README by @cremor in #2883
- Add support for the
[Length]
attribute. by @satma0745 in #2882 - Existing output file should be deleted/overwritten by @patrikwlund in #2886
- Fix libraries being handled as test projects by @patrikwlund in #2898
- Avoid competing swagger generation during test build by @patrikwlund in #2897
- Replace
<br />
,<br/>
, and<br>
in XML comments withEnvironment.Newline
by @mburumaxwell in #2899 - Fix schema generation for c#9 positional record with param tag without example property creating unexpected empty example by @stb-co in #2901
- Fix serialization of
AdditionalItems
by @martincostello in #2890 - Disable parallel build by @martincostello in #2894
- Do not run
IHostedService
implementations by @martincostello in #2880 - Fix interceptor JSON casing by @martincostello in #2907
- Fix generation when
[DefaultValue]
's type differs by @martincostello in #2895
New Contributors
- @satma0745 made their first contribution in #2882
- @patrikwlund made their first contribution in #2886
- @stb-co made their first contribution in #2901
Full Changelog: v6.6.1...v6.6.2