forked from loafle/openapi-generator-original
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:
parent
caac76c265
commit
e06a408141
@ -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>
|
||||||
|
@ -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
|
||||||
|
@ -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/
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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}}
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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}}
|
||||||
|
@ -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
|
||||||
|
@ -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" />
|
||||||
|
@ -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" />
|
||||||
|
@ -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>
|
||||||
|
@ -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}}": {}
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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,\
|
||||||
|
@ -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
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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);
|
||||||
|
@ -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;
|
||||||
|
@ -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;
|
||||||
|
@ -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();
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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,\
|
||||||
|
@ -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
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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,\
|
||||||
|
@ -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
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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": {}
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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>
|
||||||
|
@ -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" />
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user