Skip to content

Commit

Permalink
Update open api schema snapshot to fix unit tests (#6708)
Browse files Browse the repository at this point in the history
  • Loading branch information
A360JMaxxgamer authored and michaelstaib committed Dec 11, 2023
1 parent 1b22e42 commit 69bfdfc
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 226 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
Expand Up @@ -16,17 +16,17 @@
},
"Microsoft.OpenApi": {
"type": "Direct",
"requested": "[1.6.6, )",
"resolved": "1.6.6",
"contentHash": "7SE3RTGpdXUN+PkVN4xRrtsATgBI7BpsBvbjg6SykurEinA69vIl4S8DWPeGLaBykaCDq87/Ebf2Ashoh7Ky/g=="
"requested": "[1.6.10, )",
"resolved": "1.6.10",
"contentHash": "bMisSbhJ/YUM0USGLuuFFnBBrrKPVC8JGv1L5zlM5CFD4VatXs6krWia/OSBiTgJeNW/kZ8Jb+ZB3yK7BJhnQw=="
},
"Microsoft.OpenApi.Readers": {
"type": "Direct",
"requested": "[1.6.6, )",
"resolved": "1.6.6",
"contentHash": "yWNvjxTS1lN9Ix91b0+zoOCSTHr2haZSm5qokko7qRKBiVQo+EDqlY+d93pxtCLcIj6LdHe+8AdfPGi7eAwtGA==",
"requested": "[1.6.10, )",
"resolved": "1.6.10",
"contentHash": "KcXwktDYGKFI+lqGdxmOWCqsMOXlAchmXiI/zXEsbFHYYRiCA9whq4SeuRsslwQJJiS9vdC4tS1w5FqfprsUzQ==",
"dependencies": {
"Microsoft.OpenApi": "1.6.6",
"Microsoft.OpenApi": "1.6.10",
"SharpYaml": "2.1.0"
}
},
Expand Down Expand Up @@ -323,17 +323,17 @@
},
"Microsoft.OpenApi": {
"type": "Direct",
"requested": "[1.6.6, )",
"resolved": "1.6.6",
"contentHash": "7SE3RTGpdXUN+PkVN4xRrtsATgBI7BpsBvbjg6SykurEinA69vIl4S8DWPeGLaBykaCDq87/Ebf2Ashoh7Ky/g=="
"requested": "[1.6.10, )",
"resolved": "1.6.10",
"contentHash": "bMisSbhJ/YUM0USGLuuFFnBBrrKPVC8JGv1L5zlM5CFD4VatXs6krWia/OSBiTgJeNW/kZ8Jb+ZB3yK7BJhnQw=="
},
"Microsoft.OpenApi.Readers": {
"type": "Direct",
"requested": "[1.6.6, )",
"resolved": "1.6.6",
"contentHash": "yWNvjxTS1lN9Ix91b0+zoOCSTHr2haZSm5qokko7qRKBiVQo+EDqlY+d93pxtCLcIj6LdHe+8AdfPGi7eAwtGA==",
"requested": "[1.6.10, )",
"resolved": "1.6.10",
"contentHash": "KcXwktDYGKFI+lqGdxmOWCqsMOXlAchmXiI/zXEsbFHYYRiCA9whq4SeuRsslwQJJiS9vdC4tS1w5FqfprsUzQ==",
"dependencies": {
"Microsoft.OpenApi": "1.6.6",
"Microsoft.OpenApi": "1.6.10",
"SharpYaml": "2.1.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
Loading

0 comments on commit 69bfdfc

Please sign in to comment.