diff --git a/NDB.Extensions.Swagger/NDB.Extensions.Swagger.csproj b/NDB.Extensions.Swagger/NDB.Extensions.Swagger.csproj index a79fd9e..b7f2cb6 100644 --- a/NDB.Extensions.Swagger/NDB.Extensions.Swagger.csproj +++ b/NDB.Extensions.Swagger/NDB.Extensions.Swagger.csproj @@ -8,7 +8,7 @@ https://dev.azure.com/tstanciu94/NDB Git NDB swagger - 1.0.3 + 1.0.4 diff --git a/NDB.Extensions.Swagger/SwaggerExtensions.cs b/NDB.Extensions.Swagger/SwaggerExtensions.cs index 6c3e8fa..de56af2 100644 --- a/NDB.Extensions.Swagger/SwaggerExtensions.cs +++ b/NDB.Extensions.Swagger/SwaggerExtensions.cs @@ -18,6 +18,7 @@ namespace NDB.Extensions.Swagger { c.SwaggerDoc("v1", new OpenApiInfo { Title = title, Version = "v1" }); c.SetAuthorization(authorizationType); + c.CustomSchemaIds(type => type.ToString()); }); return services; diff --git a/Notes.txt b/Notes.txt index 68f0307..bedf7f8 100644 --- a/Notes.txt +++ b/Notes.txt @@ -18,7 +18,7 @@ Push packages: dotnet nuget push NDB.Application.DataContracts.1.0.0.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget -dotnet nuget push NDB.Extensions.Swagger.1.0.3.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget +dotnet nuget push NDB.Extensions.Swagger.1.0.4.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget dotnet nuget push NDB.Extensions.Http.1.0.0.nupkg -k ***REMOVED*** -s https://toodle.ddns.net/public-nuget-server/nuget