Skip to content

Commit

Permalink
🌞 fixed generate api controller name bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
MonkSoul committed Nov 6, 2020
1 parent db60b6d commit 15ee1f3
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 @@ -90,7 +90,7 @@ private void ConfigureController(ControllerModel controller, ApiDescriptionSetti
/// <param name="apiDescriptionSettings">接口描述配置</param>
private void ConfigureControllerName(ControllerModel controller, ApiDescriptionSettingsAttribute apiDescriptionSettings)
{
controller.ControllerName = ConfigureControllerAndActionName(apiDescriptionSettings, controller.ControllerName, _dynamicApiControllerSettings.AbandonControllerAffixes, _ => _);
controller.ControllerName = ConfigureControllerAndActionName(apiDescriptionSettings, controller.ControllerType.Name, _dynamicApiControllerSettings.AbandonControllerAffixes, _ => _);
}

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion framework/Fur/Fur.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<RepositoryUrl>https://gitee.com/monksoul/Fur</RepositoryUrl>
<RepositoryType>Gitee</RepositoryType>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<Version>1.0.0-rc.final.86</Version>
<Version>1.0.0-rc.final.87</Version>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageIcon>icon.png</PackageIcon>
</PropertyGroup>
Expand Down

0 comments on commit 15ee1f3

Please sign in to comment.