Skip to content

Commit

Permalink
Merge pull request #72 from NSwag/master
Browse files Browse the repository at this point in the history
Release v2.11
  • Loading branch information
RicoSuter committed Apr 26, 2016
2 parents c30c526 + 11bd9e8 commit 41f7a09
Show file tree
Hide file tree
Showing 11 changed files with 604 additions and 591 deletions.
2 changes: 1 addition & 1 deletion src/NSwag.Annotations/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[assembly: AssemblyCompany("Rico Suter")]
[assembly: AssemblyProduct("NSwag.Annotations")]
[assembly: AssemblyCopyright("Copyright © Rico Suter, 2015")]
[assembly: AssemblyVersion("2.10.*")]
[assembly: AssemblyVersion("2.11.*")]
2 changes: 1 addition & 1 deletion src/NSwag.CodeGeneration.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.10.*")]
// [assembly: AssemblyVersion("2.11.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
2 changes: 1 addition & 1 deletion src/NSwag.CodeGeneration/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[assembly: AssemblyCompany("Rico Suter")]
[assembly: AssemblyProduct("NSwag.CodeGeneration")]
[assembly: AssemblyCopyright("Copyright © Rico Suter, 2015")]
[assembly: AssemblyVersion("2.10.*")]
[assembly: AssemblyVersion("2.11.*")]
2 changes: 1 addition & 1 deletion src/NSwag.Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[assembly: AssemblyCompany("Rico Suter")]
[assembly: AssemblyProduct("NSwag")]
[assembly: AssemblyCopyright("Copyright © Rico Suter, 2015")]
[assembly: AssemblyVersion("2.10.*")]
[assembly: AssemblyVersion("2.11.*")]
2 changes: 1 addition & 1 deletion src/NSwag.Core/SwaggerService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public static SwaggerService FromJson(string data)
/// <returns>The <see cref="SwaggerService"/>.</returns>
public static SwaggerService FromUrl(string url)
{
dynamic client = Activator.CreateInstance(Type.GetType("System.Net.WebClient", true));
dynamic client = Activator.CreateInstance(Type.GetType("System.Net.WebClient, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", true));
using (client)
{
var data = client.DownloadString(url);
Expand Down
2 changes: 1 addition & 1 deletion src/NSwag.Demo.Client/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.10.*")]
// [assembly: AssemblyVersion("2.11.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
2 changes: 1 addition & 1 deletion src/NSwag.Tests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.10.*")]
// [assembly: AssemblyVersion("2.11.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
13 changes: 13 additions & 0 deletions src/NSwag.Tests/Specification/GeneralTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,19 @@ namespace NSwag.Tests
[TestClass]
public class GeneralTests
{
[TestMethod]
public void When_Swagger_is_loaded_from_url_then_it_works()
{
//// Arrange


//// Act
var swagger = SwaggerService.FromUrl("http://petstore.swagger.io/v2/swagger.json");

//// Assert
Assert.IsNotNull(swagger);
}

[TestMethod]
public void WhenConvertingAndBackThenItShouldBeTheSame()
{
Expand Down
2 changes: 1 addition & 1 deletion src/NSwag/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[assembly: AssemblyCompany("Rico Suter")]
[assembly: AssemblyProduct("NSwag.Console")]
[assembly: AssemblyCopyright("Copyright © Rico Suter, 2015")]
[assembly: AssemblyVersion("2.10.*")]
[assembly: AssemblyVersion("2.11.*")]
1,164 changes: 582 additions & 582 deletions src/NSwagStudio.Installer/Generated.wxs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/NSwagStudio/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
[assembly: AssemblyCompany("Rico Suter")]
[assembly: AssemblyProduct("NSwagStudio")]
[assembly: AssemblyCopyright("Copyright © Rico Suter, 2015")]
[assembly: AssemblyVersion("2.10.*")]
[assembly: AssemblyVersion("2.11.*")]

0 comments on commit 41f7a09

Please sign in to comment.