Update C# client dependency (#2678)

* update csharp dependency

* fix appveyor test

* skip build error

* update nunit version

* fix nunit path

* update petstore test

* various fix
This commit is contained in:
William Cheng 2019-06-03 21:17:17 +08:00 committed by GitHub
parent caac76c265
commit e06a408141
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
98 changed files with 219 additions and 271 deletions

View File

@ -47,16 +47,16 @@ OpenAPI spec version: 1.0.0
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath>
@ -65,10 +65,10 @@ OpenAPI spec version: 1.0.0
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath>
</Reference> </Reference>
<Reference Include="nunit.framework"> <Reference Include="nunit.framework">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -58,9 +58,9 @@ test_script:
- dotnet test samples\client\petstore\csharp-netcore\OpenAPIClient\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj - dotnet test samples\client\petstore\csharp-netcore\OpenAPIClient\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
- dotnet test samples\client\petstore\csharp-netcore\OpenAPIClientCore\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj - dotnet test samples\client\petstore\csharp-netcore\OpenAPIClientCore\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
# test c# API client # test c# API client
- nunit-console samples\client\petstore\csharp\OpenAPIClient\src\Org.OpenAPITools.Test\bin\Debug\Org.OpenAPITools.Test.dll --result=myresults.xml;format=AppVeyor - nunit3-console samples\client\petstore\csharp\OpenAPIClient\src\Org.OpenAPITools.Test\bin\Debug\Org.OpenAPITools.Test.dll --result=myresults.xml;format=AppVeyor
# test c# API client (with PropertyChanged) # test c# API client (with PropertyChanged)
- nunit-console samples\client\petstore\csharp\OpenAPIClientWithPropertyChanged\src\Org.OpenAPITools.Test\bin\Debug\Org.OpenAPITools.Test.dll --result=myresults.xml;format=AppVeyor - nunit3-console samples\client\petstore\csharp\OpenAPIClientWithPropertyChanged\src\Org.OpenAPITools.Test\bin\Debug\Org.OpenAPITools.Test.dll --result=myresults.xml;format=AppVeyor
# generate all petstore clients # generate all petstore clients
- .\bin\windows\run-all-petstore.cmd - .\bin\windows\run-all-petstore.cmd

View File

@ -32,6 +32,6 @@ ags="generate -i modules/openapi-generator/src/test/resources/2_0/petstore-with-
java $JAVA_OPTS -jar $executable $ags java $JAVA_OPTS -jar $executable $ags
# restore csproj file # restore csproj file
echo "restore csproject file: CI/samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj" echo "restore csproject file: CI/samples.ci/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj"
cp ./CI/samples.ci/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj ./samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools.Test/ cp ./CI/samples.ci/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj ./samples/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools.Test/

View File

@ -69,16 +69,16 @@
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\Newtonsoft.Json.10.0.3\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\Newtonsoft.Json.12.0.1\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\JsonSubTypes.1.2.0\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\JsonSubTypes.1.5.2\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll</HintPath>

View File

@ -59,16 +59,16 @@
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\Newtonsoft.Json.10.0.3\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\Newtonsoft.Json.12.0.1\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\JsonSubTypes.1.2.0\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\JsonSubTypes.1.5.2\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll</HintPath>
@ -77,10 +77,10 @@
<HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\RestSharp.105.1.0\lib\{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll</HintPath> <HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\RestSharp.105.1.0\lib\{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll</HintPath>
</Reference> </Reference>
<Reference Include="nunit.framework"> <Reference Include="nunit.framework">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('{{binRelativePath}}')">{{binRelativePath}}\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -22,7 +22,6 @@ namespace {{packageName}}.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the API endpoint. /// Please update the test case below to test the API endpoint.
/// </remarks> /// </remarks>
[TestFixture]
public class {{classname}}Tests public class {{classname}}Tests
{ {
private {{classname}} instance; private {{classname}} instance;
@ -51,8 +50,8 @@ namespace {{packageName}}.Test
[Test] [Test]
public void {{operationId}}InstanceTest() public void {{operationId}}InstanceTest()
{ {
// TODO uncomment below to test 'IsInstanceOfType' {{classname}} // TODO uncomment below to test 'IsInstanceOf' {{classname}}
//Assert.IsInstanceOfType(typeof({{classname}}), instance, "instance is a {{classname}}"); //Assert.IsInstanceOf(typeof({{classname}}), instance);
} }
{{#operations}}{{#operation}} {{#operations}}{{#operation}}
@ -67,7 +66,7 @@ namespace {{packageName}}.Test
//{{{dataType}}} {{paramName}} = null; //{{{dataType}}} {{paramName}} = null;
{{/allParams}} {{/allParams}}
//{{#returnType}}var response = {{/returnType}}instance.{{operationId}}({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}); //{{#returnType}}var response = {{/returnType}}instance.{{operationId}}({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
{{#returnType}}//Assert.IsInstanceOf<{{{returnType}}}> (response, "response is {{{returnType}}}");{{/returnType}} {{#returnType}}//Assert.IsInstanceOf(typeof({{{returnType}}}), response, "response is {{{returnType}}}");{{/returnType}}
} }
{{/operation}}{{/operations}} {{/operation}}{{/operations}}
} }

View File

@ -44,9 +44,9 @@ ${nuget_cmd} install src/{{packageName}}/packages.config -o packages;
echo "[INFO] Copy DLLs to the 'bin' folder" echo "[INFO] Copy DLLs to the 'bin' folder"
mkdir -p bin; mkdir -p bin;
cp packages/Newtonsoft.Json.10.0.3/lib/{{targetFrameworkNuget}}/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll; cp packages/Newtonsoft.Json.12.0.1/lib/{{targetFrameworkNuget}}/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll;
cp packages/RestSharp.105.1.0/lib/{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}/RestSharp.dll bin/RestSharp.dll; cp packages/RestSharp.105.1.0/lib/{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}/RestSharp.dll bin/RestSharp.dll;
cp packages/JsonSubTypes.1.2.0/lib/{{targetFrameworkNuget}}/JsonSubTypes.dll bin/JsonSubTypes.dll cp packages/JsonSubTypes.1.5.2/lib/{{targetFrameworkNuget}}/JsonSubTypes.dll bin/JsonSubTypes.dll
{{#generatePropertyChanged}} {{#generatePropertyChanged}}
cp packages/Fody.1.29.4/Fody.dll bin/Fody.dll cp packages/Fody.1.29.4/Fody.dll bin/Fody.dll
cp packages/PropertyChanged.Fody.1.51.3/PropertyChanged.Fody.dll bin/PropertyChanged.Fody.dll cp packages/PropertyChanged.Fody.1.51.3/PropertyChanged.Fody.dll bin/PropertyChanged.Fody.dll

View File

@ -15,8 +15,8 @@ if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient
if not exist ".\bin" mkdir bin if not exist ".\bin" mkdir bin
copy packages\Newtonsoft.Json.10.0.3\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll copy packages\Newtonsoft.Json.12.0.1\lib\{{targetFrameworkNuget}}\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll
copy packages\JsonSubTypes.1.2.0\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll bin\JsonSubTypes.dll copy packages\JsonSubTypes.1.5.2\lib\{{targetFrameworkNuget}}\JsonSubTypes.dll bin\JsonSubTypes.dll
copy packages\RestSharp.105.1.0\lib\{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll bin\RestSharp.dll copy packages\RestSharp.105.1.0\lib\{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}\RestSharp.dll bin\RestSharp.dll
{{#generatePropertyChanged}} {{#generatePropertyChanged}}
copy packages\Fody.1.29.4\Fody.dll bin\Fody.dll copy packages\Fody.1.29.4\Fody.dll bin\Fody.dll

View File

@ -23,7 +23,6 @@ namespace {{packageName}}.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class {{classname}}Tests public class {{classname}}Tests
{ {
// TODO uncomment below to declare an instance variable for {{classname}} // TODO uncomment below to declare an instance variable for {{classname}}
@ -54,8 +53,8 @@ namespace {{packageName}}.Test
[Test] [Test]
public void {{classname}}InstanceTest() public void {{classname}}InstanceTest()
{ {
// TODO uncomment below to test "IsInstanceOfType" {{classname}} // TODO uncomment below to test "IsInstanceOf" {{classname}}
//Assert.IsInstanceOfType<{{classname}}> (instance, "variable 'instance' is a {{classname}}"); //Assert.IsInstanceOf(typeof({{classname}}), instance);
} }
{{#discriminator}} {{#discriminator}}
@ -67,7 +66,7 @@ namespace {{packageName}}.Test
public void {{classname}}DeserializeFrom{{parent}}Test() public void {{classname}}DeserializeFrom{{parent}}Test()
{ {
// TODO uncomment below to test deserialize a {{classname}} from type {{parent}} // TODO uncomment below to test deserialize a {{classname}} from type {{parent}}
//Assert.IsInstanceOf<{{parent}}>(JsonConvert.DeserializeObject<{{parent}}>(new {{classname}}().ToJson())); //Assert.IsInstanceOf(typeof({{parent}}), JsonConvert.DeserializeObject<{{parent}}>(new {{classname}}().ToJson()));
} }
{{/children}} {{/children}}
{{/discriminator}} {{/discriminator}}

View File

@ -14,9 +14,9 @@ wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
mozroots --import --sync mozroots --import --sync
mono nuget.exe install src/{{{packageName}}}.Test/packages.config -o packages mono nuget.exe install src/{{{packageName}}}.Test/packages.config -o packages
echo "[INFO] Install NUnit runners via NuGet" echo "[INFO] Install NUnit Console 3.x runners via NuGet"
mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages mono nuget.exe install NUnit.ConsoleRunner -Version 3.10.0 -OutputDirectory packages
echo "[INFO] Build the solution and run the unit test" echo "[INFO] Build the solution and run the unit test"
xbuild {{{packageName}}}.sln && \ xbuild {{{packageName}}}.sln && \
mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/{{{packageName}}}.Test/bin/Debug/{{{packageName}}}.Test.dll mono ./packages/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe src/{{{packageName}}}.Test/bin/Debug/{{{packageName}}}.Test.dll

View File

@ -30,8 +30,8 @@
<!-- Dependencies are automatically installed when the package is installed --> <!-- Dependencies are automatically installed when the package is installed -->
<dependencies> <dependencies>
<dependency id="NewtonSoft.Json" version="10.0.3" /> <dependency id="NewtonSoft.Json" version="12.0.1" />
<dependency id="JsonSubTypes" version="1.2.0" /> <dependency id="JsonSubTypes" version="1.5.2" />
<dependency id="RestSharp" version="105.1.0" /> <dependency id="RestSharp" version="105.1.0" />
{{#generatePropertyChanged}} {{#generatePropertyChanged}}
<dependency id="Fody" version="1.29.4" /> <dependency id="Fody" version="1.29.4" />

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="RestSharp" version="105.1.0" targetFramework="{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}" developmentDependency="true" /> <package id="RestSharp" version="105.1.0" targetFramework="{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}" developmentDependency="true" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" /> <package id="Newtonsoft.Json" version="12.0.1" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" />
<package id="JsonSubTypes" version="1.2.0" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" /> <package id="JsonSubTypes" version="1.5.2" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" />
{{#generatePropertyChanged}} {{#generatePropertyChanged}}
<package id="Fody" version="1.29.4" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" /> <package id="Fody" version="1.29.4" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" />
<package id="PropertyChanged.Fody" version="1.51.3" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" /> <package id="PropertyChanged.Fody" version="1.51.3" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" />

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="NUnit" version="2.6.4" targetFramework="{{targetFrameworkNuget}}" /> <package id="NUnit" version="3.11.0" targetFramework="{{#isNet40}}net4{{/isNet40}}{{^isNet40}}net452{{/isNet40}}" />
<package id="RestSharp" version="105.1.0" targetFramework="{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}" developmentDependency="true" /> <package id="RestSharp" version="105.1.0" targetFramework="{{#isNet40}}net4{{/isNet40}}{{^isNet40}}{{targetFrameworkNuget}}{{/isNet40}}" developmentDependency="true" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" /> <package id="Newtonsoft.Json" version="12.0.1" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" />
<package id="JsonSubTypes" version="1.2.0" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" /> <package id="JsonSubTypes" version="1.5.2" targetFramework="{{targetFrameworkNuget}}" developmentDependency="true" />
</packages> </packages>

View File

@ -3,8 +3,8 @@
"dependencies": { "dependencies": {
"FubarCoder.RestSharp.Portable.Core": "4.0.7", "FubarCoder.RestSharp.Portable.Core": "4.0.7",
"FubarCoder.RestSharp.Portable.HttpClient": "4.0.7", "FubarCoder.RestSharp.Portable.HttpClient": "4.0.7",
"Newtonsoft.Json": "10.0.3", "Newtonsoft.Json": "12.0.1",
"JsonSubTypes": "1.2.0" "JsonSubTypes": "1.5.2"
}, },
"frameworks": { "frameworks": {
"{{targetFrameworkNuget}}": {} "{{targetFrameworkNuget}}": {}

View File

@ -10,8 +10,8 @@ if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient
if not exist ".\bin" mkdir bin if not exist ".\bin" mkdir bin
copy packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll copy packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll
copy packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll bin\JsonSubTypes.dll copy packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll bin\JsonSubTypes.dll
copy packages\RestSharp.105.1.0\lib\net45\RestSharp.dll bin\RestSharp.dll copy packages\RestSharp.105.1.0\lib\net45\RestSharp.dll bin\RestSharp.dll
%CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\JsonSubTypes.dll;bin\RestSharp.dll;System.ComponentModel.DataAnnotations.dll /target:library /out:bin\Org.OpenAPITools.dll /recurse:src\Org.OpenAPITools\*.cs /doc:bin\Org.OpenAPITools.xml %CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\JsonSubTypes.dll;bin\RestSharp.dll;System.ComponentModel.DataAnnotations.dll /target:library /out:bin\Org.OpenAPITools.dll /recurse:src\Org.OpenAPITools\*.cs /doc:bin\Org.OpenAPITools.xml

View File

@ -44,9 +44,9 @@ ${nuget_cmd} install src/Org.OpenAPITools/packages.config -o packages;
echo "[INFO] Copy DLLs to the 'bin' folder" echo "[INFO] Copy DLLs to the 'bin' folder"
mkdir -p bin; mkdir -p bin;
cp packages/Newtonsoft.Json.10.0.3/lib/net45/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll; cp packages/Newtonsoft.Json.12.0.1/lib/net45/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll;
cp packages/RestSharp.105.1.0/lib/net45/RestSharp.dll bin/RestSharp.dll; cp packages/RestSharp.105.1.0/lib/net45/RestSharp.dll bin/RestSharp.dll;
cp packages/JsonSubTypes.1.2.0/lib/net45/JsonSubTypes.dll bin/JsonSubTypes.dll cp packages/JsonSubTypes.1.5.2/lib/net45/JsonSubTypes.dll bin/JsonSubTypes.dll
echo "[INFO] Run 'mcs' to build bin/Org.OpenAPITools.dll" echo "[INFO] Run 'mcs' to build bin/Org.OpenAPITools.dll"
mcs -langversion:${langversion} -sdk:${sdk} -r:bin/Newtonsoft.Json.dll,bin/JsonSubTypes.dll,\ mcs -langversion:${langversion} -sdk:${sdk} -r:bin/Newtonsoft.Json.dll,bin/JsonSubTypes.dll,\

View File

@ -14,9 +14,9 @@ wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
mozroots --import --sync mozroots --import --sync
mono nuget.exe install src/Org.OpenAPITools.Test/packages.config -o packages mono nuget.exe install src/Org.OpenAPITools.Test/packages.config -o packages
echo "[INFO] Install NUnit runners via NuGet" echo "[INFO] Install NUnit Console 3.x runners via NuGet"
mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages mono nuget.exe install NUnit.ConsoleRunner -Version 3.10.0 -OutputDirectory packages
echo "[INFO] Build the solution and run the unit test" echo "[INFO] Build the solution and run the unit test"
xbuild Org.OpenAPITools.sln && \ xbuild Org.OpenAPITools.sln && \
mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/Org.OpenAPITools.Test/bin/Debug/Org.OpenAPITools.Test.dll mono ./packages/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe src/Org.OpenAPITools.Test/bin/Debug/Org.OpenAPITools.Test.dll

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the API endpoint. /// Please update the test case below to test the API endpoint.
/// </remarks> /// </remarks>
[TestFixture]
public class AnotherFakeApiTests public class AnotherFakeApiTests
{ {
private AnotherFakeApi instance; private AnotherFakeApi instance;

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the API endpoint. /// Please update the test case below to test the API endpoint.
/// </remarks> /// </remarks>
[TestFixture]
public class FakeApiTests public class FakeApiTests
{ {
private FakeApi instance; private FakeApi instance;

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the API endpoint. /// Please update the test case below to test the API endpoint.
/// </remarks> /// </remarks>
[TestFixture]
public class FakeClassnameTags123ApiTests public class FakeClassnameTags123ApiTests
{ {
private FakeClassnameTags123Api instance; private FakeClassnameTags123Api instance;

View File

@ -1,4 +1,4 @@
using System; using System;
using System.IO; using System.IO;
using System.Collections.Generic; using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
@ -20,7 +20,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by Swagger Codegen. /// This file is automatically generated by Swagger Codegen.
/// Please update the test case below to test the API endpoint. /// Please update the test case below to test the API endpoint.
/// </remarks> /// </remarks>
[TestFixture]
public class PetApiTests public class PetApiTests
{ {
private PetApi instance; private PetApi instance;
@ -97,7 +96,7 @@ namespace Org.OpenAPITools.Test
[Test] [Test]
public void InstanceTest() public void InstanceTest()
{ {
Assert.IsInstanceOf<PetApi>(instance); Assert.IsInstanceOf(typeof(PetApi), instance);
} }
@ -133,7 +132,7 @@ namespace Org.OpenAPITools.Test
List<Pet> listPet = petApi.FindPetsByTags(tagsList); List<Pet> listPet = petApi.FindPetsByTags(tagsList);
foreach (Pet pet in listPet) // Loop through List with foreach. foreach (Pet pet in listPet) // Loop through List with foreach.
{ {
Assert.IsInstanceOf<Pet>(pet); Assert.IsInstanceOf(typeof(Pet), pet);
Assert.AreEqual("csharp sample tag name1", pet.Tags[0]); Assert.AreEqual("csharp sample tag name1", pet.Tags[0]);
} }
} }
@ -146,7 +145,7 @@ namespace Org.OpenAPITools.Test
{ {
List<string> tags = new List<String>(new String[] { "pet" }); List<string> tags = new List<String>(new String[] { "pet" });
var response = instance.FindPetsByTags(tags); var response = instance.FindPetsByTags(tags);
Assert.IsInstanceOf<List<Pet>>(response); Assert.IsInstanceOf(typeof(List<Pet>), response);
} }
/// <summary> /// <summary>
@ -162,19 +161,19 @@ namespace Org.OpenAPITools.Test
PetApi petApi = new PetApi(c1); PetApi petApi = new PetApi(c1);
Pet response = petApi.GetPetById(petId); Pet response = petApi.GetPetById(petId);
Assert.IsInstanceOf<Pet>(response); Assert.IsInstanceOf(typeof(Pet), response);
Assert.AreEqual("Csharp test", response.Name); Assert.AreEqual("Csharp test", response.Name);
Assert.AreEqual(Pet.StatusEnum.Available, response.Status); Assert.AreEqual(Pet.StatusEnum.Available, response.Status);
Assert.IsInstanceOf<List<Tag>>(response.Tags); Assert.IsInstanceOf(typeof(List<Tag>), response.Tags);
Assert.AreEqual(petId, response.Tags[0].Id); Assert.AreEqual(petId, response.Tags[0].Id);
Assert.AreEqual("csharp sample tag name1", response.Tags[0].Name); Assert.AreEqual("csharp sample tag name1", response.Tags[0].Name);
Assert.IsInstanceOf<List<String>>(response.PhotoUrls); Assert.IsInstanceOf(typeof(List<String>), response.PhotoUrls);
Assert.AreEqual("sample photoUrls", response.PhotoUrls[0]); Assert.AreEqual("sample photoUrls", response.PhotoUrls[0]);
Assert.IsInstanceOf<Category>(response.Category); Assert.IsInstanceOf(typeof(Category), response.Category);
Assert.AreEqual(56, response.Category.Id); Assert.AreEqual(56, response.Category.Id);
Assert.AreEqual("sample category name2", response.Category.Name); Assert.AreEqual("sample category name2", response.Category.Name);
} }
@ -188,19 +187,19 @@ namespace Org.OpenAPITools.Test
PetApi petApi = new PetApi(); PetApi petApi = new PetApi();
var task = petApi.GetPetByIdAsync(petId); var task = petApi.GetPetByIdAsync(petId);
Pet response = task.Result; Pet response = task.Result;
Assert.IsInstanceOf<Pet>(response); Assert.IsInstanceOf(typeof(Pet), response);
Assert.AreEqual("Csharp test", response.Name); Assert.AreEqual("Csharp test", response.Name);
Assert.AreEqual(Pet.StatusEnum.Available, response.Status); Assert.AreEqual(Pet.StatusEnum.Available, response.Status);
Assert.IsInstanceOf<List<Tag>>(response.Tags); Assert.IsInstanceOf(typeof(List<Tag>), response.Tags);
Assert.AreEqual(petId, response.Tags[0].Id); Assert.AreEqual(petId, response.Tags[0].Id);
Assert.AreEqual("csharp sample tag name1", response.Tags[0].Name); Assert.AreEqual("csharp sample tag name1", response.Tags[0].Name);
Assert.IsInstanceOf<List<String>>(response.PhotoUrls); Assert.IsInstanceOf(typeof(List<String>), response.PhotoUrls);
Assert.AreEqual("sample photoUrls", response.PhotoUrls[0]); Assert.AreEqual("sample photoUrls", response.PhotoUrls[0]);
Assert.IsInstanceOf<Category>(response.Category); Assert.IsInstanceOf(typeof(Category), response.Category);
Assert.AreEqual(56, response.Category.Id); Assert.AreEqual(56, response.Category.Id);
Assert.AreEqual("sample category name2", response.Category.Name); Assert.AreEqual("sample category name2", response.Category.Name);
} }
@ -219,19 +218,19 @@ namespace Org.OpenAPITools.Test
Assert.AreEqual(task.Result.Headers["Content-Type"], "application/json"); Assert.AreEqual(task.Result.Headers["Content-Type"], "application/json");
Pet response = task.Result.Data; Pet response = task.Result.Data;
Assert.IsInstanceOf<Pet>(response); Assert.IsInstanceOf(typeof(Pet), response);
Assert.AreEqual("Csharp test", response.Name); Assert.AreEqual("Csharp test", response.Name);
Assert.AreEqual(Pet.StatusEnum.Available, response.Status); Assert.AreEqual(Pet.StatusEnum.Available, response.Status);
Assert.IsInstanceOf<List<Tag>>(response.Tags); Assert.IsInstanceOf(typeof(List<Tag>), response.Tags);
Assert.AreEqual(petId, response.Tags[0].Id); Assert.AreEqual(petId, response.Tags[0].Id);
Assert.AreEqual("csharp sample tag name1", response.Tags[0].Name); Assert.AreEqual("csharp sample tag name1", response.Tags[0].Name);
Assert.IsInstanceOf<List<String>>(response.PhotoUrls); Assert.IsInstanceOf(typeof(List<String>), response.PhotoUrls);
Assert.AreEqual("sample photoUrls", response.PhotoUrls[0]); Assert.AreEqual("sample photoUrls", response.PhotoUrls[0]);
Assert.IsInstanceOf<Category>(response.Category); Assert.IsInstanceOf(typeof(Category), response.Category);
Assert.AreEqual(56, response.Category.Id); Assert.AreEqual(56, response.Category.Id);
Assert.AreEqual("sample category name2", response.Category.Name); Assert.AreEqual("sample category name2", response.Category.Name);
} }
@ -257,9 +256,9 @@ namespace Org.OpenAPITools.Test
petApi.UpdatePetWithForm(petId, "new form name", "pending"); petApi.UpdatePetWithForm(petId, "new form name", "pending");
Pet response = petApi.GetPetById(petId); Pet response = petApi.GetPetById(petId);
Assert.IsInstanceOf<Pet>(response); Assert.IsInstanceOf(typeof(Pet), response);
Assert.IsInstanceOf<Category>(response.Category); Assert.IsInstanceOf(typeof(Category), response.Category);
Assert.IsInstanceOf<List<Tag>>(response.Tags); Assert.IsInstanceOf(typeof(List<Tag>), response.Tags);
Assert.AreEqual("new form name", response.Name); Assert.AreEqual("new form name", response.Name);
Assert.AreEqual(Pet.StatusEnum.Pending, response.Status); Assert.AreEqual(Pet.StatusEnum.Pending, response.Status);

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the API endpoint. /// Please update the test case below to test the API endpoint.
/// </remarks> /// </remarks>
[TestFixture]
public class StoreApiTests public class StoreApiTests
{ {
private StoreApi instance; private StoreApi instance;

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the API endpoint. /// Please update the test case below to test the API endpoint.
/// </remarks> /// </remarks>
[TestFixture]
public class UserApiTests public class UserApiTests
{ {
private UserApi instance; private UserApi instance;

View File

@ -69,7 +69,7 @@ namespace Org.OpenAPITools.Test
} }
// The test below only passes when running at -04:00 timezone // The test below only passes when running at -04:00 timezone
[Ignore()] [Ignore("The test below only passes when running at -04:00 timezone")]
public void TestParameterToStringWithTimeZoneForDateTime() public void TestParameterToStringWithTimeZoneForDateTime()
{ {
ApiClient api = new ApiClient(); ApiClient api = new ApiClient();

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class AdditionalPropertiesAnyTypeTests public class AdditionalPropertiesAnyTypeTests
{ {
// TODO uncomment below to declare an instance variable for AdditionalPropertiesAnyType // TODO uncomment below to declare an instance variable for AdditionalPropertiesAnyType

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class AdditionalPropertiesArrayTests public class AdditionalPropertiesArrayTests
{ {
// TODO uncomment below to declare an instance variable for AdditionalPropertiesArray // TODO uncomment below to declare an instance variable for AdditionalPropertiesArray

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class AdditionalPropertiesBooleanTests public class AdditionalPropertiesBooleanTests
{ {
// TODO uncomment below to declare an instance variable for AdditionalPropertiesBoolean // TODO uncomment below to declare an instance variable for AdditionalPropertiesBoolean

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class AdditionalPropertiesClassTests public class AdditionalPropertiesClassTests
{ {
// TODO uncomment below to declare an instance variable for AdditionalPropertiesClass // TODO uncomment below to declare an instance variable for AdditionalPropertiesClass

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class AdditionalPropertiesIntegerTests public class AdditionalPropertiesIntegerTests
{ {
// TODO uncomment below to declare an instance variable for AdditionalPropertiesInteger // TODO uncomment below to declare an instance variable for AdditionalPropertiesInteger

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class AdditionalPropertiesNumberTests public class AdditionalPropertiesNumberTests
{ {
// TODO uncomment below to declare an instance variable for AdditionalPropertiesNumber // TODO uncomment below to declare an instance variable for AdditionalPropertiesNumber

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class AdditionalPropertiesObjectTests public class AdditionalPropertiesObjectTests
{ {
// TODO uncomment below to declare an instance variable for AdditionalPropertiesObject // TODO uncomment below to declare an instance variable for AdditionalPropertiesObject

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class AdditionalPropertiesStringTests public class AdditionalPropertiesStringTests
{ {
// TODO uncomment below to declare an instance variable for AdditionalPropertiesString // TODO uncomment below to declare an instance variable for AdditionalPropertiesString

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class AnimalTests public class AnimalTests
{ {
// TODO uncomment below to declare an instance variable for Animal // TODO uncomment below to declare an instance variable for Animal

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class ApiResponseTests public class ApiResponseTests
{ {
// TODO uncomment below to declare an instance variable for ApiResponse // TODO uncomment below to declare an instance variable for ApiResponse

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class ArrayOfArrayOfNumberOnlyTests public class ArrayOfArrayOfNumberOnlyTests
{ {
// TODO uncomment below to declare an instance variable for ArrayOfArrayOfNumberOnly // TODO uncomment below to declare an instance variable for ArrayOfArrayOfNumberOnly

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class ArrayOfNumberOnlyTests public class ArrayOfNumberOnlyTests
{ {
// TODO uncomment below to declare an instance variable for ArrayOfNumberOnly // TODO uncomment below to declare an instance variable for ArrayOfNumberOnly

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class ArrayTestTests public class ArrayTestTests
{ {
// TODO uncomment below to declare an instance variable for ArrayTest // TODO uncomment below to declare an instance variable for ArrayTest

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class CapitalizationTests public class CapitalizationTests
{ {
// TODO uncomment below to declare an instance variable for Capitalization // TODO uncomment below to declare an instance variable for Capitalization

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class CatTests public class CatTests
{ {
// TODO uncomment below to declare an instance variable for Cat // TODO uncomment below to declare an instance variable for Cat

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class CategoryTests public class CategoryTests
{ {
// TODO uncomment below to declare an instance variable for Category // TODO uncomment below to declare an instance variable for Category

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class ClassModelTests public class ClassModelTests
{ {
// TODO uncomment below to declare an instance variable for ClassModel // TODO uncomment below to declare an instance variable for ClassModel

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class DogTests public class DogTests
{ {
// TODO uncomment below to declare an instance variable for Dog // TODO uncomment below to declare an instance variable for Dog

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class EnumArraysTests public class EnumArraysTests
{ {
// TODO uncomment below to declare an instance variable for EnumArrays // TODO uncomment below to declare an instance variable for EnumArrays

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class EnumClassTests public class EnumClassTests
{ {
// TODO uncomment below to declare an instance variable for EnumClass // TODO uncomment below to declare an instance variable for EnumClass

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class EnumTestTests public class EnumTestTests
{ {
// TODO uncomment below to declare an instance variable for EnumTest // TODO uncomment below to declare an instance variable for EnumTest

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class FileSchemaTestClassTests public class FileSchemaTestClassTests
{ {
// TODO uncomment below to declare an instance variable for FileSchemaTestClass // TODO uncomment below to declare an instance variable for FileSchemaTestClass

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class FileTests public class FileTests
{ {
// TODO uncomment below to declare an instance variable for File // TODO uncomment below to declare an instance variable for File

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class FormatTestTests public class FormatTestTests
{ {
// TODO uncomment below to declare an instance variable for FormatTest // TODO uncomment below to declare an instance variable for FormatTest

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class HasOnlyReadOnlyTests public class HasOnlyReadOnlyTests
{ {
// TODO uncomment below to declare an instance variable for HasOnlyReadOnly // TODO uncomment below to declare an instance variable for HasOnlyReadOnly

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class ListTests public class ListTests
{ {
// TODO uncomment below to declare an instance variable for List // TODO uncomment below to declare an instance variable for List

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class MapTestTests public class MapTestTests
{ {
// TODO uncomment below to declare an instance variable for MapTest // TODO uncomment below to declare an instance variable for MapTest

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class MixedPropertiesAndAdditionalPropertiesClassTests public class MixedPropertiesAndAdditionalPropertiesClassTests
{ {
// TODO uncomment below to declare an instance variable for MixedPropertiesAndAdditionalPropertiesClass // TODO uncomment below to declare an instance variable for MixedPropertiesAndAdditionalPropertiesClass

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class Model200ResponseTests public class Model200ResponseTests
{ {
// TODO uncomment below to declare an instance variable for Model200Response // TODO uncomment below to declare an instance variable for Model200Response

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class ModelClientTests public class ModelClientTests
{ {
// TODO uncomment below to declare an instance variable for ModelClient // TODO uncomment below to declare an instance variable for ModelClient

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class NameTests public class NameTests
{ {
// TODO uncomment below to declare an instance variable for Name // TODO uncomment below to declare an instance variable for Name

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class NumberOnlyTests public class NumberOnlyTests
{ {
// TODO uncomment below to declare an instance variable for NumberOnly // TODO uncomment below to declare an instance variable for NumberOnly

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class OrderTests public class OrderTests
{ {
// TODO uncomment below to declare an instance variable for Order // TODO uncomment below to declare an instance variable for Order

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class OuterCompositeTests public class OuterCompositeTests
{ {
// TODO uncomment below to declare an instance variable for OuterComposite // TODO uncomment below to declare an instance variable for OuterComposite

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class OuterEnumTests public class OuterEnumTests
{ {
// TODO uncomment below to declare an instance variable for OuterEnum // TODO uncomment below to declare an instance variable for OuterEnum

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class PetTests public class PetTests
{ {
private Pet instance; private Pet instance;
@ -61,7 +60,7 @@ namespace Org.OpenAPITools.Test
[Test] [Test]
public void PetInstanceTest() public void PetInstanceTest()
{ {
Assert.IsInstanceOfType(typeof(Pet), instance); Assert.IsInstanceOf(typeof(Pet), instance);
} }

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class ReadOnlyFirstTests public class ReadOnlyFirstTests
{ {
// TODO uncomment below to declare an instance variable for ReadOnlyFirst // TODO uncomment below to declare an instance variable for ReadOnlyFirst

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class ReturnTests public class ReturnTests
{ {
// TODO uncomment below to declare an instance variable for Return // TODO uncomment below to declare an instance variable for Return

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class SpecialModelNameTests public class SpecialModelNameTests
{ {
// TODO uncomment below to declare an instance variable for SpecialModelName // TODO uncomment below to declare an instance variable for SpecialModelName

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class TagTests public class TagTests
{ {
// TODO uncomment below to declare an instance variable for Tag // TODO uncomment below to declare an instance variable for Tag

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class TypeHolderDefaultTests public class TypeHolderDefaultTests
{ {
// TODO uncomment below to declare an instance variable for TypeHolderDefault // TODO uncomment below to declare an instance variable for TypeHolderDefault

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class TypeHolderExampleTests public class TypeHolderExampleTests
{ {
// TODO uncomment below to declare an instance variable for TypeHolderExample // TODO uncomment below to declare an instance variable for TypeHolderExample

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class UserTests public class UserTests
{ {
// TODO uncomment below to declare an instance variable for User // TODO uncomment below to declare an instance variable for User

View File

@ -30,7 +30,6 @@ namespace Org.OpenAPITools.Test
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model. /// Please update the test case below to test the model.
/// </remarks> /// </remarks>
[TestFixture]
public class XmlItemTests public class XmlItemTests
{ {
// TODO uncomment below to declare an instance variable for XmlItem // TODO uncomment below to declare an instance variable for XmlItem

View File

@ -47,16 +47,16 @@ OpenAPI spec version: 1.0.0
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath>
@ -65,10 +65,10 @@ OpenAPI spec version: 1.0.0
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath>
</Reference> </Reference>
<Reference Include="nunit.framework"> <Reference Include="nunit.framework">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="NUnit" version="2.6.4" targetFramework="net45" /> <package id="NUnit" version="3.11.0" targetFramework="net452" />
<package id="RestSharp" version="105.1.0" targetFramework="net45" developmentDependency="true" /> <package id="RestSharp" version="105.1.0" targetFramework="net45" developmentDependency="true" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" developmentDependency="true" /> <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net45" developmentDependency="true" />
<package id="JsonSubTypes" version="1.2.0" targetFramework="net45" developmentDependency="true" /> <package id="JsonSubTypes" version="1.5.2" targetFramework="net45" developmentDependency="true" />
</packages> </packages>

View File

@ -50,16 +50,16 @@ The version of the OpenAPI document: 1.0.0
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath>

View File

@ -25,8 +25,8 @@
<!-- Dependencies are automatically installed when the package is installed --> <!-- Dependencies are automatically installed when the package is installed -->
<dependencies> <dependencies>
<dependency id="NewtonSoft.Json" version="10.0.3" /> <dependency id="NewtonSoft.Json" version="12.0.1" />
<dependency id="JsonSubTypes" version="1.2.0" /> <dependency id="JsonSubTypes" version="1.5.2" />
<dependency id="RestSharp" version="105.1.0" /> <dependency id="RestSharp" version="105.1.0" />
</dependencies> </dependencies>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="RestSharp" version="105.1.0" targetFramework="net45" developmentDependency="true" /> <package id="RestSharp" version="105.1.0" targetFramework="net45" developmentDependency="true" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" developmentDependency="true" /> <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net45" developmentDependency="true" />
<package id="JsonSubTypes" version="1.2.0" targetFramework="net45" developmentDependency="true" /> <package id="JsonSubTypes" version="1.5.2" targetFramework="net45" developmentDependency="true" />
</packages> </packages>

View File

@ -10,8 +10,8 @@ if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient
if not exist ".\bin" mkdir bin if not exist ".\bin" mkdir bin
copy packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll copy packages\Newtonsoft.Json.12.0.1\lib\net35\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll
copy packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll bin\JsonSubTypes.dll copy packages\JsonSubTypes.1.5.2\lib\net35\JsonSubTypes.dll bin\JsonSubTypes.dll
copy packages\RestSharp.105.1.0\lib\net35\RestSharp.dll bin\RestSharp.dll copy packages\RestSharp.105.1.0\lib\net35\RestSharp.dll bin\RestSharp.dll
%CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\JsonSubTypes.dll;bin\RestSharp.dll;System.ComponentModel.DataAnnotations.dll /target:library /out:bin\Org.OpenAPITools.dll /recurse:src\Org.OpenAPITools\*.cs /doc:bin\Org.OpenAPITools.xml %CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\JsonSubTypes.dll;bin\RestSharp.dll;System.ComponentModel.DataAnnotations.dll /target:library /out:bin\Org.OpenAPITools.dll /recurse:src\Org.OpenAPITools\*.cs /doc:bin\Org.OpenAPITools.xml

View File

@ -44,9 +44,9 @@ ${nuget_cmd} install src/Org.OpenAPITools/packages.config -o packages;
echo "[INFO] Copy DLLs to the 'bin' folder" echo "[INFO] Copy DLLs to the 'bin' folder"
mkdir -p bin; mkdir -p bin;
cp packages/Newtonsoft.Json.10.0.3/lib/net35/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll; cp packages/Newtonsoft.Json.12.0.1/lib/net35/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll;
cp packages/RestSharp.105.1.0/lib/net35/RestSharp.dll bin/RestSharp.dll; cp packages/RestSharp.105.1.0/lib/net35/RestSharp.dll bin/RestSharp.dll;
cp packages/JsonSubTypes.1.2.0/lib/net35/JsonSubTypes.dll bin/JsonSubTypes.dll cp packages/JsonSubTypes.1.5.2/lib/net35/JsonSubTypes.dll bin/JsonSubTypes.dll
echo "[INFO] Run 'mcs' to build bin/Org.OpenAPITools.dll" echo "[INFO] Run 'mcs' to build bin/Org.OpenAPITools.dll"
mcs -langversion:${langversion} -sdk:${sdk} -r:bin/Newtonsoft.Json.dll,bin/JsonSubTypes.dll,\ mcs -langversion:${langversion} -sdk:${sdk} -r:bin/Newtonsoft.Json.dll,bin/JsonSubTypes.dll,\

View File

@ -14,9 +14,9 @@ wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
mozroots --import --sync mozroots --import --sync
mono nuget.exe install src/Org.OpenAPITools.Test/packages.config -o packages mono nuget.exe install src/Org.OpenAPITools.Test/packages.config -o packages
echo "[INFO] Install NUnit runners via NuGet" echo "[INFO] Install NUnit Console 3.x runners via NuGet"
mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages mono nuget.exe install NUnit.ConsoleRunner -Version 3.10.0 -OutputDirectory packages
echo "[INFO] Build the solution and run the unit test" echo "[INFO] Build the solution and run the unit test"
xbuild Org.OpenAPITools.sln && \ xbuild Org.OpenAPITools.sln && \
mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/Org.OpenAPITools.Test/bin/Debug/Org.OpenAPITools.Test.dll mono ./packages/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe src/Org.OpenAPITools.Test/bin/Debug/Org.OpenAPITools.Test.dll

View File

@ -47,16 +47,16 @@ The version of the OpenAPI document: 1.0.0
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net35\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net35\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net35\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net35\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net35\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net35\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net35\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net35\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net35\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net35\RestSharp.dll</HintPath>
@ -65,10 +65,10 @@ The version of the OpenAPI document: 1.0.0
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\RestSharp.105.1.0\lib\net35\RestSharp.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\RestSharp.105.1.0\lib\net35\RestSharp.dll</HintPath>
</Reference> </Reference>
<Reference Include="nunit.framework"> <Reference Include="nunit.framework">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="NUnit" version="2.6.4" targetFramework="net35" /> <package id="NUnit" version="3.11.0" targetFramework="net452" />
<package id="RestSharp" version="105.1.0" targetFramework="net35" developmentDependency="true" /> <package id="RestSharp" version="105.1.0" targetFramework="net35" developmentDependency="true" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net35" developmentDependency="true" /> <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net35" developmentDependency="true" />
<package id="JsonSubTypes" version="1.2.0" targetFramework="net35" developmentDependency="true" /> <package id="JsonSubTypes" version="1.5.2" targetFramework="net35" developmentDependency="true" />
</packages> </packages>

View File

@ -50,16 +50,16 @@ The version of the OpenAPI document: 1.0.0
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net35\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net35\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net35\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.10.0.3\lib\net35\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net35\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net35\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net35\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net35\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.2.0\lib\net35\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net35\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net35\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net35\RestSharp.dll</HintPath>

View File

@ -25,8 +25,8 @@
<!-- Dependencies are automatically installed when the package is installed --> <!-- Dependencies are automatically installed when the package is installed -->
<dependencies> <dependencies>
<dependency id="NewtonSoft.Json" version="10.0.3" /> <dependency id="NewtonSoft.Json" version="12.0.1" />
<dependency id="JsonSubTypes" version="1.2.0" /> <dependency id="JsonSubTypes" version="1.5.2" />
<dependency id="RestSharp" version="105.1.0" /> <dependency id="RestSharp" version="105.1.0" />
</dependencies> </dependencies>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="RestSharp" version="105.1.0" targetFramework="net35" developmentDependency="true" /> <package id="RestSharp" version="105.1.0" targetFramework="net35" developmentDependency="true" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net35" developmentDependency="true" /> <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net35" developmentDependency="true" />
<package id="JsonSubTypes" version="1.2.0" targetFramework="net35" developmentDependency="true" /> <package id="JsonSubTypes" version="1.5.2" targetFramework="net35" developmentDependency="true" />
</packages> </packages>

View File

@ -10,8 +10,8 @@ if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient
if not exist ".\bin" mkdir bin if not exist ".\bin" mkdir bin
copy packages\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll copy packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll
copy packages\JsonSubTypes.1.2.0\lib\net40\JsonSubTypes.dll bin\JsonSubTypes.dll copy packages\JsonSubTypes.1.5.2\lib\net40\JsonSubTypes.dll bin\JsonSubTypes.dll
copy packages\RestSharp.105.1.0\lib\net4\RestSharp.dll bin\RestSharp.dll copy packages\RestSharp.105.1.0\lib\net4\RestSharp.dll bin\RestSharp.dll
%CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\JsonSubTypes.dll;bin\RestSharp.dll;System.ComponentModel.DataAnnotations.dll /target:library /out:bin\Org.OpenAPITools.dll /recurse:src\Org.OpenAPITools\*.cs /doc:bin\Org.OpenAPITools.xml %CSCPATH%\csc /reference:bin\Newtonsoft.Json.dll;bin\JsonSubTypes.dll;bin\RestSharp.dll;System.ComponentModel.DataAnnotations.dll /target:library /out:bin\Org.OpenAPITools.dll /recurse:src\Org.OpenAPITools\*.cs /doc:bin\Org.OpenAPITools.xml

View File

@ -44,9 +44,9 @@ ${nuget_cmd} install src/Org.OpenAPITools/packages.config -o packages;
echo "[INFO] Copy DLLs to the 'bin' folder" echo "[INFO] Copy DLLs to the 'bin' folder"
mkdir -p bin; mkdir -p bin;
cp packages/Newtonsoft.Json.10.0.3/lib/net40/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll; cp packages/Newtonsoft.Json.12.0.1/lib/net40/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll;
cp packages/RestSharp.105.1.0/lib/net4/RestSharp.dll bin/RestSharp.dll; cp packages/RestSharp.105.1.0/lib/net4/RestSharp.dll bin/RestSharp.dll;
cp packages/JsonSubTypes.1.2.0/lib/net40/JsonSubTypes.dll bin/JsonSubTypes.dll cp packages/JsonSubTypes.1.5.2/lib/net40/JsonSubTypes.dll bin/JsonSubTypes.dll
echo "[INFO] Run 'mcs' to build bin/Org.OpenAPITools.dll" echo "[INFO] Run 'mcs' to build bin/Org.OpenAPITools.dll"
mcs -langversion:${langversion} -sdk:${sdk} -r:bin/Newtonsoft.Json.dll,bin/JsonSubTypes.dll,\ mcs -langversion:${langversion} -sdk:${sdk} -r:bin/Newtonsoft.Json.dll,bin/JsonSubTypes.dll,\

View File

@ -14,9 +14,9 @@ wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
mozroots --import --sync mozroots --import --sync
mono nuget.exe install src/Org.OpenAPITools.Test/packages.config -o packages mono nuget.exe install src/Org.OpenAPITools.Test/packages.config -o packages
echo "[INFO] Install NUnit runners via NuGet" echo "[INFO] Install NUnit Console 3.x runners via NuGet"
mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages mono nuget.exe install NUnit.ConsoleRunner -Version 3.10.0 -OutputDirectory packages
echo "[INFO] Build the solution and run the unit test" echo "[INFO] Build the solution and run the unit test"
xbuild Org.OpenAPITools.sln && \ xbuild Org.OpenAPITools.sln && \
mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/Org.OpenAPITools.Test/bin/Debug/Org.OpenAPITools.Test.dll mono ./packages/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe src/Org.OpenAPITools.Test/bin/Debug/Org.OpenAPITools.Test.dll

View File

@ -47,16 +47,16 @@ The version of the OpenAPI document: 1.0.0
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\net40\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net40\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\net40\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net40\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\net40\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net40\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.2.0\lib\net40\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net40\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net4\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net4\RestSharp.dll</HintPath>
@ -65,10 +65,10 @@ The version of the OpenAPI document: 1.0.0
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\RestSharp.105.1.0\lib\net4\RestSharp.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\RestSharp.105.1.0\lib\net4\RestSharp.dll</HintPath>
</Reference> </Reference>
<Reference Include="nunit.framework"> <Reference Include="nunit.framework">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="NUnit" version="2.6.4" targetFramework="net40" /> <package id="NUnit" version="3.11.0" targetFramework="net4" />
<package id="RestSharp" version="105.1.0" targetFramework="net4" developmentDependency="true" /> <package id="RestSharp" version="105.1.0" targetFramework="net4" developmentDependency="true" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net40" developmentDependency="true" /> <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net40" developmentDependency="true" />
<package id="JsonSubTypes" version="1.2.0" targetFramework="net40" developmentDependency="true" /> <package id="JsonSubTypes" version="1.5.2" targetFramework="net40" developmentDependency="true" />
</packages> </packages>

View File

@ -50,16 +50,16 @@ The version of the OpenAPI document: 1.0.0
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.10.0.3\lib\net40\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\net40\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net40\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\net40\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net40\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\net40\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net40\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.2.0\lib\net40\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net40\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net4\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net4\RestSharp.dll</HintPath>

View File

@ -25,8 +25,8 @@
<!-- Dependencies are automatically installed when the package is installed --> <!-- Dependencies are automatically installed when the package is installed -->
<dependencies> <dependencies>
<dependency id="NewtonSoft.Json" version="10.0.3" /> <dependency id="NewtonSoft.Json" version="12.0.1" />
<dependency id="JsonSubTypes" version="1.2.0" /> <dependency id="JsonSubTypes" version="1.5.2" />
<dependency id="RestSharp" version="105.1.0" /> <dependency id="RestSharp" version="105.1.0" />
</dependencies> </dependencies>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="RestSharp" version="105.1.0" targetFramework="net4" developmentDependency="true" /> <package id="RestSharp" version="105.1.0" targetFramework="net4" developmentDependency="true" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net40" developmentDependency="true" /> <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net40" developmentDependency="true" />
<package id="JsonSubTypes" version="1.2.0" targetFramework="net40" developmentDependency="true" /> <package id="JsonSubTypes" version="1.5.2" targetFramework="net40" developmentDependency="true" />
</packages> </packages>

View File

@ -3,8 +3,8 @@
"dependencies": { "dependencies": {
"FubarCoder.RestSharp.Portable.Core": "4.0.7", "FubarCoder.RestSharp.Portable.Core": "4.0.7",
"FubarCoder.RestSharp.Portable.HttpClient": "4.0.7", "FubarCoder.RestSharp.Portable.HttpClient": "4.0.7",
"Newtonsoft.Json": "10.0.3", "Newtonsoft.Json": "12.0.1",
"JsonSubTypes": "1.2.0" "JsonSubTypes": "1.5.2"
}, },
"frameworks": { "frameworks": {
"netstandard1.3": {} "netstandard1.3": {}

View File

@ -10,8 +10,8 @@ if not exist ".\nuget.exe" powershell -Command "(new-object System.Net.WebClient
if not exist ".\bin" mkdir bin if not exist ".\bin" mkdir bin
copy packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll copy packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll bin\Newtonsoft.Json.dll
copy packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll bin\JsonSubTypes.dll copy packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll bin\JsonSubTypes.dll
copy packages\RestSharp.105.1.0\lib\net45\RestSharp.dll bin\RestSharp.dll copy packages\RestSharp.105.1.0\lib\net45\RestSharp.dll bin\RestSharp.dll
copy packages\Fody.1.29.4\Fody.dll bin\Fody.dll copy packages\Fody.1.29.4\Fody.dll bin\Fody.dll
copy packages\PropertyChanged.Fody.1.51.3\PropertyChanged.Fody.dll bin\PropertyChanged.Fody.dll copy packages\PropertyChanged.Fody.1.51.3\PropertyChanged.Fody.dll bin\PropertyChanged.Fody.dll

View File

@ -44,9 +44,9 @@ ${nuget_cmd} install src/Org.OpenAPITools/packages.config -o packages;
echo "[INFO] Copy DLLs to the 'bin' folder" echo "[INFO] Copy DLLs to the 'bin' folder"
mkdir -p bin; mkdir -p bin;
cp packages/Newtonsoft.Json.10.0.3/lib/net45/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll; cp packages/Newtonsoft.Json.12.0.1/lib/net45/Newtonsoft.Json.dll bin/Newtonsoft.Json.dll;
cp packages/RestSharp.105.1.0/lib/net45/RestSharp.dll bin/RestSharp.dll; cp packages/RestSharp.105.1.0/lib/net45/RestSharp.dll bin/RestSharp.dll;
cp packages/JsonSubTypes.1.2.0/lib/net45/JsonSubTypes.dll bin/JsonSubTypes.dll cp packages/JsonSubTypes.1.5.2/lib/net45/JsonSubTypes.dll bin/JsonSubTypes.dll
cp packages/Fody.1.29.4/Fody.dll bin/Fody.dll cp packages/Fody.1.29.4/Fody.dll bin/Fody.dll
cp packages/PropertyChanged.Fody.1.51.3/PropertyChanged.Fody.dll bin/PropertyChanged.Fody.dll cp packages/PropertyChanged.Fody.1.51.3/PropertyChanged.Fody.dll bin/PropertyChanged.Fody.dll
cp packages/PropertyChanged.Fody.1.51.3/Lib/dotnet/PropertyChanged.dll bin/PropertyChanged.dll cp packages/PropertyChanged.Fody.1.51.3/Lib/dotnet/PropertyChanged.dll bin/PropertyChanged.dll

View File

@ -14,9 +14,9 @@ wget -nc https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
mozroots --import --sync mozroots --import --sync
mono nuget.exe install src/Org.OpenAPITools.Test/packages.config -o packages mono nuget.exe install src/Org.OpenAPITools.Test/packages.config -o packages
echo "[INFO] Install NUnit runners via NuGet" echo "[INFO] Install NUnit Console 3.x runners via NuGet"
mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory packages mono nuget.exe install NUnit.ConsoleRunner -Version 3.10.0 -OutputDirectory packages
echo "[INFO] Build the solution and run the unit test" echo "[INFO] Build the solution and run the unit test"
xbuild Org.OpenAPITools.sln && \ xbuild Org.OpenAPITools.sln && \
mono ./packages/NUnit.Runners.2.6.4/tools/nunit-console.exe src/Org.OpenAPITools.Test/bin/Debug/Org.OpenAPITools.Test.dll mono ./packages/NUnit.ConsoleRunner.3.10.0/tools/nunit3-console.exe src/Org.OpenAPITools.Test/bin/Debug/Org.OpenAPITools.Test.dll

View File

@ -47,16 +47,16 @@ The version of the OpenAPI document: 1.0.0
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath>
@ -65,10 +65,10 @@ The version of the OpenAPI document: 1.0.0
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath>
</Reference> </Reference>
<Reference Include="nunit.framework"> <Reference Include="nunit.framework">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\NUnit.2.6.4\lib\nunit.framework.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\NUnit.3.11.0\lib\net45\nunit.framework.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="NUnit" version="2.6.4" targetFramework="net45" /> <package id="NUnit" version="3.11.0" targetFramework="net452" />
<package id="RestSharp" version="105.1.0" targetFramework="net45" developmentDependency="true" /> <package id="RestSharp" version="105.1.0" targetFramework="net45" developmentDependency="true" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" developmentDependency="true" /> <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net45" developmentDependency="true" />
<package id="JsonSubTypes" version="1.2.0" targetFramework="net45" developmentDependency="true" /> <package id="JsonSubTypes" version="1.5.2" targetFramework="net45" developmentDependency="true" />
</packages> </packages>

View File

@ -50,16 +50,16 @@ The version of the OpenAPI document: 1.0.0
<Reference Include="System.Runtime.Serialization" /> <Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.10.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="JsonSubTypes"> <Reference Include="JsonSubTypes">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.2.0\lib\net45\JsonSubTypes.dll</HintPath> <HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
</Reference> </Reference>
<Reference Include="RestSharp"> <Reference Include="RestSharp">
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath> <HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath>

View File

@ -25,8 +25,8 @@
<!-- Dependencies are automatically installed when the package is installed --> <!-- Dependencies are automatically installed when the package is installed -->
<dependencies> <dependencies>
<dependency id="NewtonSoft.Json" version="10.0.3" /> <dependency id="NewtonSoft.Json" version="12.0.1" />
<dependency id="JsonSubTypes" version="1.2.0" /> <dependency id="JsonSubTypes" version="1.5.2" />
<dependency id="RestSharp" version="105.1.0" /> <dependency id="RestSharp" version="105.1.0" />
<dependency id="Fody" version="1.29.4" /> <dependency id="Fody" version="1.29.4" />
<dependency id="PropertyChanged.Fody" version="1.51.3" /> <dependency id="PropertyChanged.Fody" version="1.51.3" />

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<packages> <packages>
<package id="RestSharp" version="105.1.0" targetFramework="net45" developmentDependency="true" /> <package id="RestSharp" version="105.1.0" targetFramework="net45" developmentDependency="true" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net45" developmentDependency="true" /> <package id="Newtonsoft.Json" version="12.0.1" targetFramework="net45" developmentDependency="true" />
<package id="JsonSubTypes" version="1.2.0" targetFramework="net45" developmentDependency="true" /> <package id="JsonSubTypes" version="1.5.2" targetFramework="net45" developmentDependency="true" />
<package id="Fody" version="1.29.4" targetFramework="net45" developmentDependency="true" /> <package id="Fody" version="1.29.4" targetFramework="net45" developmentDependency="true" />
<package id="PropertyChanged.Fody" version="1.51.3" targetFramework="net45" developmentDependency="true" /> <package id="PropertyChanged.Fody" version="1.51.3" targetFramework="net45" developmentDependency="true" />
</packages> </packages>