Skip to content

Commit

Permalink
remove swashbuckle references which caused generation issues when bui…
Browse files Browse the repository at this point in the history
…lding multiple target frameworks at once
  • Loading branch information
A360JMaxxgamer committed Nov 19, 2023
1 parent ec6f54e commit f1f8d45
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.OpenApi" Version="1.6.6" />
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.6" />
<PackageReference Include="Microsoft.OpenApi" Version="1.6.10" />
<PackageReference Include="Microsoft.OpenApi.Readers" Version="1.6.10" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net7.0'">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Mvc;
using Swashbuckle.AspNetCore.Annotations;

namespace HotChocolate.OpenApi.Tests.Controller;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,4 @@
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0"/>
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerGen" Version="6.5.0"/>
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="6.5.0"/>
<PackageReference Include="Swashbuckle.AspNetCore.Annotations" Version="6.5.0" />
<PackageReference Include="Swashbuckle.AspNetCore.Newtonsoft" Version="6.5.0"/>
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
using System.Text.Json;
using CookieCrumble;
using HotChocolate.Execution;
using HotChocolate.Execution.Processing;
using Microsoft.AspNetCore.TestHost;
using Moq;
using Xunit;
using static System.IO.Path;

[assembly: CollectionBehavior(DisableTestParallelization = true)]

namespace HotChocolate.OpenApi.Tests;

[Collection("Open api integration tests")]
Expand Down

0 comments on commit f1f8d45

Please sign in to comment.