Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<VersionPrefix>14.6.3</VersionPrefix>
<VersionPrefix>14.7.0</VersionPrefix>

<Authors>Rico Suter</Authors>
<Copyright>Copyright © Rico Suter, 2025</Copyright>
Expand Down
14 changes: 7 additions & 7 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
<PackageVersion Include="Moq" Version="4.20.72" />
<PackageVersion Include="MyToolkit" Version="2.5.16" />
<PackageVersion Include="MyToolkit.Extended" Version="2.5.16" />
<PackageVersion Include="Namotion.Reflection" Version="3.4.3" />
<PackageVersion Include="Namotion.Reflection" Version="3.5.0" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="NJsonSchema" Version="11.5.2" />
<PackageVersion Include="NJsonSchema.CodeGeneration" Version="11.5.2" />
<PackageVersion Include="NJsonSchema.CodeGeneration.CSharp" Version="11.5.2" />
<PackageVersion Include="NJsonSchema.CodeGeneration.TypeScript" Version="11.5.2" />
<PackageVersion Include="NJsonSchema.NewtonsoftJson" Version="11.5.2" />
<PackageVersion Include="NJsonSchema.Yaml" Version="11.5.2" />
<PackageVersion Include="NJsonSchema" Version="11.6.0" />
<PackageVersion Include="NJsonSchema.CodeGeneration" Version="11.6.0" />
<PackageVersion Include="NJsonSchema.CodeGeneration.CSharp" Version="11.6.0" />
<PackageVersion Include="NJsonSchema.CodeGeneration.TypeScript" Version="11.6.0" />
<PackageVersion Include="NJsonSchema.NewtonsoftJson" Version="11.6.0" />
<PackageVersion Include="NJsonSchema.Yaml" Version="11.6.0" />
<PackageVersion Include="System.Runtime.Loader" Version="4.0.0" />
<PackageVersion Include="Verify.XunitV3" Version="30.5.0" />
<PackageVersion Include="xunit.v3" Version="3.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ namespace MyNamespace
}

[Microsoft.AspNetCore.Mvc.Route("virtual_directory/v1")]

public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
{
private IController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ namespace MyNamespace
}

[Microsoft.AspNetCore.Mvc.Route("v1")]

public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
{
private IController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ namespace MyNamespace

}


public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
{
private IController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ namespace MyNamespace

}


public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
{
private IController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ namespace MyNamespace

}


public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
{
private IController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace MyNamespace
{
using System = global::System;


public abstract class ControllerBase : Microsoft.AspNetCore.Mvc.ControllerBase
{
[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("logo")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace MyNamespace
{
using System = global::System;


public abstract class TestControllerBase : Microsoft.AspNetCore.Mvc.ControllerBase
{
[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("Foo")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace MyNamespace
{
using System = global::System;


public abstract class TestControllerBase : Microsoft.AspNetCore.Mvc.ControllerBase
{
[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("Foo")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace MyNamespace

}


public partial class TestController : System.Web.Http.ApiController
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace MyNamespace
{
using System = global::System;


public abstract class TestControllerBase : Microsoft.AspNetCore.Mvc.ControllerBase
{
[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("Foo")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace MyNamespace
{
using System = global::System;


public abstract class TestControllerBase : Microsoft.AspNetCore.Mvc.ControllerBase
{
[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("Foo")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace MyNamespace
{
using System = global::System;


public abstract class ControllerBase : System.Web.Http.ApiController
{
[System.Web.Http.HttpGet, System.Web.Http.Route("Foo")]
Expand All @@ -27,7 +26,6 @@ namespace MyNamespace

}


public abstract class SecondaryControllerBase : System.Web.Http.ApiController
{
[System.Web.Http.HttpPost, System.Web.Http.Route("HeaderParamRequired")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace MyNamespace
{
using System = global::System;


public abstract class TestControllerBase : Microsoft.AspNetCore.Mvc.ControllerBase
{
[Microsoft.AspNetCore.Mvc.HttpPost, Microsoft.AspNetCore.Mvc.Route("Foo")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace MyNamespace
{
using System = global::System;


public abstract class TestControllerBase : Microsoft.AspNetCore.Mvc.ControllerBase
{
[Microsoft.AspNetCore.Mvc.HttpPost, Microsoft.AspNetCore.Mvc.Route("Foo")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ namespace MyNamespace
{
using System = global::System;


public abstract class TestControllerBase : Microsoft.AspNetCore.Mvc.ControllerBase
{
[Microsoft.AspNetCore.Mvc.HttpPost, Microsoft.AspNetCore.Mvc.Route("Foo")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ namespace MyNamespace
[Newtonsoft.Json.JsonProperty("RequiredByAttribute", Required = Newtonsoft.Json.Required.Always)]
public int RequiredByAttribute { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public string RequiredByC11Keyword { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByAttributeAndC11Keyword", Required = Newtonsoft.Json.Required.Always)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ namespace MyNamespace
[Newtonsoft.Json.JsonProperty("RequiredByAttribute", Required = Newtonsoft.Json.Required.Always)]
public int RequiredByAttribute { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public string RequiredByC11Keyword { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByAttributeAndC11Keyword", Required = Newtonsoft.Json.Required.Always)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ namespace MyNamespace
[Newtonsoft.Json.JsonProperty("RequiredByAttribute", Required = Newtonsoft.Json.Required.Always)]
public int RequiredByAttribute { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public string RequiredByC11Keyword { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByAttributeAndC11Keyword", Required = Newtonsoft.Json.Required.Always)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,9 @@ namespace MyNamespace
[Newtonsoft.Json.JsonProperty("RequiredByAttribute", Required = Newtonsoft.Json.Required.Always)]
public required int RequiredByAttribute { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string RequiredByC11Keyword { get; set; }
[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public required string RequiredByC11Keyword { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByAttributeAndC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,9 @@ namespace MyNamespace
[Newtonsoft.Json.JsonProperty("RequiredByAttribute", Required = Newtonsoft.Json.Required.Always)]
public required int RequiredByAttribute { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string RequiredByC11Keyword { get; set; }
[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public required string RequiredByC11Keyword { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByAttributeAndC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ namespace MyNamespace
[Newtonsoft.Json.JsonProperty("RequiredByAttribute", Required = Newtonsoft.Json.Required.Always)]
public int RequiredByAttribute { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public string RequiredByC11Keyword { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByAttributeAndC11Keyword", Required = Newtonsoft.Json.Required.Always)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ namespace MyNamespace
[Newtonsoft.Json.JsonProperty("RequiredByAttribute", Required = Newtonsoft.Json.Required.Always)]
public int RequiredByAttribute { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public string RequiredByC11Keyword { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByAttributeAndC11Keyword", Required = Newtonsoft.Json.Required.Always)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ namespace MyNamespace
[Newtonsoft.Json.JsonProperty("RequiredByAttribute", Required = Newtonsoft.Json.Required.Always)]
public int RequiredByAttribute { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public string RequiredByC11Keyword { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByAttributeAndC11Keyword", Required = Newtonsoft.Json.Required.Always)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,9 @@ namespace MyNamespace
[Newtonsoft.Json.JsonProperty("RequiredByAttribute", Required = Newtonsoft.Json.Required.Always)]
public required int RequiredByAttribute { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string RequiredByC11Keyword { get; set; }
[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public required string RequiredByC11Keyword { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByAttributeAndC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,9 @@ namespace MyNamespace
[Newtonsoft.Json.JsonProperty("RequiredByAttribute", Required = Newtonsoft.Json.Required.Always)]
public required int RequiredByAttribute { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
public string RequiredByC11Keyword { get; set; }
[Newtonsoft.Json.JsonProperty("RequiredByC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
public required string RequiredByC11Keyword { get; set; }

[Newtonsoft.Json.JsonProperty("RequiredByAttributeAndC11Keyword", Required = Newtonsoft.Json.Required.Always)]
[System.ComponentModel.DataAnnotations.Required]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ namespace MyNamespace

}


public partial class TestController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private ITestController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ namespace MyNamespace
}

[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]

public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
{
private IController _implementation;
Expand Down Expand Up @@ -92,7 +91,6 @@ namespace MyNamespace
}

[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]

public partial class ExampleController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private IExampleController _implementation;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ namespace MyNamespace
}

[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]

public partial class ValuesController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private IValuesController _implementation;
Expand Down
Loading
Loading