Skip to content

Commit

Permalink
Increment global version number to 14.0.1 (RicoSuter#4700)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahma committed Jun 13, 2024
1 parent 906b4ce commit 6e499b5
Show file tree
Hide file tree
Showing 23 changed files with 2,196 additions and 81 deletions.
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.0.0</VersionPrefix>
<VersionPrefix>14.0.1</VersionPrefix>

<Authors>Rico Suter</Authors>
<Copyright>Copyright © Rico Suter, 2023</Copyright>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//----------------------
// <auto-generated>
// Generated using the NSwag toolchain v14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
// Generated using the NSwag toolchain (http://NSwag.org)
// </auto-generated>
//----------------------

Expand All @@ -20,7 +20,7 @@ namespace MyNamespace
{
using System = global::System;

[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public partial class Client
{
#pragma warning disable 8618 // Set by constructor via BaseUrl property
Expand Down Expand Up @@ -494,7 +494,7 @@ namespace MyNamespace
}
}

[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public partial class ExampleClient
{
#pragma warning disable 8618 // Set by constructor via BaseUrl property
Expand Down Expand Up @@ -723,7 +723,7 @@ namespace MyNamespace



[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public partial class FileResponse : System.IDisposable
{
private System.IDisposable _client;
Expand Down Expand Up @@ -760,7 +760,7 @@ namespace MyNamespace
}


[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public partial class ApiException : System.Exception
{
public int StatusCode { get; private set; }
Expand All @@ -783,7 +783,7 @@ namespace MyNamespace
}
}

[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public partial class ApiException<TResult> : ApiException
{
public TResult Result { get; private set; }
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//----------------------
// <auto-generated>
// Generated using the NSwag toolchain v14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
// Generated using the NSwag toolchain (http://NSwag.org)
// </auto-generated>
//----------------------

Expand All @@ -20,7 +20,7 @@ namespace MyNamespace
{
using System = global::System;

[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public interface IController
{

Expand All @@ -38,7 +38,7 @@ namespace MyNamespace

}

[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]

public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
{
Expand Down Expand Up @@ -79,15 +79,15 @@ namespace MyNamespace

}

[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public interface IExampleController
{

System.Threading.Tasks.Task<FileResult> GetAsync();

}

[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]

public partial class ExampleController : Microsoft.AspNetCore.Mvc.ControllerBase
{
Expand All @@ -109,7 +109,7 @@ namespace MyNamespace



[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public partial class FileResponse : System.IDisposable
{
private System.IDisposable _client;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
//----------------------
// <auto-generated>
// Generated using the NSwag toolchain (http://NSwag.org)
// </auto-generated>
//----------------------

#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase}.ToJson()'. Use the new keyword if hiding was intended."
#pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword."
#pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?'
#pragma warning disable 612 // Disable "CS0612 '...' is obsolete"
#pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ...
#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..."
#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'"
#pragma warning disable 3016 // Disable "CS3016 Arrays as attribute arguments is not CLS-compliant"
#pragma warning disable 8603 // Disable "CS8603 Possible null reference return"
#pragma warning disable 8604 // Disable "CS8604 Possible null reference argument for parameter"
#pragma warning disable 8625 // Disable "CS8625 Cannot convert null literal to non-nullable reference type"

namespace MyNamespace
{
using System = global::System;

[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public interface IController
{

System.Threading.Tasks.Task<string> GetAsync();



System.Threading.Tasks.Task<int> CalculateSumAsync(int a, int b);


System.Threading.Tasks.Task<int> AbsoluteValueAsync(int a);


System.Threading.Tasks.Task<int> IdentityAsync(int id);

}

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

public partial class Controller : Microsoft.AspNetCore.Mvc.ControllerBase
{
private IController _implementation;

public Controller(IController implementation)
{
_implementation = implementation;
}

[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("")]
public System.Threading.Tasks.Task<string> Get()
{

return _implementation.GetAsync();
}

[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("sum/{a}/{b}")]
public System.Threading.Tasks.Task<int> CalculateSum(int a, int b)
{

return _implementation.CalculateSumAsync(a, b);
}

[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("abs({a})")]
public System.Threading.Tasks.Task<int> AbsoluteValue(int a)
{

return _implementation.AbsoluteValueAsync(a);
}

[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("id:{id}")]
public System.Threading.Tasks.Task<int> Identity(int id)
{

return _implementation.IdentityAsync(id);
}

}

[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public interface IExampleController
{

System.Threading.Tasks.Task<FileResult> GetAsync();

}

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

public partial class ExampleController : Microsoft.AspNetCore.Mvc.ControllerBase
{
private IExampleController _implementation;

public ExampleController(IExampleController implementation)
{
_implementation = implementation;
}

[Microsoft.AspNetCore.Mvc.HttpGet, Microsoft.AspNetCore.Mvc.Route("examples")]
public System.Threading.Tasks.Task<FileResult> Get()
{

return _implementation.GetAsync();
}

}



[System.CodeDom.Compiler.GeneratedCode("NSwag", "")]
public partial class FileResponse : System.IDisposable
{
private System.IDisposable _client;
private System.IDisposable _response;

public int StatusCode { get; private set; }

public System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IEnumerable<string>> Headers { get; private set; }

public System.IO.Stream Stream { get; private set; }

public bool IsPartial
{
get { return StatusCode == 206; }
}

public FileResponse(int statusCode, System.Collections.Generic.IReadOnlyDictionary<string, System.Collections.Generic.IEnumerable<string>> headers, System.IO.Stream stream, System.IDisposable client, System.IDisposable response)
{
StatusCode = statusCode;
Headers = headers;
Stream = stream;
_client = client;
_response = response;
}

public void Dispose()
{
Stream.Dispose();
if (_response != null)
_response.Dispose();
if (_client != null)
_client.Dispose();
}
}



}

#pragma warning restore 108
#pragma warning restore 114
#pragma warning restore 472
#pragma warning restore 612
#pragma warning restore 1573
#pragma warning restore 1591
#pragma warning restore 8073
#pragma warning restore 3016
#pragma warning restore 8603
#pragma warning restore 8604
#pragma warning restore 8625
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//----------------------
// <auto-generated>
// Generated using the NSwag toolchain v14.0.0.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
// Generated using the NSwag toolchain (http://NSwag.org)
// </auto-generated>
//----------------------

Expand Down
Loading

0 comments on commit 6e499b5

Please sign in to comment.