Releases: domaindrivendev/Swashbuckle.AspNetCore
Releases · domaindrivendev/Swashbuckle.AspNetCore
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
v6.6.1
What's Changed
- Modernise build and migrate to GitHub Actions for CI by @martincostello in #2775
- Update Redoc spelling in docs by @Quppa in #2568
- C# 9 Record - Read example/summary from positional record by @pixellos in #2546
- Grammatical correction of some comments by @mokarchi in #2768
- Update README.md for nested types custom schemaId support by @antmeehan in #2746
- Add support for
WithSummary
andWithDescription
metadata by @hwoodiwiss in #2414 - Update README.md - Fix
Add Security Definitions and Requirements for Bearer auth
URL by @Saibamen in #2705 - Replace text with Markdown link format by @mburumaxwell in #2392
- Add support for required keyword by @keahpeters in #2810
- Resolves #2717 by @MerickOWA in #2718
- Observe the route template constraints in the Swagger middleware by @0xced in #2418
- Added Swashbuckle.AspNetCore.Annotations.SwaggerIgnoreAttribute by @jcracknell in #2610
- Fix schema generation with allOf inheritance by @bkoelman in #2815
- avoid triple enumeration of formParameters by @SimonCropp in #2823
- reduce some linq allocation by @SimonCropp in #2819
- remove some duplicate dictionary lookups by @SimonCropp in #2822
- remove redundant any check in InferRequestContentTypes by @SimonCropp in #2824
- Correctly respect interfaces in
GetInheritanceChain
by @angelaki in #2826 - Generate Enum-Dictionary-Keys (analogous to Newtonsoft) by @angelaki in #2825
- Fix build badge by @martincostello in #2782
- Fix preview package versions by @martincostello in #2783
- Handle Stream and PipeReader content types correctly by @martincostello in #2784
- Add NuGet package READMEs by @martincostello in #2808
- Bump redoc to 2.1.3 by @martincostello in #2807
- Sort system usings first by @martincostello in #2790
- Throw if unsupported HTTP method used by @martincostello in #2797
- Fix configuration properties not being copied by @martincostello in #2796
- Add security policy by @martincostello in #2785
- Bump Microsoft.OpenApi by @martincostello in #2795
- Update to Swagger UI v5 by @martincostello in #2806
- Add customized document serialization support by @remcolam in #2677
- Added documentation for ISwaggerDocumentSerializer by @remcolam in #2837
- Fix flaky tests by locking on the statup type by @remcolam in #2838
- #2765 Allow Filter instance reuse by @remcolam in #2839
- Throw an error when a user uses FromForm attribute with IFormFile in … by @nikunjbhargava in #2840
- Filter illegal header fields by @keahpeters in #2842
- Fix handling of FileResult's with content types by @IGx89 in #2841
- Adding additional responses when 5XX errors are thrown. by @say25 in #2852
- Fix that XML comment examples do not show up if the type is string and the example contains quotation marks by @dldl-cmd in #2727
- Exclude unused Swagger-UI files by @martincostello in #2851
- Fix RequestBodyFilters not being deep copied by @martincostello in #2850
- Avoid GitHub step summary file write conflicts by @martincostello in #2848
- Extend built-in supported types by @martincostello in #2804
- Update compatibility table by @martincostello in #2856
- Add GitHub issue and PR templates by @martincostello in #2788
- Fix stale permissions by @martincostello in #2855
- Add .NET 8 support by @martincostello in #2799
- Release automation workflows by @martincostello in #2809
- Support native AoT with SwaggerUI by @martincostello in #2800
- Bump some NuGet packages by @martincostello in #2868
- Fix stale permissions by @martincostello in #2863
- Attestation by @martincostello in #2869
- Add descriptions for more HTTP status codes by @cremor in #2872
- Only attest packages by @martincostello in #2870
- Fix tag version by @martincostello in #2875
New Contributors
- @mokarchi made their first contribution in #2768
- @hwoodiwiss made their first contribution in #2414
- @Saibamen made their first contribution in #2705
- @keahpeters made their first contribution in #2810
- @MerickOWA made their first contribution in #2718
- @0xced made their first contribution in #2418
- @jcracknell made their first contribution in #2610
- @bkoelman made their first contribution in #2815
- @angelaki made their first contribution in #2826
- @remcolam made their first contribution in #2677
- @nikunjbhargava made their first contribution in #2840
- @IGx89 made their first contribution in #2841
- @dldl-cmd made their first contribution in #2727
- @cremor made their first contribution in #2872
Full Changelog: v6.5.0...v6.6.1