Skip to content

Commit

Permalink
Merge branch 'dev/develop' of https://github.com/dotnetcore/osharp in…
Browse files Browse the repository at this point in the history
…to dev/develop
  • Loading branch information
gmf520 committed Sep 11, 2023
2 parents a3a25e5 + f31456a commit a5c890a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/OSharp.Swagger/SwaggerPackBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public override IServiceCollection AddServices(IServiceCollection services)

Directory.GetFiles(AppDomain.CurrentDomain.BaseDirectory, "*.xml").ToList().ForEach(file =>
{
options.IncludeXmlComments(file);
options.IncludeXmlComments(file, true);
});
//权限Token
options.AddSecurityDefinition("oauth2",
Expand Down
4 changes: 2 additions & 2 deletions src/OSharp/Filter/PageRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
namespace OSharp.Filter;

/// <summary>
/// 分布查询请求
/// 分页查询请求
/// </summary>
public class PageRequest
{
Expand Down Expand Up @@ -44,4 +44,4 @@ public void AddDefaultSortCondition(params SortCondition[] sortConditions)
PageCondition.SortConditions = sortConditions;
}
}
}
}
7 changes: 6 additions & 1 deletion src/OSharp/Identity/JwtBearer/GrantType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ public class GrantType
/// 刷新Token类型
/// </summary>
public const string RefreshToken = "refresh_token";
}

/// <summary>
/// 授权码类型
/// </summary>
public const string AuthorizationCode = "authorization_code";
}

0 comments on commit a5c890a

Please sign in to comment.