File tree Expand file tree Collapse file tree 7 files changed +15
-15
lines changed
AbpCompanyName.AbpProjectName.EntityFrameworkCore
AbpCompanyName.AbpProjectName.Web.Core
AbpCompanyName.AbpProjectName.Web.Host
AbpCompanyName.AbpProjectName.Web.Mvc
test/AbpCompanyName.AbpProjectName.Tests Expand file tree Collapse file tree 7 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1515 </ItemGroup >
1616
1717 <ItemGroup >
18- <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 2.1.3 " />
19- <PackageReference Include =" Microsoft.EntityFrameworkCore.Tools" Version =" 2.1.3 " >
18+ <PackageReference Include =" Microsoft.EntityFrameworkCore.SqlServer" Version =" 2.1.4 " />
19+ <PackageReference Include =" Microsoft.EntityFrameworkCore.Tools" Version =" 2.1.4 " >
2020 <PrivateAssets >all</PrivateAssets >
2121 <IncludeAssets >runtime; build; native; contentfiles; analyzers</IncludeAssets >
2222 </PackageReference >
23- <PackageReference Include =" Microsoft.EntityFrameworkCore.Design" Version =" 2.1.3 " />
23+ <PackageReference Include =" Microsoft.EntityFrameworkCore.Design" Version =" 2.1.4 " />
2424 </ItemGroup >
2525
2626 <ItemGroup >
Original file line number Diff line number Diff line change 2525 <ItemGroup >
2626 <PackageReference Include =" System.ValueTuple" Version =" 4.5.0" />
2727 <PackageReference Include =" Microsoft.AspNetCore.Authentication.JwtBearer" Version =" 2.1.2" />
28- <PackageReference Include =" Swashbuckle.AspNetCore" Version =" 2.5 .0" />
28+ <PackageReference Include =" Swashbuckle.AspNetCore" Version =" 3.0 .0" />
2929 <PackageReference Include =" Abp.AspNetCore" Version =" 3.8.3" />
3030 <PackageReference Include =" Abp.ZeroCore" Version =" 3.8.3" />
31- <PackageReference Include =" Microsoft.AspNetCore" Version =" 2.1.3 " />
31+ <PackageReference Include =" Microsoft.AspNetCore" Version =" 2.1.4 " />
3232 <PackageReference Include =" Abp.AspNetCore.SignalR" Version =" 3.8.3" />
3333 </ItemGroup >
3434
Original file line number Diff line number Diff line change 3333 </ItemGroup >
3434
3535 <ItemGroup >
36- <PackageReference Include =" Microsoft.VisualStudio.Web.CodeGeneration.Design" Version =" 2.1.4 " >
36+ <PackageReference Include =" Microsoft.VisualStudio.Web.CodeGeneration.Design" Version =" 2.1.5 " >
3737 <PrivateAssets >All</PrivateAssets >
3838 </PackageReference >
3939 <PackageReference Include =" Castle.LoggingFacility.MsLogging" Version =" 3.1.0" />
4040 <PackageReference Include =" Microsoft.AspNetCore.Diagnostics" Version =" 2.1.1" />
41- <PackageReference Include =" Microsoft.AspNetCore.Server.IISIntegration" Version =" 2.1.1 " />
41+ <PackageReference Include =" Microsoft.AspNetCore.Server.IISIntegration" Version =" 2.1.2 " />
4242 <PackageReference Include =" Microsoft.AspNetCore.Server.Kestrel" Version =" 2.1.3" />
4343 <PackageReference Include =" Microsoft.AspNetCore.StaticFiles" Version =" 2.1.1" />
4444 <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 2.1.1" />
4545 <PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 2.1.1" />
4646 <PackageReference Include =" Microsoft.VisualStudio.Web.BrowserLink" Version =" 2.1.1" />
47- <PackageReference Include =" Microsoft.AspNetCore.Mvc" Version =" 2.1.2 " />
47+ <PackageReference Include =" Microsoft.AspNetCore.Mvc" Version =" 2.1.3 " />
4848 <PackageReference Include =" Abp.Castle.Log4Net" Version =" 3.8.3" />
4949 </ItemGroup >
5050
Original file line number Diff line number Diff line change 11using System . Collections . Generic ;
22using System . Linq ;
3+ using System . Reflection ;
34using Swashbuckle . AspNetCore . Swagger ;
45using Swashbuckle . AspNetCore . SwaggerGen ;
56using Abp . Authorization ;
@@ -10,13 +11,13 @@ public class SecurityRequirementsOperationFilter : IOperationFilter
1011 {
1112 public void Apply ( Operation operation , OperationFilterContext context )
1213 {
13- var actionAttrs = context . ControllerActionDescriptor . MethodInfo . GetCustomAttributes ( true ) . ToList ( ) ;
14+ var actionAttrs = context . MethodInfo . GetCustomAttributes ( true ) . ToList ( ) ;
1415 if ( actionAttrs . OfType < AbpAllowAnonymousAttribute > ( ) . Any ( ) )
1516 {
1617 return ;
1718 }
1819
19- var controllerAttrs = context . ControllerActionDescriptor . ControllerTypeInfo . GetCustomAttributes ( true ) ;
20+ var controllerAttrs = context . MethodInfo . DeclaringType . GetTypeInfo ( ) . GetCustomAttributes ( true ) ;
2021 var actionAbpAuthorizeAttrs = actionAttrs . OfType < AbpAuthorizeAttribute > ( ) . ToList ( ) ;
2122
2223 if ( ! actionAbpAuthorizeAttrs . Any ( ) && controllerAttrs . OfType < AbpAllowAnonymousAttribute > ( ) . Any ( ) )
Original file line number Diff line number Diff line change 1212using Abp . AspNetCore ;
1313using Abp . Castle . Logging . Log4Net ;
1414using Abp . Extensions ;
15- using AbpCompanyName . AbpProjectName . Authentication . JwtBearer ;
1615using AbpCompanyName . AbpProjectName . Configuration ;
1716using AbpCompanyName . AbpProjectName . Identity ;
1817
Original file line number Diff line number Diff line change 3131
3232 <ItemGroup >
3333 <PackageReference Include =" Microsoft.AspNetCore.Hosting" Version =" 2.1.1" />
34- <PackageReference Include =" Microsoft.VisualStudio.Web.CodeGeneration.Design" Version =" 2.1.4 " >
34+ <PackageReference Include =" Microsoft.VisualStudio.Web.CodeGeneration.Design" Version =" 2.1.5 " >
3535 <PrivateAssets >All</PrivateAssets >
3636 </PackageReference >
3737 <PackageReference Include =" AspNet.Security.OpenIdConnect.Server" Version =" 1.0.2" />
4040 <PackageReference Include =" Microsoft.AspNetCore.Authentication.Cookies" Version =" 2.1.2" />
4141 <PackageReference Include =" Microsoft.AspNetCore.Authentication.Twitter" Version =" 2.1.2" />
4242 <PackageReference Include =" Microsoft.AspNetCore.Diagnostics" Version =" 2.1.1" />
43- <PackageReference Include =" Microsoft.AspNetCore.Server.IISIntegration" Version =" 2.1.1 " />
43+ <PackageReference Include =" Microsoft.AspNetCore.Server.IISIntegration" Version =" 2.1.2 " />
4444 <PackageReference Include =" Microsoft.AspNetCore.Server.Kestrel" Version =" 2.1.3" />
4545 <PackageReference Include =" Microsoft.AspNetCore.StaticFiles" Version =" 2.1.1" />
4646 <PackageReference Include =" Microsoft.Extensions.Logging" Version =" 2.1.1" />
4747 <PackageReference Include =" Microsoft.Extensions.Options.ConfigurationExtensions" Version =" 2.1.1" />
4848 <PackageReference Include =" Microsoft.VisualStudio.Web.BrowserLink" Version =" 2.1.1" />
49- <PackageReference Include =" Microsoft.AspNetCore.Mvc" Version =" 2.1.2 " />
49+ <PackageReference Include =" Microsoft.AspNetCore.Mvc" Version =" 2.1.3 " />
5050 <PackageReference Include =" Abp.HangFire" Version =" 3.8.3" />
5151 <PackageReference Include =" Abp.RedisCache" Version =" 3.8.3" />
5252 <PackageReference Include =" Abp.Castle.Log4Net" Version =" 3.8.3" />
Original file line number Diff line number Diff line change 2525 <PackageReference Include =" xunit.extensibility.execution" Version =" 2.4.0" />
2626 <PackageReference Include =" xunit.runner.visualstudio" Version =" 2.4.0" />
2727 <PackageReference Include =" Abp.TestBase" Version =" 3.8.3" />
28- <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 2.1.3 " />
28+ <PackageReference Include =" Microsoft.EntityFrameworkCore.InMemory" Version =" 2.1.4 " />
2929 <PackageReference Include =" Castle.Core" Version =" 4.3.1" />
3030 </ItemGroup >
3131
You can’t perform that action at this time.
0 commit comments