diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 54a69ed..b7c23a7 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -42,7 +42,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v7 with: fetch-depth: 2 @@ -57,7 +57,7 @@ jobs: # queries: ./path/to/local/query, your-org/your-repo/queries@main - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v6 with: dotnet-version: 8.0.x include-prerelease: false diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml index 4a37eeb..63f23c7 100644 --- a/.github/workflows/dependency-review.yml +++ b/.github/workflows/dependency-review.yml @@ -9,6 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' - uses: actions/checkout@v3 + uses: actions/checkout@v7 + - name: 'Dependency Review' - uses: actions/dependency-review-action@v1 \ No newline at end of file + uses: actions/dependency-review-action@v5 \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fddb0ef..2c0c900 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -31,19 +31,19 @@ on: jobs: build-sdk: - name: Build (SDK projects) — Ubuntu + name: Build (SDK projects) - Ubuntu runs-on: ubuntu-latest defaults: run: shell: bash steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 1 - name: Setup .NET SDK - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: dotnet-version: 8.0.x include-prerelease: false @@ -79,19 +79,19 @@ jobs: done build-legacy: - name: Build (Legacy .NET Framework) — Windows + name: Build (Legacy .NET Framework) - Windows runs-on: windows-latest defaults: run: shell: powershell steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 1 - name: Setup .NET SDK - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: dotnet-version: 8.0.x include-prerelease: false diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index b66f274..5bf2047 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -28,12 +28,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: fetch-depth: 10 - name: Setup .NET 8 SDK - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: dotnet-version: 8.0.x include-prerelease: false diff --git a/TBC.OpenAPI.SDK.Core.sln b/TBC.OpenAPI.SDK.Core.sln index 5a01d49..6415a43 100644 --- a/TBC.OpenAPI.SDK.Core.sln +++ b/TBC.OpenAPI.SDK.Core.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.0.31919.166 +# Visual Studio Version 18 +VisualStudioVersion = 18.7.11925.98 stable MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{F068D92C-EC84-452F-BF81-BD548EAE5BAF}" EndProject diff --git a/examples/UsageExample1/UsageExample1.csproj b/examples/UsageExample1/UsageExample1.csproj index 25a428a..e8b51e9 100644 --- a/examples/UsageExample1/UsageExample1.csproj +++ b/examples/UsageExample1/UsageExample1.csproj @@ -7,7 +7,7 @@ - + diff --git a/examples/UsageExample2/UsageExample2.csproj b/examples/UsageExample2/UsageExample2.csproj index 7e175aa..6294b80 100644 --- a/examples/UsageExample2/UsageExample2.csproj +++ b/examples/UsageExample2/UsageExample2.csproj @@ -7,6 +7,12 @@ enable + + + + + + diff --git a/examples/UsageExample3/UsageExample3.csproj b/examples/UsageExample3/UsageExample3.csproj index 0018878..ae40277 100644 --- a/examples/UsageExample3/UsageExample3.csproj +++ b/examples/UsageExample3/UsageExample3.csproj @@ -47,36 +47,36 @@ MinimumRecommendedRules.ruleset - - ..\..\packages\Microsoft.Bcl.AsyncInterfaces.10.0.4\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll + + ..\..\packages\Microsoft.Bcl.AsyncInterfaces.10.0.10\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll ..\..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.4.1.0\lib\net472\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll - - ..\..\packages\Microsoft.Extensions.Configuration.Abstractions.10.0.4\lib\net462\Microsoft.Extensions.Configuration.Abstractions.dll + + ..\..\packages\Microsoft.Extensions.Configuration.Abstractions.10.0.10\lib\net462\Microsoft.Extensions.Configuration.Abstractions.dll - - ..\..\packages\Microsoft.Extensions.DependencyInjection.10.0.4\lib\net462\Microsoft.Extensions.DependencyInjection.dll + + ..\..\packages\Microsoft.Extensions.DependencyInjection.10.0.10\lib\net462\Microsoft.Extensions.DependencyInjection.dll - - ..\..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.10.0.4\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll + + ..\..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.10.0.10\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll - - ..\..\packages\Microsoft.Extensions.Http.10.0.4\lib\net462\Microsoft.Extensions.Http.dll + + ..\..\packages\Microsoft.Extensions.Http.10.0.10\lib\net462\Microsoft.Extensions.Http.dll - - ..\..\packages\Microsoft.Extensions.Logging.10.0.4\lib\net462\Microsoft.Extensions.Logging.dll + + ..\..\packages\Microsoft.Extensions.Logging.10.0.10\lib\net462\Microsoft.Extensions.Logging.dll - - ..\..\packages\Microsoft.Extensions.Logging.Abstractions.10.0.4\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll + + ..\..\packages\Microsoft.Extensions.Logging.Abstractions.10.0.10\lib\net462\Microsoft.Extensions.Logging.Abstractions.dll - - ..\..\packages\Microsoft.Extensions.Options.10.0.4\lib\net462\Microsoft.Extensions.Options.dll + + ..\..\packages\Microsoft.Extensions.Options.10.0.10\lib\net462\Microsoft.Extensions.Options.dll - - ..\..\packages\Microsoft.Extensions.Primitives.10.0.4\lib\net462\Microsoft.Extensions.Primitives.dll + + ..\..\packages\Microsoft.Extensions.Primitives.10.0.10\lib\net462\Microsoft.Extensions.Primitives.dll ..\..\packages\Microsoft.Web.Infrastructure.2.0.0\lib\net40\Microsoft.Web.Infrastructure.dll @@ -87,12 +87,12 @@ - - ..\..\packages\System.Diagnostics.DiagnosticSource.10.0.4\lib\net462\System.Diagnostics.DiagnosticSource.dll + + ..\..\packages\System.Diagnostics.DiagnosticSource.10.0.10\lib\net462\System.Diagnostics.DiagnosticSource.dll - - ..\..\packages\System.IO.Pipelines.10.0.4\lib\net462\System.IO.Pipelines.dll + + ..\..\packages\System.IO.Pipelines.10.0.10\lib\net462\System.IO.Pipelines.dll ..\..\packages\System.Memory.4.6.3\lib\net462\System.Memory.dll @@ -107,11 +107,11 @@ ..\..\packages\System.Runtime.CompilerServices.Unsafe.6.1.2\lib\net462\System.Runtime.CompilerServices.Unsafe.dll - - ..\..\packages\System.Text.Encodings.Web.10.0.4\lib\net462\System.Text.Encodings.Web.dll + + ..\..\packages\System.Text.Encodings.Web.10.0.10\lib\net462\System.Text.Encodings.Web.dll - - ..\..\packages\System.Text.Json.10.0.4\lib\net462\System.Text.Json.dll + + ..\..\packages\System.Text.Json.10.0.10\lib\net462\System.Text.Json.dll ..\..\packages\System.Threading.Tasks.Extensions.4.6.3\lib\net462\System.Threading.Tasks.Extensions.dll @@ -164,15 +164,11 @@ ..\..\packages\Antlr.3.5.0.2\lib\Antlr3.Runtime.dll - - ..\..\packages\TBC.OpenAPI.SDK.Core.1.1.0\lib\netstandard2.0\TBC.OpenAPI.SDK.Core.dll + + ..\..\packages\TBC.OpenAPI.SDK.Core.3.0.3\lib\netstandard2.0\TBC.OpenAPI.SDK.Core.dll - - ..\..\packages\TBC.OpenAPI.SDK.ExampleClient.1.1.0\lib\netstandard2.0\TBC.OpenAPI.SDK.ExampleClient.dll - - - - ..\..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + ..\..\packages\TBC.OpenAPI.SDK.ExampleClient.3.0.3\lib\netstandard2.0\TBC.OpenAPI.SDK.ExampleClient.dll @@ -199,25 +195,6 @@ - - - - - - - - - - - - - - - - - - - diff --git a/examples/UsageExample3/Web.config b/examples/UsageExample3/Web.config index 5f5c50c..4ca6877 100644 --- a/examples/UsageExample3/Web.config +++ b/examples/UsageExample3/Web.config @@ -46,11 +46,11 @@ - + - + @@ -66,7 +66,7 @@ - + @@ -86,15 +86,15 @@ - + - + - + diff --git a/examples/UsageExample3/packages.config b/examples/UsageExample3/packages.config index 5bc701e..dbf354d 100644 --- a/examples/UsageExample3/packages.config +++ b/examples/UsageExample3/packages.config @@ -9,29 +9,29 @@ - + - - - - - - - - + + + + + + + + - - + + - - + + - - + + \ No newline at end of file diff --git a/examples/UsageExample4/UsageExample4.csproj b/examples/UsageExample4/UsageExample4.csproj index 25a428a..e8b51e9 100644 --- a/examples/UsageExample4/UsageExample4.csproj +++ b/examples/UsageExample4/UsageExample4.csproj @@ -7,7 +7,7 @@ - + diff --git a/tests/TBC.OpenAPI.SDK.Core.Tests/TBC.OpenAPI.SDK.Core.Tests.csproj b/tests/TBC.OpenAPI.SDK.Core.Tests/TBC.OpenAPI.SDK.Core.Tests.csproj index b93c6b3..d73fec8 100644 --- a/tests/TBC.OpenAPI.SDK.Core.Tests/TBC.OpenAPI.SDK.Core.Tests.csproj +++ b/tests/TBC.OpenAPI.SDK.Core.Tests/TBC.OpenAPI.SDK.Core.Tests.csproj @@ -8,21 +8,21 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - + runtime; build; native; contentfiles; analyzers; buildtransitive all