Skip to content

Commit 3d6a413

Browse files
Revert breaking OpenAPI v3.x upgrades and fix Spectre.Console.Cli signature (#287)
* Initial plan * Revert OpenAPI package upgrades and fix Spectre.Console.Cli breaking change Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: christianhelle <710400+christianhelle@users.noreply.github.com>
1 parent 74e923b commit 3d6a413

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/HttpGenerator.Core/HttpGenerator.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
<ItemGroup>
1616
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
17-
<PackageReference Include="Microsoft.OpenApi" Version="3.0.1" />
17+
<PackageReference Include="Microsoft.OpenApi" Version="1.6.28" />
1818
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.28" />
1919
<PackageReference Include="Microsoft.Extensions.Azure" Version="1.13.1" />
2020
<PackageReference Include="System.Text.Json" Version="9.0.10" />

src/HttpGenerator/GenerateCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class GenerateCommand : AsyncCommand<Settings>
1313
{
1414
private static readonly string Crlf = Environment.NewLine;
1515

16-
public override async Task<int> ExecuteAsync(CommandContext context, Settings settings)
16+
public override async Task<int> ExecuteAsync(CommandContext context, Settings settings, CancellationToken cancellationToken = default)
1717
{
1818
Analytics.Configure(settings);
1919

src/HttpGenerator/HttpGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<ItemGroup>
1616
<PackageReference Include="Exceptionless" Version="6.1.0" />
1717
<PackageReference Include="Microsoft.ApplicationInsights.WindowsServer" Version="2.23.0" />
18-
<PackageReference Include="Microsoft.OpenApi.OData" Version="3.0.0" />
18+
<PackageReference Include="Microsoft.OpenApi.OData" Version="1.7.5" />
1919
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.28" />
2020
<PackageReference Include="Spectre.Console.Cli" Version="0.53.0" />
2121
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />

0 commit comments

Comments
 (0)