diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index eab2098..eb6a05d 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -6,19 +6,22 @@ "version": "8.0.3", "commands": [ "paket" - ] + ], + "rollForward": false }, "dotnet-serve": { "version": "1.10.175", "commands": [ "dotnet-serve" - ] + ], + "rollForward": false }, "fantomas": { - "version": "6.3.7", + "version": "6.3.12", "commands": [ "fantomas" - ] + ], + "rollForward": false } } } \ No newline at end of file diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md index a9bc466..3b2fc8b 100644 --- a/docs/RELEASE_NOTES.md +++ b/docs/RELEASE_NOTES.md @@ -1,3 +1,7 @@ +#### 2.1.3 - Sep 8, 2024 + +- hk: Dependencies update + #### 2.1.2 - Jun 3, 2024 - fix: Support DateTime/DateTimeOffset as required query parameter, using round-trip format (#244) @@ -169,8 +173,8 @@ #### 0.6.0 - April 13, 2017 -- Supported `allOf` composition with `properties` definition in the same SchemaObject - https://github.com/fsprojects/SwaggerProvider/issues/72 -- Supported wrappers around primitive types - https://github.com/APIs-guru/openapi-directory/issues/98 +- Supported `allOf` composition with `properties` definition in the same SchemaObject - +- Supported wrappers around primitive types - - No runtime dependency on YamlDotNet - NuGet dependency on FSharp.Core @@ -213,9 +217,9 @@ #### 0.4.0 - April 10, 2016 -- Added support of anonymous types generations - https://github.com/fsprojects/SwaggerProvider/pull/24 +- Added support of anonymous types generations - - Added support of recursively dependent type definitions -- Added support of `$refs` in DefinitionProperty - https://github.com/fsprojects/SwaggerProvider/issues/23 +- Added support of `$refs` in DefinitionProperty - - Added support of operations without `operationId` - Better XML docs @@ -227,11 +231,11 @@ #### 0.3.5 - February 25 2016 -- Added ability to override Host property at runtime - https://github.com/fsprojects/SwaggerProvider/issues/15 +- Added ability to override Host property at runtime - #### 0.3.4 - January 20 2016 -- Fixed generation of obsolete provided methods - https://github.com/fsprojects/FSharp.TypeProviders.StarterPack/issues/70 +- Fixed generation of obsolete provided methods - #### 0.3.3 - January 18 2016 diff --git a/global.json b/global.json index d6f973f..bbdacaa 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { - "sdk": { - "version": "8.0.204", - "rollForward": "minor" - } + "sdk": { + "version": "8.0.401", + "rollForward": "minor" + } } diff --git a/paket.lock b/paket.lock index 4bee595..9607422 100644 --- a/paket.lock +++ b/paket.lock @@ -7,9 +7,9 @@ NUGET System.Text.Json (>= 6.0) Microsoft.Bcl.AsyncInterfaces (8.0) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0) System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net8.0) (>= net462)) (&& (== net8.0) (< netstandard2.1)) (== netstandard2.0) - Microsoft.OpenApi (1.6.14) - Microsoft.OpenApi.Readers (1.6.14) - Microsoft.OpenApi (>= 1.6.14) + Microsoft.OpenApi (1.6.21) + Microsoft.OpenApi.Readers (1.6.21) + Microsoft.OpenApi (>= 1.6.21) SharpYaml (>= 2.1.1) NETStandard.Library.NETFramework (2.0.0-preview2-25405-01) SharpYaml (2.1.1) @@ -34,19 +34,19 @@ NUGET System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0) System.Threading.Tasks.Extensions (4.5.4) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp3.1)) (== netstandard2.0) System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net8.0) (>= net461)) (&& (== net8.0) (< netcoreapp2.1)) (&& (== net8.0) (< netstandard1.0)) (&& (== net8.0) (< netstandard2.0)) (&& (== net8.0) (>= wp8)) (== netstandard2.0) - YamlDotNet (15.1.6) + YamlDotNet (16.1) GITHUB remote: fsprojects/FSharp.TypeProviders.SDK src/ProvidedTypes.fs (3a9510e466cb8ab04e0b86841dc777994909f881) src/ProvidedTypes.fsi (3a9510e466cb8ab04e0b86841dc777994909f881) remote: fsprojects/FSharp.Data - src/FSharp.Data.Runtime.Utilities/NameUtils.fs (c5b026b4f046975f26fe93f0de4811e45cdaf862) - src/FSharp.Data.Runtime.Utilities/Pluralizer.fs (c5b026b4f046975f26fe93f0de4811e45cdaf862) + src/FSharp.Data.Runtime.Utilities/NameUtils.fs (71c95c7264cbda846bb675fe177a639d04b94e67) + src/FSharp.Data.Runtime.Utilities/Pluralizer.fs (71c95c7264cbda846bb675fe177a639d04b94e67) GROUP Server RESTRICTION: == net8.0 NUGET remote: https://api.nuget.org/v3/index.json - FSharp.Core (8.0.300) + FSharp.Core (8.0.400) Microsoft.AspNetCore (2.2) Microsoft.AspNetCore.Diagnostics (>= 2.2) Microsoft.AspNetCore.HostFiltering (>= 2.2) @@ -80,15 +80,15 @@ NUGET Microsoft.AspNetCore.Authentication.Abstractions (>= 2.2) Microsoft.AspNetCore.Http (>= 2.2) Microsoft.AspNetCore.Http.Extensions (>= 2.2) - Microsoft.AspNetCore.Authorization (8.0.6) - Microsoft.AspNetCore.Metadata (>= 8.0.6) + Microsoft.AspNetCore.Authorization (8.0.8) + Microsoft.AspNetCore.Metadata (>= 8.0.8) Microsoft.Extensions.Logging.Abstractions (>= 8.0.1) Microsoft.Extensions.Options (>= 8.0.2) Microsoft.AspNetCore.Authorization.Policy (2.2) Microsoft.AspNetCore.Authentication.Abstractions (>= 2.2) Microsoft.AspNetCore.Authorization (>= 2.2) - Microsoft.AspNetCore.Connections.Abstractions (8.0.6) - Microsoft.Extensions.Features (>= 8.0.6) + Microsoft.AspNetCore.Connections.Abstractions (8.0.8) + Microsoft.Extensions.Features (>= 8.0.8) System.IO.Pipelines (>= 8.0) Microsoft.AspNetCore.Cors (2.2) Microsoft.AspNetCore.Http.Extensions (>= 2.2) @@ -96,16 +96,16 @@ NUGET Microsoft.Extensions.DependencyInjection.Abstractions (>= 2.2) Microsoft.Extensions.Logging.Abstractions (>= 2.2) Microsoft.Extensions.Options (>= 2.2) - Microsoft.AspNetCore.Cryptography.Internal (8.0.6) - Microsoft.AspNetCore.DataProtection (8.0.6) - Microsoft.AspNetCore.Cryptography.Internal (>= 8.0.6) - Microsoft.AspNetCore.DataProtection.Abstractions (>= 8.0.6) + Microsoft.AspNetCore.Cryptography.Internal (8.0.8) + Microsoft.AspNetCore.DataProtection (8.0.8) + Microsoft.AspNetCore.Cryptography.Internal (>= 8.0.8) + Microsoft.AspNetCore.DataProtection.Abstractions (>= 8.0.8) Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1) Microsoft.Extensions.Hosting.Abstractions (>= 8.0) Microsoft.Extensions.Logging.Abstractions (>= 8.0.1) Microsoft.Extensions.Options (>= 8.0.2) System.Security.Cryptography.Xml (>= 8.0.1) - Microsoft.AspNetCore.DataProtection.Abstractions (8.0.6) + Microsoft.AspNetCore.DataProtection.Abstractions (8.0.8) Microsoft.AspNetCore.Diagnostics (2.2) Microsoft.AspNetCore.Diagnostics.Abstractions (>= 2.2) Microsoft.AspNetCore.Hosting.Abstractions (>= 2.2) @@ -172,7 +172,7 @@ NUGET Microsoft.AspNetCore.Http.Extensions (>= 2.2) Microsoft.Extensions.Configuration.Binder (>= 2.2) Microsoft.Extensions.Options (>= 2.2) - Microsoft.AspNetCore.JsonPatch (8.0.6) + Microsoft.AspNetCore.JsonPatch (8.0.8) Microsoft.CSharp (>= 4.7) Newtonsoft.Json (>= 13.0.3) Microsoft.AspNetCore.Localization (2.2) @@ -180,7 +180,7 @@ NUGET Microsoft.Extensions.Localization.Abstractions (>= 2.2) Microsoft.Extensions.Logging.Abstractions (>= 2.2) Microsoft.Extensions.Options (>= 2.2) - Microsoft.AspNetCore.Metadata (8.0.6) + Microsoft.AspNetCore.Metadata (8.0.8) Microsoft.AspNetCore.Mvc (2.2) Microsoft.AspNetCore.Mvc.Analyzers (>= 2.2) Microsoft.AspNetCore.Mvc.ApiExplorer (>= 2.2) @@ -240,9 +240,9 @@ NUGET Microsoft.CodeAnalysis.Razor (>= 2.2) Microsoft.Extensions.Caching.Memory (>= 2.2) Microsoft.Extensions.FileProviders.Composite (>= 2.2) - Microsoft.AspNetCore.Mvc.Razor.Extensions (6.0.31) - Microsoft.AspNetCore.Razor.Language (>= 6.0.31) - Microsoft.CodeAnalysis.Razor (>= 6.0.31) + Microsoft.AspNetCore.Mvc.Razor.Extensions (6.0.33) + Microsoft.AspNetCore.Razor.Language (>= 6.0.33) + Microsoft.CodeAnalysis.Razor (>= 6.0.33) Microsoft.AspNetCore.Mvc.RazorPages (2.2.5) Microsoft.AspNetCore.Mvc.Razor (>= 2.2) Microsoft.AspNetCore.Mvc.TagHelpers (2.2) @@ -264,7 +264,7 @@ NUGET Microsoft.AspNetCore.Razor (2.2) Microsoft.AspNetCore.Html.Abstractions (>= 2.2) Microsoft.AspNetCore.Razor.Design (2.2) - Microsoft.AspNetCore.Razor.Language (6.0.31) + Microsoft.AspNetCore.Razor.Language (6.0.33) Microsoft.AspNetCore.Razor.Runtime (2.2) Microsoft.AspNetCore.Html.Abstractions (>= 2.2) Microsoft.AspNetCore.Razor (>= 2.2) @@ -326,23 +326,25 @@ NUGET Microsoft.AspNetCore.Hosting.Abstractions (>= 2.2) Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions (>= 2.2) Microsoft.Extensions.Options (>= 2.2) - Microsoft.AspNetCore.WebUtilities (8.0.6) - Microsoft.Net.Http.Headers (>= 8.0.6) + Microsoft.AspNetCore.WebUtilities (8.0.8) + Microsoft.Net.Http.Headers (>= 8.0.8) System.IO.Pipelines (>= 8.0) Microsoft.CodeAnalysis.Analyzers (3.3.4) - Microsoft.CodeAnalysis.Common (4.9.2) + Microsoft.CodeAnalysis.Common (4.11) Microsoft.CodeAnalysis.Analyzers (>= 3.3.4) System.Collections.Immutable (>= 8.0) System.Reflection.Metadata (>= 8.0) - System.Runtime.CompilerServices.Unsafe (>= 6.0) - Microsoft.CodeAnalysis.CSharp (4.9.2) - Microsoft.CodeAnalysis.Common (4.9.2) - Microsoft.CodeAnalysis.Razor (6.0.31) - Microsoft.AspNetCore.Razor.Language (>= 6.0.31) + Microsoft.CodeAnalysis.CSharp (4.11) + Microsoft.CodeAnalysis.Analyzers (>= 3.3.4) + Microsoft.CodeAnalysis.Common (4.11) + System.Collections.Immutable (>= 8.0) + System.Reflection.Metadata (>= 8.0) + Microsoft.CodeAnalysis.Razor (6.0.33) + Microsoft.AspNetCore.Razor.Language (>= 6.0.33) Microsoft.CodeAnalysis.Common (>= 4.0) Microsoft.CodeAnalysis.CSharp (>= 4.0) Microsoft.CSharp (4.7) - Microsoft.Extensions.ApiDescription.Server (8.0.6) + Microsoft.Extensions.ApiDescription.Server (8.0.8) Microsoft.Extensions.Caching.Abstractions (8.0) Microsoft.Extensions.Primitives (>= 8.0) Microsoft.Extensions.Caching.Memory (8.0) @@ -356,7 +358,7 @@ NUGET Microsoft.Extensions.Primitives (>= 8.0) Microsoft.Extensions.Configuration.Abstractions (8.0) Microsoft.Extensions.Primitives (>= 8.0) - Microsoft.Extensions.Configuration.Binder (8.0.1) + Microsoft.Extensions.Configuration.Binder (8.0.2) Microsoft.Extensions.Configuration.Abstractions (>= 8.0) Microsoft.Extensions.Configuration.CommandLine (8.0) Microsoft.Extensions.Configuration (>= 8.0) @@ -364,7 +366,7 @@ NUGET Microsoft.Extensions.Configuration.EnvironmentVariables (8.0) Microsoft.Extensions.Configuration (>= 8.0) Microsoft.Extensions.Configuration.Abstractions (>= 8.0) - Microsoft.Extensions.Configuration.FileExtensions (8.0) + Microsoft.Extensions.Configuration.FileExtensions (8.0.1) Microsoft.Extensions.Configuration (>= 8.0) Microsoft.Extensions.Configuration.Abstractions (>= 8.0) Microsoft.Extensions.FileProviders.Abstractions (>= 8.0) @@ -384,14 +386,14 @@ NUGET Microsoft.Extensions.DependencyInjection (8.0) Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0) Microsoft.Extensions.DependencyInjection.Abstractions (8.0.1) - Microsoft.Extensions.DependencyModel (8.0) + Microsoft.Extensions.DependencyModel (8.0.1) System.Text.Encodings.Web (>= 8.0) - System.Text.Json (>= 8.0) + System.Text.Json (>= 8.0.4) Microsoft.Extensions.Diagnostics.Abstractions (8.0) Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0) Microsoft.Extensions.Options (>= 8.0) System.Diagnostics.DiagnosticSource (>= 8.0) - Microsoft.Extensions.Features (8.0.6) + Microsoft.Extensions.Features (8.0.8) Microsoft.Extensions.FileProviders.Abstractions (8.0) Microsoft.Extensions.Primitives (>= 8.0) Microsoft.Extensions.FileProviders.Composite (8.0) @@ -408,12 +410,12 @@ NUGET Microsoft.Extensions.Diagnostics.Abstractions (>= 8.0) Microsoft.Extensions.FileProviders.Abstractions (>= 8.0) Microsoft.Extensions.Logging.Abstractions (>= 8.0) - Microsoft.Extensions.Localization (8.0.6) + Microsoft.Extensions.Localization (8.0.8) Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1) - Microsoft.Extensions.Localization.Abstractions (>= 8.0.6) + Microsoft.Extensions.Localization.Abstractions (>= 8.0.8) Microsoft.Extensions.Logging.Abstractions (>= 8.0.1) Microsoft.Extensions.Options (>= 8.0.2) - Microsoft.Extensions.Localization.Abstractions (8.0.6) + Microsoft.Extensions.Localization.Abstractions (8.0.8) Microsoft.Extensions.Logging (8.0) Microsoft.Extensions.DependencyInjection (>= 8.0) Microsoft.Extensions.Logging.Abstractions (>= 8.0) @@ -447,7 +449,7 @@ NUGET Microsoft.Extensions.Options (>= 8.0) Microsoft.Extensions.Primitives (>= 8.0) System.Text.Json (>= 8.0) - Microsoft.Extensions.ObjectPool (8.0.6) + Microsoft.Extensions.ObjectPool (8.0.8) Microsoft.Extensions.Options (8.0.2) Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0) Microsoft.Extensions.Primitives (>= 8.0) @@ -458,30 +460,30 @@ NUGET Microsoft.Extensions.Options (>= 8.0) Microsoft.Extensions.Primitives (>= 8.0) Microsoft.Extensions.Primitives (8.0) - Microsoft.Extensions.WebEncoders (8.0.6) + Microsoft.Extensions.WebEncoders (8.0.8) Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.1) Microsoft.Extensions.Options (>= 8.0.2) - Microsoft.Net.Http.Headers (8.0.6) + Microsoft.Net.Http.Headers (8.0.8) Microsoft.Extensions.Primitives (>= 8.0) - Microsoft.OpenApi (1.6.14) + Microsoft.OpenApi (1.6.21) Newtonsoft.Json (13.0.3) Newtonsoft.Json.Bson (1.0.2) Newtonsoft.Json (>= 12.0.1) - Swashbuckle.AspNetCore (6.6.2) + Swashbuckle.AspNetCore (6.7.3) Microsoft.Extensions.ApiDescription.Server (>= 6.0.5) - Swashbuckle.AspNetCore.Swagger (>= 6.6.2) - Swashbuckle.AspNetCore.SwaggerGen (>= 6.6.2) - Swashbuckle.AspNetCore.SwaggerUI (>= 6.6.2) - Swashbuckle.AspNetCore.Swagger (6.6.2) + Swashbuckle.AspNetCore.Swagger (>= 6.7.3) + Swashbuckle.AspNetCore.SwaggerGen (>= 6.7.3) + Swashbuckle.AspNetCore.SwaggerUI (>= 6.7.3) + Swashbuckle.AspNetCore.Swagger (6.7.3) Microsoft.OpenApi (>= 1.6.14) - Swashbuckle.AspNetCore.SwaggerGen (6.6.2) - Swashbuckle.AspNetCore.Swagger (>= 6.6.2) - Swashbuckle.AspNetCore.SwaggerUI (6.6.2) + Swashbuckle.AspNetCore.SwaggerGen (6.7.3) + Swashbuckle.AspNetCore.Swagger (>= 6.7.3) + Swashbuckle.AspNetCore.SwaggerUI (6.7.3) System.Buffers (4.5.1) System.Collections.Immutable (8.0) System.ComponentModel.Annotations (5.0) System.Diagnostics.DiagnosticSource (8.0.1) - System.Formats.Asn1 (8.0) + System.Formats.Asn1 (8.0.1) System.IO.Pipelines (8.0) System.Memory (4.5.5) System.Numerics.Vectors (4.5) @@ -496,7 +498,7 @@ NUGET System.Security.Cryptography.Pkcs (>= 8.0) System.Security.Principal.Windows (5.0) System.Text.Encodings.Web (8.0) - System.Text.Json (8.0.3) + System.Text.Json (8.0.4) System.Text.Encodings.Web (>= 8.0) System.Threading.Tasks.Extensions (4.5.4) @@ -504,35 +506,35 @@ GROUP Test RESTRICTION: == net8.0 NUGET remote: https://api.nuget.org/v3/index.json - FSharp.Compiler.Service (43.8.300) - FSharp.Core (8.0.300) + FSharp.Compiler.Service (43.8.400) + FSharp.Core (8.0.400) System.Buffers (>= 4.5.1) - System.Collections.Immutable (>= 7.0) - System.Diagnostics.DiagnosticSource (>= 7.0.2) + System.Collections.Immutable (>= 8.0) + System.Diagnostics.DiagnosticSource (>= 8.0) System.Memory (>= 4.5.5) System.Reflection.Emit (>= 4.7) - System.Reflection.Metadata (>= 7.0) + System.Reflection.Metadata (>= 8.0) System.Runtime.CompilerServices.Unsafe (>= 6.0) - FSharp.Core (8.0.300) + FSharp.Core (8.0.400) FSharp.SystemTextJson (1.3.13) FSharp.Core (>= 4.7) System.Text.Json (>= 6.0) - FsUnit.xUnit (6.0) + FsUnit.Xunit (6.0) FSharp.Core (>= 5.0.2) NHamcrest (>= 3.4) xunit (>= 2.5.3) - Microsoft.CodeCoverage (17.10) - Microsoft.NET.Test.Sdk (17.10) - Microsoft.CodeCoverage (>= 17.10) - Microsoft.TestPlatform.TestHost (>= 17.10) - Microsoft.OpenApi (1.6.14) - redirects: force - Microsoft.OpenApi.Readers (1.6.14) - redirects: force - Microsoft.OpenApi (>= 1.6.14) + Microsoft.CodeCoverage (17.11.1) + Microsoft.NET.Test.Sdk (17.11.1) + Microsoft.CodeCoverage (>= 17.11.1) + Microsoft.TestPlatform.TestHost (>= 17.11.1) + Microsoft.OpenApi (1.6.21) - redirects: force + Microsoft.OpenApi.Readers (1.6.21) - redirects: force + Microsoft.OpenApi (>= 1.6.21) SharpYaml (>= 2.1.1) - Microsoft.TestPlatform.ObjectModel (17.10) + Microsoft.TestPlatform.ObjectModel (17.11.1) System.Reflection.Metadata (>= 1.6) - Microsoft.TestPlatform.TestHost (17.10) - Microsoft.TestPlatform.ObjectModel (>= 17.10) + Microsoft.TestPlatform.TestHost (17.11.1) + Microsoft.TestPlatform.ObjectModel (>= 17.11.1) Newtonsoft.Json (>= 13.0.1) Newtonsoft.Json (13.0.3) NHamcrest (3.4) @@ -546,19 +548,19 @@ NUGET System.Collections.Immutable (>= 8.0) System.Runtime.CompilerServices.Unsafe (6.0) System.Text.Encodings.Web (8.0) - System.Text.Json (8.0.3) + System.Text.Json (8.0.4) System.Text.Encodings.Web (>= 8.0) - xunit (2.8.1) - xunit.analyzers (>= 1.14) - xunit.assert (>= 2.8.1) - xunit.core (2.8.1) + xunit (2.9) + xunit.analyzers (>= 1.15) + xunit.assert (>= 2.9) + xunit.core (2.9) xunit.abstractions (2.0.3) - xunit.analyzers (1.14) - xunit.assert (2.8.1) - xunit.core (2.8.1) - xunit.extensibility.core (2.8.1) - xunit.extensibility.execution (2.8.1) - xunit.extensibility.core (2.8.1) + xunit.analyzers (1.16) + xunit.assert (2.9) + xunit.core (2.9) + xunit.extensibility.core (2.9) + xunit.extensibility.execution (2.9) + xunit.extensibility.core (2.9) xunit.abstractions (>= 2.0.3) - xunit.extensibility.execution (2.8.1) - xunit.extensibility.core (2.8.1) + xunit.extensibility.execution (2.9) + xunit.extensibility.core (2.9) diff --git a/src/Common/AssemblyInfo.fs b/src/Common/AssemblyInfo.fs index 937c730..ba1a45c 100644 --- a/src/Common/AssemblyInfo.fs +++ b/src/Common/AssemblyInfo.fs @@ -5,13 +5,13 @@ open System.Reflection [] [] [] -[] -[] +[] +[] do () module internal AssemblyVersionInformation = let [] AssemblyTitle = "SwaggerProvider" let [] AssemblyProduct = "SwaggerProvider" let [] AssemblyDescription = "F# Type Provider for Swagger & Open API" - let [] AssemblyVersion = "2.1.2" - let [] AssemblyFileVersion = "2.1.2" + let [] AssemblyVersion = "2.1.3" + let [] AssemblyFileVersion = "2.1.3"