diff --git a/Helpers/SimApiUtil.cs b/Helpers/SimApiUtil.cs
index 378aa3d..19c1f59 100644
--- a/Helpers/SimApiUtil.cs
+++ b/Helpers/SimApiUtil.cs
@@ -3,7 +3,7 @@ using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
-namespace SimApiApi.Helpers
+namespace SimApi.Helpers
{
public static class SimApiUtil
{
diff --git a/SimApi.csproj b/SimApi.csproj
index 9e2bcc8..a45a364 100644
--- a/SimApi.csproj
+++ b/SimApi.csproj
@@ -11,6 +11,8 @@
true
snupkg
true
+ 1.1.1
+ false
diff --git a/SimApiExtensions.cs b/SimApiExtensions.cs
index 07953fa..ec9ab02 100644
--- a/SimApiExtensions.cs
+++ b/SimApiExtensions.cs
@@ -16,27 +16,27 @@ namespace SimApi
//**********快捷添加**************
///
- /// 添加整个SimApiAPI,同时增加CORS规则
+ /// 添加整个SimAPI,同时增加CORS规则
///
///
///
///
///
- public static IServiceCollection AddSimApiApi(this IServiceCollection builder, string title,
+ public static IServiceCollection AddSimApi(this IServiceCollection builder, string title,
string description = null)
{
return builder.AddSimApiAuth().AddSimApiDoc(title, description).AddCors().AddSimApiUpload();
}
///
- /// 使用所有SimApiApi自定义中间件
+ /// 使用所有SimApi自定义中间件
///
///
///
///
///
///
- public static IApplicationBuilder UseSimApiApi(this IApplicationBuilder builder, string title = "API文档", params SubmitMethod[] submitMethods)
+ public static IApplicationBuilder UseSimApi(this IApplicationBuilder builder, string title = "API文档", params SubmitMethod[] submitMethods)
{
return builder.UseSimApiException().UseSimApiDoc(title, submitMethods).UseMiddleware().UseCors(x => x.AllowAnyHeader().AllowAnyMethod().AllowAnyOrigin()).UseSimApiUpload();
}