diff --git a/src/NSwag.Annotations/Properties/AssemblyInfo.cs b/src/NSwag.Annotations/Properties/AssemblyInfo.cs index f3a817b205..397d096af5 100644 --- a/src/NSwag.Annotations/Properties/AssemblyInfo.cs +++ b/src/NSwag.Annotations/Properties/AssemblyInfo.cs @@ -5,4 +5,4 @@ [assembly: AssemblyCompany("Rico Suter")] [assembly: AssemblyProduct("NSwag.Annotations")] [assembly: AssemblyCopyright("Copyright © Rico Suter, 2015")] -[assembly: AssemblyVersion("2.17.*")] +[assembly: AssemblyVersion("2.18.*")] diff --git a/src/NSwag.CodeGeneration.Tests/ClientGeneration/ArrayParameterTests.cs b/src/NSwag.CodeGeneration.Tests/ClientGeneration/ArrayParameterTests.cs index a55215d35a..95b9974e46 100644 --- a/src/NSwag.CodeGeneration.Tests/ClientGeneration/ArrayParameterTests.cs +++ b/src/NSwag.CodeGeneration.Tests/ClientGeneration/ArrayParameterTests.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -71,9 +70,11 @@ public void When_parameter_is_array_then_TypeScript_is_correct() var settings = new SwaggerToTypeScriptClientGeneratorSettings { ClassName = "MyClass" }; var generator = new SwaggerToTypeScriptClientGenerator(service, settings); var code = generator.GenerateFile(); - + //// Assert - Assert.IsTrue(code.Contains(@"elementId.forEach(item => { url += ""elementId="" + encodeURIComponent("""" + item) + ""&""; });")); + Assert.IsTrue( + code.Contains( + @"elementId.forEach(item => { url += ""elementId="" + encodeURIComponent("""" + item) + ""&""; });")); } [TestMethod] @@ -137,7 +138,10 @@ public void When_parameter_is_array_then_CSharp_is_correct() var code = generator.GenerateFile(); //// Assert - Assert.IsTrue(code.Contains(@"foreach(var item_ in elementId) { url_ += string.Format(""elementId={0}&"", Uri.EscapeUriString(item_.ToString())); }")); + Assert.IsTrue( + code.Contains( + @"foreach(var item_ in elementId) { url_ += string.Format(""elementId={0}&"", Uri.EscapeUriString(item_.ToString())); }")); } + } } diff --git a/src/NSwag.CodeGeneration.Tests/ClientGeneration/FormParameterTests.cs b/src/NSwag.CodeGeneration.Tests/ClientGeneration/FormParameterTests.cs new file mode 100644 index 0000000000..15abe9f64b --- /dev/null +++ b/src/NSwag.CodeGeneration.Tests/ClientGeneration/FormParameterTests.cs @@ -0,0 +1,55 @@ +using System.Collections.Generic; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using NJsonSchema; +using NSwag.CodeGeneration.CodeGenerators.CSharp; + +namespace NSwag.CodeGeneration.Tests.ClientGeneration +{ + [TestClass] + public class FormParameterTests + { + [TestMethod] + public void When_form_parameters_are_defined_then_MultipartFormDataContent_is_generated() + { + //// Arrange + var service = new SwaggerService(); + service.Paths["foo/bar"] = new SwaggerOperations + { + { + SwaggerOperationMethod.Post, + new SwaggerOperation + { + Parameters = new List + { + new SwaggerParameter + { + Name = "foo", + Kind = SwaggerParameterKind.FormData, + Type = JsonObjectType.String + }, + new SwaggerParameter + { + Name = "bar", + IsRequired = true, + Kind = SwaggerParameterKind.FormData, + Type = JsonObjectType.String + } + } + } + } + }; + + //// Act + var generator = new SwaggerToCSharpClientGenerator(service, new SwaggerToCSharpClientGeneratorSettings + { + + }); + var code = generator.GenerateFile(); + + //// Assert + Assert.IsTrue(code.Contains("new MultipartFormDataContent")); + Assert.IsTrue(code.Contains("if (foo != null)")); + Assert.IsTrue(code.Contains("throw new ArgumentNullException(\"bar\");")); + } + } +} \ No newline at end of file diff --git a/src/NSwag.CodeGeneration.Tests/NSwag.CodeGeneration.Tests.csproj b/src/NSwag.CodeGeneration.Tests/NSwag.CodeGeneration.Tests.csproj index d8d37b2dcd..13582e24bf 100644 --- a/src/NSwag.CodeGeneration.Tests/NSwag.CodeGeneration.Tests.csproj +++ b/src/NSwag.CodeGeneration.Tests/NSwag.CodeGeneration.Tests.csproj @@ -78,6 +78,7 @@ + diff --git a/src/NSwag.CodeGeneration.Tests/Properties/AssemblyInfo.cs b/src/NSwag.CodeGeneration.Tests/Properties/AssemblyInfo.cs index 86f74edcbc..ab5cc7d6db 100644 --- a/src/NSwag.CodeGeneration.Tests/Properties/AssemblyInfo.cs +++ b/src/NSwag.CodeGeneration.Tests/Properties/AssemblyInfo.cs @@ -31,6 +31,6 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -// [assembly: AssemblyVersion("2.17.*")] +// [assembly: AssemblyVersion("2.18.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpClientGenerator.cs b/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpClientGenerator.cs index 025b0ce9bf..e6b2c5bfc0 100644 --- a/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpClientGenerator.cs +++ b/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpClientGenerator.cs @@ -1,5 +1,5 @@ //----------------------------------------------------------------------- -// +// // Copyright (c) Rico Suter. All rights reserved. // // https://github.com/NSwag/NSwag/blob/master/LICENSE.md @@ -15,7 +15,7 @@ namespace NSwag.CodeGeneration.CodeGenerators.CSharp { /// Generates the CSharp service client code. - public class SwaggerToCSharpClientGenerator : SwaggerToCSharpGenerator + public class SwaggerToCSharpClientGenerator : SwaggerToCSharpGeneratorBase { private readonly SwaggerService _service; @@ -44,6 +44,8 @@ public SwaggerToCSharpClientGenerator(SwaggerService service, SwaggerToCSharpCli /// Gets the language. protected override string Language => "CSharp"; + internal override CodeGeneratorBaseSettings BaseSettings => Settings; + /// Generates the file. /// The file contents. public override string GenerateFile() @@ -51,8 +53,6 @@ public override string GenerateFile() return GenerateFile(_service, Resolver); } - internal override CodeGeneratorBaseSettings BaseSettings => Settings; - internal override string RenderFile(string clientCode) { var template = LoadTemplate("File"); diff --git a/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGenerator.cs b/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGeneratorBase.cs similarity index 83% rename from src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGenerator.cs rename to src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGeneratorBase.cs index a518acbaa9..33a78cd816 100644 --- a/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGenerator.cs +++ b/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGeneratorBase.cs @@ -1,5 +1,5 @@ //----------------------------------------------------------------------- -// +// // Copyright (c) Rico Suter. All rights reserved. // // https://github.com/NSwag/NSwag/blob/master/LICENSE.md @@ -13,11 +13,11 @@ namespace NSwag.CodeGeneration.CodeGenerators.CSharp { /// The CSharp generator base class. - public abstract class SwaggerToCSharpGenerator : ClientGeneratorBase + public abstract class SwaggerToCSharpGeneratorBase : ClientGeneratorBase { internal SwaggerToCSharpTypeResolver Resolver { get; private set; } - internal SwaggerToCSharpGenerator(SwaggerService service, CSharpGeneratorSettings settings) + internal SwaggerToCSharpGeneratorBase(SwaggerService service, CSharpGeneratorSettings settings) { Resolver = new SwaggerToCSharpTypeResolver(settings, service.Definitions); } @@ -33,7 +33,7 @@ internal override string GetExceptionType(SwaggerOperation operation) internal override string GetResultType(SwaggerOperation operation) { var response = GetSuccessResponse(operation); - if (response == null || response.Schema == null) + if (response?.Schema == null) return "Task"; return "Task<" + GetType(response.Schema, "Response") + ">"; diff --git a/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGeneratorSettings.cs b/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGeneratorSettings.cs index b053c06a42..1101200277 100644 --- a/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGeneratorSettings.cs +++ b/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpGeneratorSettings.cs @@ -1,35 +1,35 @@ -//----------------------------------------------------------------------- -// -// Copyright (c) Rico Suter. All rights reserved. -// -// https://github.com/NSwag/NSwag/blob/master/LICENSE.md -// Rico Suter, mail@rsuter.com -//----------------------------------------------------------------------- - -using NJsonSchema.CodeGeneration.CSharp; - -namespace NSwag.CodeGeneration.CodeGenerators.CSharp -{ - /// Settings for the . - public abstract class SwaggerToCSharpGeneratorSettings : CodeGeneratorBaseSettings - { - /// Initializes a new instance of the class. - protected SwaggerToCSharpGeneratorSettings() - { - AdditionalNamespaceUsages = null; - CSharpGeneratorSettings = new CSharpGeneratorSettings - { - Namespace = "MyNamespace" - }; - } - - /// Gets or sets the CSharp generator settings. - public CSharpGeneratorSettings CSharpGeneratorSettings { get; set; } - - /// Gets or sets the class name of the service client. - public string ClassName { get; set; } - - /// Gets or sets the additional namespace usages. - public string[] AdditionalNamespaceUsages { get; set; } - } +//----------------------------------------------------------------------- +// +// Copyright (c) Rico Suter. All rights reserved. +// +// https://github.com/NSwag/NSwag/blob/master/LICENSE.md +// Rico Suter, mail@rsuter.com +//----------------------------------------------------------------------- + +using NJsonSchema.CodeGeneration.CSharp; + +namespace NSwag.CodeGeneration.CodeGenerators.CSharp +{ + /// Settings for the . + public abstract class SwaggerToCSharpGeneratorSettings : CodeGeneratorBaseSettings + { + /// Initializes a new instance of the class. + protected SwaggerToCSharpGeneratorSettings() + { + AdditionalNamespaceUsages = null; + CSharpGeneratorSettings = new CSharpGeneratorSettings + { + Namespace = "MyNamespace" + }; + } + + /// Gets or sets the CSharp generator settings. + public CSharpGeneratorSettings CSharpGeneratorSettings { get; set; } + + /// Gets or sets the class name of the service client. + public string ClassName { get; set; } + + /// Gets or sets the additional namespace usages. + public string[] AdditionalNamespaceUsages { get; set; } + } } \ No newline at end of file diff --git a/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpWebApiControllerGenerator.cs b/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpWebApiControllerGenerator.cs index 366487eb25..f7f37d4435 100644 --- a/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpWebApiControllerGenerator.cs +++ b/src/NSwag.CodeGeneration/CodeGenerators/CSharp/SwaggerToCSharpWebApiControllerGenerator.cs @@ -1,5 +1,5 @@ //----------------------------------------------------------------------- -// +// // Copyright (c) Rico Suter. All rights reserved. // // https://github.com/NSwag/NSwag/blob/master/LICENSE.md @@ -15,7 +15,7 @@ namespace NSwag.CodeGeneration.CodeGenerators.CSharp { /// Generates the CSharp service client code. - public class SwaggerToCSharpWebApiControllerGenerator : SwaggerToCSharpGenerator + public class SwaggerToCSharpWebApiControllerGenerator : SwaggerToCSharpGeneratorBase { private readonly SwaggerService _service; @@ -43,6 +43,8 @@ public SwaggerToCSharpWebApiControllerGenerator(SwaggerService service, SwaggerT /// Gets the language. protected override string Language => "CSharp"; + internal override CodeGeneratorBaseSettings BaseSettings => Settings; + /// Generates the file. /// The file contents. public override string GenerateFile() @@ -50,8 +52,6 @@ public override string GenerateFile() return GenerateFile(_service, Resolver); } - internal override CodeGeneratorBaseSettings BaseSettings => Settings; - internal override string RenderFile(string clientCode) { var template = LoadTemplate("File"); diff --git a/src/NSwag.CodeGeneration/CodeGenerators/CSharp/Templates/Client.txt b/src/NSwag.CodeGeneration/CodeGenerators/CSharp/Templates/Client.txt index bed7bd245a..77d73dbe10 100644 --- a/src/NSwag.CodeGeneration/CodeGenerators/CSharp/Templates/Client.txt +++ b/src/NSwag.CodeGeneration/CodeGenerators/CSharp/Templates/Client.txt @@ -105,7 +105,22 @@ public partial class : var response_ = await client_.Async(url_, cancellationToken).ConfigureAwait(false); - var response_ = await client_.Async(url_, new StringContent(string.Empty), cancellationToken).ConfigureAwait(false); + + var content_ = new MultipartFormDataContent(); + + if ( != null) + + if ( == null) + throw new ArgumentNullException(""); + else + + content_.Add(new StringContent(.ToString()), ""); +}> + + var content_ = new StringContent(string.Empty); + + var response_ = await client_.Async(url_, content_, cancellationToken).ConfigureAwait(false); ProcessResponse(client_, response_); diff --git a/src/NSwag.CodeGeneration/CodeGenerators/ClientGeneratorBase.cs b/src/NSwag.CodeGeneration/CodeGenerators/ClientGeneratorBase.cs index 5e430d5c13..ed6556586f 100644 --- a/src/NSwag.CodeGeneration/CodeGenerators/ClientGeneratorBase.cs +++ b/src/NSwag.CodeGeneration/CodeGenerators/ClientGeneratorBase.cs @@ -94,6 +94,7 @@ internal List GetOperations(SwaggerService service, HasResultType = HasResultType(operation), ResultDescription = GetResultDescription(operation), ExceptionType = GetExceptionType(operation), + HasFormParameters = operation.Parameters.Any(p => p.Kind == SwaggerParameterKind.FormData), Responses = responses, DefaultResponse = defaultResponse, Parameters = operation.Parameters.Select(p => diff --git a/src/NSwag.CodeGeneration/CodeGenerators/Models/OperationModel.cs b/src/NSwag.CodeGeneration/CodeGenerators/Models/OperationModel.cs index 64f2acc17d..d16eea3402 100644 --- a/src/NSwag.CodeGeneration/CodeGenerators/Models/OperationModel.cs +++ b/src/NSwag.CodeGeneration/CodeGenerators/Models/OperationModel.cs @@ -64,10 +64,14 @@ internal class OperationModel public IEnumerable HeaderParameters => Parameters.Where(p => p.Kind == SwaggerParameterKind.Header); + public IEnumerable FormParameters => Parameters.Where(p => p.Kind == SwaggerParameterKind.FormData); + public string Summary => ConversionUtilities.RemoveWhiteSpaces(Operation.Summary); public bool HasSummary => !string.IsNullOrEmpty(Summary); public bool HasDocumentation => HasSummary || HasResultDescription || Parameters.Any(p => p.HasDescription); + + public bool HasFormParameters { get; set; } } } \ No newline at end of file diff --git a/src/NSwag.CodeGeneration/Infrastructure/AppDomainIsolation.cs b/src/NSwag.CodeGeneration/Infrastructure/AppDomainIsolation.cs index 33585bc618..3633180d30 100644 --- a/src/NSwag.CodeGeneration/Infrastructure/AppDomainIsolation.cs +++ b/src/NSwag.CodeGeneration/Infrastructure/AppDomainIsolation.cs @@ -16,7 +16,7 @@ internal sealed class AppDomainIsolation : IDisposable where T : MarshalByRef public AppDomainIsolation(string assemblyDirectory, string assemblyConfiguration) { if (string.IsNullOrEmpty(assemblyDirectory)) - throw new ArgumentNullException("assemblyDirectory"); + throw new ArgumentNullException(nameof(assemblyDirectory)); using (var transformer = new AssemblyConfigurationFileTransformer()) { diff --git a/src/NSwag.CodeGeneration/Infrastructure/AssemblyConfigurationFileTransformer.cs b/src/NSwag.CodeGeneration/Infrastructure/AssemblyConfigurationFileTransformer.cs index 6f785fd35c..aeef6aaedb 100644 --- a/src/NSwag.CodeGeneration/Infrastructure/AssemblyConfigurationFileTransformer.cs +++ b/src/NSwag.CodeGeneration/Infrastructure/AssemblyConfigurationFileTransformer.cs @@ -16,7 +16,7 @@ namespace NSwag.CodeGeneration.Infrastructure { internal class AssemblyConfigurationFileTransformer : IDisposable { - private string _transformedConfiguationPath = null; + private string _transformedConfigurationPath = null; public string GetConfigurationPath(string assemblyDirectory) { @@ -32,7 +32,7 @@ public string GetConfigurationPath(string assemblyDirectory) RegexOptions.Singleline); File.WriteAllText(configPath, content, Encoding.UTF8); - _transformedConfiguationPath = configPath; + _transformedConfigurationPath = configPath; return configPath; } @@ -41,10 +41,10 @@ public string GetConfigurationPath(string assemblyDirectory) public void Dispose() { - if (_transformedConfiguationPath != null) + if (_transformedConfigurationPath != null) { - File.Delete(_transformedConfiguationPath); - _transformedConfiguationPath = null; + File.Delete(_transformedConfigurationPath); + _transformedConfigurationPath = null; } } diff --git a/src/NSwag.CodeGeneration/NSwag.CodeGeneration.csproj b/src/NSwag.CodeGeneration/NSwag.CodeGeneration.csproj index e4cc98d83a..ae80a3eeef 100644 --- a/src/NSwag.CodeGeneration/NSwag.CodeGeneration.csproj +++ b/src/NSwag.CodeGeneration/NSwag.CodeGeneration.csproj @@ -60,7 +60,7 @@ - + diff --git a/src/NSwag.CodeGeneration/Properties/AssemblyInfo.cs b/src/NSwag.CodeGeneration/Properties/AssemblyInfo.cs index 8503ffce89..f1f69e0edd 100644 --- a/src/NSwag.CodeGeneration/Properties/AssemblyInfo.cs +++ b/src/NSwag.CodeGeneration/Properties/AssemblyInfo.cs @@ -5,4 +5,4 @@ [assembly: AssemblyCompany("Rico Suter")] [assembly: AssemblyProduct("NSwag.CodeGeneration")] [assembly: AssemblyCopyright("Copyright © Rico Suter, 2015")] -[assembly: AssemblyVersion("2.17.*")] +[assembly: AssemblyVersion("2.18.*")] diff --git a/src/NSwag.Core/Properties/AssemblyInfo.cs b/src/NSwag.Core/Properties/AssemblyInfo.cs index d702f3a244..ba3da49a9f 100644 --- a/src/NSwag.Core/Properties/AssemblyInfo.cs +++ b/src/NSwag.Core/Properties/AssemblyInfo.cs @@ -5,4 +5,4 @@ [assembly: AssemblyCompany("Rico Suter")] [assembly: AssemblyProduct("NSwag")] [assembly: AssemblyCopyright("Copyright © Rico Suter, 2015")] -[assembly: AssemblyVersion("2.17.*")] +[assembly: AssemblyVersion("2.18.*")] diff --git a/src/NSwag.Demo.Client/Properties/AssemblyInfo.cs b/src/NSwag.Demo.Client/Properties/AssemblyInfo.cs index 72b08173cc..f9ab67d159 100644 --- a/src/NSwag.Demo.Client/Properties/AssemblyInfo.cs +++ b/src/NSwag.Demo.Client/Properties/AssemblyInfo.cs @@ -50,6 +50,6 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -// [assembly: AssemblyVersion("2.17.*")] +// [assembly: AssemblyVersion("2.18.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/NSwag.Tests/Properties/AssemblyInfo.cs b/src/NSwag.Tests/Properties/AssemblyInfo.cs index 47dcdb88ad..ee9cfef72d 100644 --- a/src/NSwag.Tests/Properties/AssemblyInfo.cs +++ b/src/NSwag.Tests/Properties/AssemblyInfo.cs @@ -31,6 +31,6 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -// [assembly: AssemblyVersion("2.17.*")] +// [assembly: AssemblyVersion("2.18.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/NSwag/Properties/AssemblyInfo.cs b/src/NSwag/Properties/AssemblyInfo.cs index 9f4b1dddaf..035f17ead1 100644 --- a/src/NSwag/Properties/AssemblyInfo.cs +++ b/src/NSwag/Properties/AssemblyInfo.cs @@ -5,4 +5,4 @@ [assembly: AssemblyCompany("Rico Suter")] [assembly: AssemblyProduct("NSwag.Console")] [assembly: AssemblyCopyright("Copyright © Rico Suter, 2015")] -[assembly: AssemblyVersion("2.17.*")] +[assembly: AssemblyVersion("2.18.*")] diff --git a/src/NSwagStudio.Installer/Generated.wxs b/src/NSwagStudio.Installer/Generated.wxs index b375ca966d..4187c852b1 100644 --- a/src/NSwagStudio.Installer/Generated.wxs +++ b/src/NSwagStudio.Installer/Generated.wxs @@ -691,140 +691,140 @@ - - - - + - - - - - + + - + - - + + - - + + - - + + - + + + + + + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1048,301 +1048,301 @@ - - + + - + - - + + - - + + - + - - - - + - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - + - - - - + - - + + - - + + - - + + - - + + - + - - + + - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/NSwagStudio/Properties/AssemblyInfo.cs b/src/NSwagStudio/Properties/AssemblyInfo.cs index c2bd29faa5..35e43c223f 100644 --- a/src/NSwagStudio/Properties/AssemblyInfo.cs +++ b/src/NSwagStudio/Properties/AssemblyInfo.cs @@ -5,4 +5,4 @@ [assembly: AssemblyCompany("Rico Suter")] [assembly: AssemblyProduct("NSwagStudio")] [assembly: AssemblyCopyright("Copyright © Rico Suter, 2015")] -[assembly: AssemblyVersion("2.17.*")] +[assembly: AssemblyVersion("2.18.*")]