From ece9b533a8240747f0734bca1ecec39858b5f944 Mon Sep 17 00:00:00 2001 From: Chebotov Nikolay Date: Mon, 6 Jul 2020 17:03:33 +0300 Subject: [PATCH] Fix bug with missed required definitions in "HidePathsAndDefinitionsByRolesDocumentFilter" --- CHANGELOG.md | 4 ++++ .../Filters/HidePathsAndDefinitionsByRolesDocumentFilter.cs | 1 + .../Unchase.Swashbuckle.AspNetCore.Extensions.csproj | 6 +++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c88f6d..6ba8aa7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ These are the changes to each version that has been released on the [nuget](https://www.nuget.org/packages/Unchase.Swashbuckle.AspNetCore.Extensions/). +## v2.3.8 `(2020-07-06)` + +- [x] Fix bug with missed required definitions in `HidePathsAndDefinitionsByRolesDocumentFilter` + ## v2.3.7 `(2020-07-06)` - [x] Fix bug with missed required definitions in `HidePathsAndDefinitionsByRolesDocumentFilter` diff --git a/src/Unchase.Swashbuckle.AspNetCore.Extensions/Filters/HidePathsAndDefinitionsByRolesDocumentFilter.cs b/src/Unchase.Swashbuckle.AspNetCore.Extensions/Filters/HidePathsAndDefinitionsByRolesDocumentFilter.cs index e36c7e1..8e3293b 100644 --- a/src/Unchase.Swashbuckle.AspNetCore.Extensions/Filters/HidePathsAndDefinitionsByRolesDocumentFilter.cs +++ b/src/Unchase.Swashbuckle.AspNetCore.Extensions/Filters/HidePathsAndDefinitionsByRolesDocumentFilter.cs @@ -92,6 +92,7 @@ private static List GetRequiredDefinitions(IDictionary 7.3 https://github.com/unchase/Unchase.Swashbuckle.AspNetCore.Extensions/blob/master/assets/icon.png?raw=true - 2.3.7 - 2.3.7.0 - 2.3.7.0 + 2.3.8 + 2.3.8.0 + 2.3.8.0 false Unchase.Swashbuckle.AspNetCore.Extensions.xml