Skip to content

Commit b108f11

Browse files
authored
Update to NJsonSchema v11.6.0 and Namotion.Reflection v3.5.0 (v14.7.0) (#5357)
* Update to NJsonSchema v11.6.0 and Namotion.Reflection v3.5.0 * v14.7.0 * test: Improve process output handling to prevent deadlocks
1 parent eac9c1f commit b108f11

File tree

47 files changed

+40
-63
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+40
-63
lines changed

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionPrefix>14.6.3</VersionPrefix>
3+
<VersionPrefix>14.7.0</VersionPrefix>
44

55
<Authors>Rico Suter</Authors>
66
<Copyright>Copyright © Rico Suter, 2025</Copyright>

Directory.Packages.props

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
<PackageVersion Include="Moq" Version="4.20.72" />
2222
<PackageVersion Include="MyToolkit" Version="2.5.16" />
2323
<PackageVersion Include="MyToolkit.Extended" Version="2.5.16" />
24-
<PackageVersion Include="Namotion.Reflection" Version="3.4.3" />
24+
<PackageVersion Include="Namotion.Reflection" Version="3.5.0" />
2525
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
26-
<PackageVersion Include="NJsonSchema" Version="11.5.2" />
27-
<PackageVersion Include="NJsonSchema.CodeGeneration" Version="11.5.2" />
28-
<PackageVersion Include="NJsonSchema.CodeGeneration.CSharp" Version="11.5.2" />
29-
<PackageVersion Include="NJsonSchema.CodeGeneration.TypeScript" Version="11.5.2" />
30-
<PackageVersion Include="NJsonSchema.NewtonsoftJson" Version="11.5.2" />
31-
<PackageVersion Include="NJsonSchema.Yaml" Version="11.5.2" />
26+
<PackageVersion Include="NJsonSchema" Version="11.6.0" />
27+
<PackageVersion Include="NJsonSchema.CodeGeneration" Version="11.6.0" />
28+
<PackageVersion Include="NJsonSchema.CodeGeneration.CSharp" Version="11.6.0" />
29+
<PackageVersion Include="NJsonSchema.CodeGeneration.TypeScript" Version="11.6.0" />
30+
<PackageVersion Include="NJsonSchema.NewtonsoftJson" Version="11.6.0" />
31+
<PackageVersion Include="NJsonSchema.Yaml" Version="11.6.0" />
3232
<PackageVersion Include="System.Runtime.Loader" Version="4.0.0" />
3333
<PackageVersion Include="Verify.XunitV3" Version="30.5.0" />
3434
<PackageVersion Include="xunit.v3" Version="3.0.0" />

src/NSwag.CodeGeneration.CSharp.Tests/Controllers/Snapshots/ControllerGenerationBasePathTests.When_custom_BasePath_is_not_specified_then_the_BasePath_from_document_is_used_as_Route.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ namespace MyNamespace
1717
}
1818

1919
[Microsoft.AspNetCore.Mvc.Route("virtual_directory/v1")]
20-
2120
public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
2221
{
2322
private IController _implementation;

src/NSwag.CodeGeneration.CSharp.Tests/Controllers/Snapshots/ControllerGenerationBasePathTests.When_custom_BasePath_is_specified_then_that_is_used_as_Route.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ namespace MyNamespace
1717
}
1818

1919
[Microsoft.AspNetCore.Mvc.Route("v1")]
20-
2120
public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
2221
{
2322
private IController _implementation;

src/NSwag.CodeGeneration.CSharp.Tests/Controllers/Snapshots/ControllerGenerationDefaultParameterTests.When_parameter_has_default_then_set_in_partial_controller.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ namespace MyNamespace
1717

1818
}
1919

20-
2120
public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
2221
{
2322
private IController _implementation;

src/NSwag.CodeGeneration.CSharp.Tests/Snapshots/BinaryTests.When_body_is_binary_array_then_IFormFile_Collection_is_used_as_parameter_in_CSharp_ASPNETCore.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ namespace MyNamespace
1414

1515
}
1616

17-
1817
public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
1918
{
2019
private IController _implementation;

src/NSwag.CodeGeneration.CSharp.Tests/Snapshots/BinaryTests.When_body_is_binary_then_IFormFile_is_used_as_parameter_in_CSharp_ASPNETCore.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ namespace MyNamespace
1414

1515
}
1616

17-
1817
public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
1918
{
2019
private IController _implementation;

src/NSwag.CodeGeneration.CSharp.Tests/Snapshots/BinaryTests.When_response_body_is_binary_then_IActionResult_is_used_as_return_type_in_CSharp_ASPNETCore.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ namespace MyNamespace
44
{
55
using System = global::System;
66

7-
87
public abstract class ControllerBase : Microsoft.AspNetCore.Mvc.ControllerBase
98
{
109
[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("logo")]

src/NSwag.CodeGeneration.CSharp.Tests/Snapshots/ControllerGenerationFormatTests.When_aspnet_actiontype_inuse_with_abstract_then_actiontype_is_generated.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ namespace MyNamespace
44
{
55
using System = global::System;
66

7-
87
public abstract class TestControllerBase : Microsoft.AspNetCore.Mvc.ControllerBase
98
{
109
[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("Foo")]

src/NSwag.CodeGeneration.CSharp.Tests/Snapshots/ControllerGenerationFormatTests.When_aspnet_actiontype_inuse_with_partial_then_actiontype_is_generated.verified.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ namespace MyNamespace
3232

3333
}
3434

35-
3635
public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
3736
{
3837
private ITestController _implementation;

0 commit comments

Comments
 (0)