Skip to content

Commit 3e2d467

Browse files
committed
Reorganise SchemaProperties test folders
1 parent d44609e commit 3e2d467

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

test/OpenApiClientTests/OpenApiClientTests.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@
5252
<CodeGenerator>NSwagCSharp</CodeGenerator>
5353
<Options>/UseBaseUrl:false /ClientClassAccessModifier:internal /GenerateExceptionClasses:false /AdditionalNamespaceUsages:JsonApiDotNetCore.OpenApi.Client.Exceptions</Options>
5454
</OpenApiReference>
55-
<OpenApiReference Include="SchemaProperties\NullableReferenceTypesEnabled\swagger.g.json">
56-
<Namespace>OpenApiClientTests.SchemaProperties.NullableReferenceTypesEnabled.GeneratedCode</Namespace>
55+
<OpenApiReference Include="SchemaProperties\AttributesObject\NullableReferenceTypesEnabled\swagger.g.json">
56+
<Namespace>OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesEnabled.GeneratedCode</Namespace>
5757
<ClassName>NullableReferenceTypesEnabledClient</ClassName>
5858
<OutputPath>NullableReferenceTypesEnabledClient.cs</OutputPath>
5959
<CodeGenerator>NSwagCSharp</CodeGenerator>
6060
<Options>/UseBaseUrl:false /ClientClassAccessModifier:internal /GenerateExceptionClasses:false /AdditionalNamespaceUsages:JsonApiDotNetCore.OpenApi.Client.Exceptions /GenerateNullableReferenceTypes:true</Options>
6161
</OpenApiReference>
62-
<OpenApiReference Include="SchemaProperties\NullableReferenceTypesDisabled\swagger.g.json">
63-
<Namespace>OpenApiClientTests.SchemaProperties.NullableReferenceTypesDisabled.GeneratedCode</Namespace>
62+
<OpenApiReference Include="SchemaProperties\AttributesObject\NullableReferenceTypesDisabled\swagger.g.json">
63+
<Namespace>OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesDisabled.GeneratedCode</Namespace>
6464
<ClassName>NullableReferenceTypesDisabledClient</ClassName>
6565
<OutputPath>NullableReferenceTypesDisabledClient.cs</OutputPath>
6666
<CodeGenerator>NSwagCSharp</CodeGenerator>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using JsonApiDotNetCore.OpenApi.Client;
22
using Newtonsoft.Json;
33

4-
namespace OpenApiClientTests.SchemaProperties.NullableReferenceTypesDisabled.GeneratedCode;
4+
namespace OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesDisabled.GeneratedCode;
55

66
internal partial class NullableReferenceTypesDisabledClient : JsonApiClient
77
{

test/OpenApiClientTests/SchemaProperties/NullableReferenceTypesDisabled/NullabilityTests.cs renamed to test/OpenApiClientTests/SchemaProperties/AttributesObject/NullableReferenceTypesDisabled/NullabilityTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System.Reflection;
22
using FluentAssertions;
3-
using OpenApiClientTests.SchemaProperties.NullableReferenceTypesDisabled.GeneratedCode;
3+
using OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesDisabled.GeneratedCode;
44
using Xunit;
55

6-
namespace OpenApiClientTests.SchemaProperties.NullableReferenceTypesDisabled;
6+
namespace OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesDisabled;
77

88
public sealed class NullabilityTests
99
{

test/OpenApiClientTests/SchemaProperties/NullableReferenceTypesDisabled/RequiredAttributesTests.cs renamed to test/OpenApiClientTests/SchemaProperties/AttributesObject/NullableReferenceTypesDisabled/RequiredAttributesTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
using JsonApiDotNetCore.Middleware;
55
using Microsoft.Net.Http.Headers;
66
using Newtonsoft.Json;
7-
using OpenApiClientTests.SchemaProperties.NullableReferenceTypesDisabled.GeneratedCode;
7+
using OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesDisabled.GeneratedCode;
88
using TestBuildingBlocks;
99
using Xunit;
1010

11-
namespace OpenApiClientTests.SchemaProperties.NullableReferenceTypesDisabled;
11+
namespace OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesDisabled;
1212

1313
public sealed class RequiredAttributesTests
1414
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using JsonApiDotNetCore.OpenApi.Client;
22
using Newtonsoft.Json;
33

4-
namespace OpenApiClientTests.SchemaProperties.NullableReferenceTypesEnabled.GeneratedCode;
4+
namespace OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesEnabled.GeneratedCode;
55

66
internal partial class NullableReferenceTypesEnabledClient : JsonApiClient
77
{

test/OpenApiClientTests/SchemaProperties/NullableReferenceTypesEnabled/NullabilityTests.cs renamed to test/OpenApiClientTests/SchemaProperties/AttributesObject/NullableReferenceTypesEnabled/NullabilityTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System.Reflection;
22
using FluentAssertions;
3-
using OpenApiClientTests.SchemaProperties.NullableReferenceTypesEnabled.GeneratedCode;
3+
using OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesEnabled.GeneratedCode;
44
using Xunit;
55

6-
namespace OpenApiClientTests.SchemaProperties.NullableReferenceTypesEnabled;
6+
namespace OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesEnabled;
77

88
public sealed class NullabilityTests
99
{

test/OpenApiClientTests/SchemaProperties/NullableReferenceTypesEnabled/RequiredAttributesTests.cs renamed to test/OpenApiClientTests/SchemaProperties/AttributesObject/NullableReferenceTypesEnabled/RequiredAttributesTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
using JsonApiDotNetCore.Middleware;
55
using Microsoft.Net.Http.Headers;
66
using Newtonsoft.Json;
7-
using OpenApiClientTests.SchemaProperties.NullableReferenceTypesEnabled.GeneratedCode;
7+
using OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesEnabled.GeneratedCode;
88
using TestBuildingBlocks;
99
using Xunit;
1010

11-
namespace OpenApiClientTests.SchemaProperties.NullableReferenceTypesEnabled;
11+
namespace OpenApiClientTests.SchemaProperties.AttributesObject.NullableReferenceTypesEnabled;
1212

1313
public sealed class RequiredAttributesTests
1414
{

test/OpenApiTests/SchemaProperties/NullableReferenceTypesDisabled/NullabilityTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public NullabilityTests(OpenApiTestContext<OpenApiStartup<NullableReferenceTypes
1515
_testContext = testContext;
1616

1717
testContext.UseController<ChickensController>();
18-
testContext.SwaggerDocumentOutputPath = "test/OpenApiClientTests/SchemaProperties/NullableReferenceTypesDisabled";
18+
testContext.SwaggerDocumentOutputPath = "test/OpenApiClientTests/SchemaProperties/AttributesObject/NullableReferenceTypesDisabled";
1919
}
2020

2121
[Fact]

0 commit comments

Comments
 (0)