Skip to content

Commit

Permalink
Merge pull request #3 from Advitalitum/patch-1
Browse files Browse the repository at this point in the history
Fixed bug: _includeDescriptionFromAttribute not used when describing …
  • Loading branch information
unchase authored Nov 29, 2019
2 parents 8a627f5 + 68905f7 commit 5a9fd7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void Apply(SwaggerDocument swaggerDoc, DocumentFilterContext context)
var property = propertyDictionaryItem.Value;
var propertyEnums = property.Enum;
if (propertyEnums != null && propertyEnums.Count > 0)
property.Description += DescribeEnum(propertyEnums);
property.Description += DescribeEnum(propertyEnums, _includeDescriptionFromAttribute);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<NeutralLanguage></NeutralLanguage>
<LangVersion>7.3</LangVersion>
<PackageIconUrl>https://github.com/unchase/Unchase.Swashbuckle.AspNetCore.Extensions/blob/master/assets/icon.png?raw=true</PackageIconUrl>
<Version>1.1.0</Version>
<Version>1.1.1</Version>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 5a9fd7d

Please sign in to comment.