mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-04 06:30:52 +00:00
[csharp][generichost] Delete samples (#18323)
* delete samples * rebuild samples * test to see if the pr gate fails * make the samples generate twice * pr gate successfully failed * minor cleanup * minor cleanup
This commit is contained in:
parent
c109399f3f
commit
7b0f963c74
17
.github/workflows/openapi-generator.yaml
vendored
17
.github/workflows/openapi-generator.yaml
vendored
@ -140,8 +140,23 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: openapi-generator-cli.jar
|
name: openapi-generator-cli.jar
|
||||||
path: modules/openapi-generator-cli/target
|
path: modules/openapi-generator-cli/target
|
||||||
|
- name: Delete samples that are entirely generated
|
||||||
|
run: |
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net8/AllOf
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net8/AnyOf
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net8/FormModels
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net8/NullReferenceTypes
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net8/OneOf
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net8/Petstore
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net8/SourceGeneration
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/standard2.0/Petstore
|
||||||
- name: Generate samples
|
- name: Generate samples
|
||||||
run: bash bin/generate-samples.sh
|
run: |
|
||||||
|
bash bin/generate-samples.sh
|
||||||
|
# when a sample is deleted, you have to generate it twice for all files to get created
|
||||||
|
bash bin/generate-samples.sh
|
||||||
- name: Verify git status
|
- name: Verify git status
|
||||||
run: |
|
run: |
|
||||||
if [[ "$(git status --porcelain)" != "" ]]; then
|
if [[ "$(git status --porcelain)" != "" ]]; then
|
||||||
|
@ -121,6 +121,16 @@ namespace Org.OpenAPITools.Test.Api
|
|||||||
Assert.IsType<List<OuterEnum>>(model);
|
Assert.IsType<List<OuterEnum>>(model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test TestAdditionalPropertiesReference
|
||||||
|
/// </summary>
|
||||||
|
[Fact (Skip = "not implemented")]
|
||||||
|
public async Task TestAdditionalPropertiesReferenceAsyncTest()
|
||||||
|
{
|
||||||
|
Dictionary<string, Object> requestBody = default!;
|
||||||
|
await _instance.TestAdditionalPropertiesReferenceAsync(requestBody);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test TestBodyWithFileSchema
|
/// Test TestBodyWithFileSchema
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -257,5 +267,15 @@ namespace Org.OpenAPITools.Test.Api
|
|||||||
Client.Option<string?> notRequiredNullable = default!;
|
Client.Option<string?> notRequiredNullable = default!;
|
||||||
await _instance.TestQueryParameterCollectionFormatAsync(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
|
await _instance.TestQueryParameterCollectionFormatAsync(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test TestStringMapReference
|
||||||
|
/// </summary>
|
||||||
|
[Fact (Skip = "not implemented")]
|
||||||
|
public async Task TestStringMapReferenceAsyncTest()
|
||||||
|
{
|
||||||
|
Dictionary<string, string> requestBody = default!;
|
||||||
|
await _instance.TestStringMapReferenceAsync(requestBody);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarClass'
|
/// Test the property 'Class'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarClassTest()
|
public void ClassTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarClass'
|
// TODO unit test for the property 'Class'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarString'
|
/// Test the property 'String'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarStringTest()
|
public void StringTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarString'
|
// TODO unit test for the property 'String'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarByte'
|
/// Test the property 'Byte'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarByteTest()
|
public void ByteTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarByte'
|
// TODO unit test for the property 'Byte'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -108,30 +108,30 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarDecimal'
|
/// Test the property 'Decimal'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarDecimalTest()
|
public void DecimalTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarDecimal'
|
// TODO unit test for the property 'Decimal'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarDouble'
|
/// Test the property 'Double'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarDoubleTest()
|
public void DoubleTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarDouble'
|
// TODO unit test for the property 'Double'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarFloat'
|
/// Test the property 'Float'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarFloatTest()
|
public void FloatTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarFloat'
|
// TODO unit test for the property 'Float'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -189,12 +189,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarString'
|
/// Test the property 'String'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarStringTest()
|
public void StringTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarString'
|
// TODO unit test for the property 'String'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -1,56 +0,0 @@
|
|||||||
/*
|
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.0.0
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Org.OpenAPITools.Model;
|
|
||||||
using Org.OpenAPITools.Client;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Org.OpenAPITools.Test.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Class for testing MixedEnumType
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
/// Please update the test case below to test the model.
|
|
||||||
/// </remarks>
|
|
||||||
public class MixedEnumTypeTests : IDisposable
|
|
||||||
{
|
|
||||||
// TODO uncomment below to declare an instance variable for MixedEnumType
|
|
||||||
//private MixedEnumType instance;
|
|
||||||
|
|
||||||
public MixedEnumTypeTests()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to create an instance of MixedEnumType
|
|
||||||
//instance = new MixedEnumType();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
// Cleanup when everything is done.
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test an instance of MixedEnumType
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void MixedEnumTypeInstanceTest()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to test "IsType" MixedEnumType
|
|
||||||
//Assert.IsType<MixedEnumType>(instance);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,56 +0,0 @@
|
|||||||
/*
|
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.0.0
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Org.OpenAPITools.Model;
|
|
||||||
using Org.OpenAPITools.Client;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Org.OpenAPITools.Test.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Class for testing MixedNullableEnumType
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
/// Please update the test case below to test the model.
|
|
||||||
/// </remarks>
|
|
||||||
public class MixedNullableEnumTypeTests : IDisposable
|
|
||||||
{
|
|
||||||
// TODO uncomment below to declare an instance variable for MixedNullableEnumType
|
|
||||||
//private MixedNullableEnumType instance;
|
|
||||||
|
|
||||||
public MixedNullableEnumTypeTests()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to create an instance of MixedNullableEnumType
|
|
||||||
//instance = new MixedNullableEnumType();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
// Cleanup when everything is done.
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test an instance of MixedNullableEnumType
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void MixedNullableEnumTypeInstanceTest()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to test "IsType" MixedNullableEnumType
|
|
||||||
//Assert.IsType<MixedNullableEnumType>(instance);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,65 +0,0 @@
|
|||||||
/*
|
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.0.0
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Org.OpenAPITools.Model;
|
|
||||||
using Org.OpenAPITools.Client;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Org.OpenAPITools.Test.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Class for testing MixedSubId
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
/// Please update the test case below to test the model.
|
|
||||||
/// </remarks>
|
|
||||||
public class MixedSubIdTests : IDisposable
|
|
||||||
{
|
|
||||||
// TODO uncomment below to declare an instance variable for MixedSubId
|
|
||||||
//private MixedSubId instance;
|
|
||||||
|
|
||||||
public MixedSubIdTests()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to create an instance of MixedSubId
|
|
||||||
//instance = new MixedSubId();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
// Cleanup when everything is done.
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test an instance of MixedSubId
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void MixedSubIdInstanceTest()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to test "IsType" MixedSubId
|
|
||||||
//Assert.IsType<MixedSubId>(instance);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test the property 'Id'
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void IdTest()
|
|
||||||
{
|
|
||||||
// TODO unit test for the property 'Id'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarClass'
|
/// Test the property 'Class'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarClassTest()
|
public void ClassTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarClass'
|
// TODO unit test for the property 'Class'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -53,6 +53,24 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
//Assert.IsType<Return>(instance);
|
//Assert.IsType<Return>(instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Lock'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void LockTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Lock'
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Abstract'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void AbstractTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Abstract'
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarReturn'
|
/// Test the property 'VarReturn'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -61,5 +79,14 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarReturn'
|
// TODO unit test for the property 'VarReturn'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Unsafe'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void UnsafeTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Unsafe'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -121,6 +121,16 @@ namespace Org.OpenAPITools.Test.Api
|
|||||||
Assert.IsType<List<OuterEnum>>(model);
|
Assert.IsType<List<OuterEnum>>(model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test TestAdditionalPropertiesReference
|
||||||
|
/// </summary>
|
||||||
|
[Fact (Skip = "not implemented")]
|
||||||
|
public async Task TestAdditionalPropertiesReferenceAsyncTest()
|
||||||
|
{
|
||||||
|
Dictionary<string, Object> requestBody = default;
|
||||||
|
await _instance.TestAdditionalPropertiesReferenceAsync(requestBody);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test TestBodyWithFileSchema
|
/// Test TestBodyWithFileSchema
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -257,5 +267,15 @@ namespace Org.OpenAPITools.Test.Api
|
|||||||
Client.Option<string> notRequiredNullable = default;
|
Client.Option<string> notRequiredNullable = default;
|
||||||
await _instance.TestQueryParameterCollectionFormatAsync(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
|
await _instance.TestQueryParameterCollectionFormatAsync(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test TestStringMapReference
|
||||||
|
/// </summary>
|
||||||
|
[Fact (Skip = "not implemented")]
|
||||||
|
public async Task TestStringMapReferenceAsyncTest()
|
||||||
|
{
|
||||||
|
Dictionary<string, string> requestBody = default;
|
||||||
|
await _instance.TestStringMapReferenceAsync(requestBody);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarClass'
|
/// Test the property 'Class'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarClassTest()
|
public void ClassTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarClass'
|
// TODO unit test for the property 'Class'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarString'
|
/// Test the property 'String'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarStringTest()
|
public void StringTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarString'
|
// TODO unit test for the property 'String'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarByte'
|
/// Test the property 'Byte'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarByteTest()
|
public void ByteTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarByte'
|
// TODO unit test for the property 'Byte'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -108,30 +108,30 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarDecimal'
|
/// Test the property 'Decimal'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarDecimalTest()
|
public void DecimalTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarDecimal'
|
// TODO unit test for the property 'Decimal'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarDouble'
|
/// Test the property 'Double'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarDoubleTest()
|
public void DoubleTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarDouble'
|
// TODO unit test for the property 'Double'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarFloat'
|
/// Test the property 'Float'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarFloatTest()
|
public void FloatTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarFloat'
|
// TODO unit test for the property 'Float'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -189,12 +189,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarString'
|
/// Test the property 'String'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarStringTest()
|
public void StringTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarString'
|
// TODO unit test for the property 'String'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -1,56 +0,0 @@
|
|||||||
/*
|
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.0.0
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Org.OpenAPITools.Model;
|
|
||||||
using Org.OpenAPITools.Client;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Org.OpenAPITools.Test.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Class for testing MixedEnumType
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
/// Please update the test case below to test the model.
|
|
||||||
/// </remarks>
|
|
||||||
public class MixedEnumTypeTests : IDisposable
|
|
||||||
{
|
|
||||||
// TODO uncomment below to declare an instance variable for MixedEnumType
|
|
||||||
//private MixedEnumType instance;
|
|
||||||
|
|
||||||
public MixedEnumTypeTests()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to create an instance of MixedEnumType
|
|
||||||
//instance = new MixedEnumType();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
// Cleanup when everything is done.
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test an instance of MixedEnumType
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void MixedEnumTypeInstanceTest()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to test "IsType" MixedEnumType
|
|
||||||
//Assert.IsType<MixedEnumType>(instance);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,56 +0,0 @@
|
|||||||
/*
|
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.0.0
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Org.OpenAPITools.Model;
|
|
||||||
using Org.OpenAPITools.Client;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Org.OpenAPITools.Test.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Class for testing MixedNullableEnumType
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
/// Please update the test case below to test the model.
|
|
||||||
/// </remarks>
|
|
||||||
public class MixedNullableEnumTypeTests : IDisposable
|
|
||||||
{
|
|
||||||
// TODO uncomment below to declare an instance variable for MixedNullableEnumType
|
|
||||||
//private MixedNullableEnumType instance;
|
|
||||||
|
|
||||||
public MixedNullableEnumTypeTests()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to create an instance of MixedNullableEnumType
|
|
||||||
//instance = new MixedNullableEnumType();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
// Cleanup when everything is done.
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test an instance of MixedNullableEnumType
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void MixedNullableEnumTypeInstanceTest()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to test "IsType" MixedNullableEnumType
|
|
||||||
//Assert.IsType<MixedNullableEnumType>(instance);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,65 +0,0 @@
|
|||||||
/*
|
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.0.0
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Org.OpenAPITools.Model;
|
|
||||||
using Org.OpenAPITools.Client;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Org.OpenAPITools.Test.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Class for testing MixedSubId
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
/// Please update the test case below to test the model.
|
|
||||||
/// </remarks>
|
|
||||||
public class MixedSubIdTests : IDisposable
|
|
||||||
{
|
|
||||||
// TODO uncomment below to declare an instance variable for MixedSubId
|
|
||||||
//private MixedSubId instance;
|
|
||||||
|
|
||||||
public MixedSubIdTests()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to create an instance of MixedSubId
|
|
||||||
//instance = new MixedSubId();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
// Cleanup when everything is done.
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test an instance of MixedSubId
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void MixedSubIdInstanceTest()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to test "IsType" MixedSubId
|
|
||||||
//Assert.IsType<MixedSubId>(instance);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test the property 'Id'
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void IdTest()
|
|
||||||
{
|
|
||||||
// TODO unit test for the property 'Id'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarClass'
|
/// Test the property 'Class'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarClassTest()
|
public void ClassTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarClass'
|
// TODO unit test for the property 'Class'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -53,6 +53,24 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
//Assert.IsType<Return>(instance);
|
//Assert.IsType<Return>(instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Lock'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void LockTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Lock'
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Abstract'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void AbstractTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Abstract'
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarReturn'
|
/// Test the property 'VarReturn'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -61,5 +79,14 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarReturn'
|
// TODO unit test for the property 'VarReturn'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Unsafe'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void UnsafeTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Unsafe'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -121,6 +121,16 @@ namespace Org.OpenAPITools.Test.Api
|
|||||||
Assert.IsType<List<OuterEnum>>(model);
|
Assert.IsType<List<OuterEnum>>(model);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test TestAdditionalPropertiesReference
|
||||||
|
/// </summary>
|
||||||
|
[Fact (Skip = "not implemented")]
|
||||||
|
public async Task TestAdditionalPropertiesReferenceAsyncTest()
|
||||||
|
{
|
||||||
|
Dictionary<string, Object> requestBody = default;
|
||||||
|
await _instance.TestAdditionalPropertiesReferenceAsync(requestBody);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test TestBodyWithFileSchema
|
/// Test TestBodyWithFileSchema
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -257,5 +267,15 @@ namespace Org.OpenAPITools.Test.Api
|
|||||||
Client.Option<string> notRequiredNullable = default;
|
Client.Option<string> notRequiredNullable = default;
|
||||||
await _instance.TestQueryParameterCollectionFormatAsync(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
|
await _instance.TestQueryParameterCollectionFormatAsync(pipe, ioutil, http, url, context, requiredNotNullable, requiredNullable, notRequiredNotNullable, notRequiredNullable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test TestStringMapReference
|
||||||
|
/// </summary>
|
||||||
|
[Fact (Skip = "not implemented")]
|
||||||
|
public async Task TestStringMapReferenceAsyncTest()
|
||||||
|
{
|
||||||
|
Dictionary<string, string> requestBody = default;
|
||||||
|
await _instance.TestStringMapReferenceAsync(requestBody);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarClass'
|
/// Test the property 'Class'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarClassTest()
|
public void ClassTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarClass'
|
// TODO unit test for the property 'Class'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarString'
|
/// Test the property 'String'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarStringTest()
|
public void StringTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarString'
|
// TODO unit test for the property 'String'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarByte'
|
/// Test the property 'Byte'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarByteTest()
|
public void ByteTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarByte'
|
// TODO unit test for the property 'Byte'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -108,30 +108,30 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarDecimal'
|
/// Test the property 'Decimal'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarDecimalTest()
|
public void DecimalTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarDecimal'
|
// TODO unit test for the property 'Decimal'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarDouble'
|
/// Test the property 'Double'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarDoubleTest()
|
public void DoubleTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarDouble'
|
// TODO unit test for the property 'Double'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarFloat'
|
/// Test the property 'Float'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarFloatTest()
|
public void FloatTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarFloat'
|
// TODO unit test for the property 'Float'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -189,12 +189,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarString'
|
/// Test the property 'String'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarStringTest()
|
public void StringTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarString'
|
// TODO unit test for the property 'String'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -1,56 +0,0 @@
|
|||||||
/*
|
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.0.0
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Org.OpenAPITools.Model;
|
|
||||||
using Org.OpenAPITools.Client;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Org.OpenAPITools.Test.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Class for testing MixedEnumType
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
/// Please update the test case below to test the model.
|
|
||||||
/// </remarks>
|
|
||||||
public class MixedEnumTypeTests : IDisposable
|
|
||||||
{
|
|
||||||
// TODO uncomment below to declare an instance variable for MixedEnumType
|
|
||||||
//private MixedEnumType instance;
|
|
||||||
|
|
||||||
public MixedEnumTypeTests()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to create an instance of MixedEnumType
|
|
||||||
//instance = new MixedEnumType();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
// Cleanup when everything is done.
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test an instance of MixedEnumType
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void MixedEnumTypeInstanceTest()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to test "IsType" MixedEnumType
|
|
||||||
//Assert.IsType<MixedEnumType>(instance);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,56 +0,0 @@
|
|||||||
/*
|
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.0.0
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Org.OpenAPITools.Model;
|
|
||||||
using Org.OpenAPITools.Client;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Org.OpenAPITools.Test.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Class for testing MixedNullableEnumType
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
/// Please update the test case below to test the model.
|
|
||||||
/// </remarks>
|
|
||||||
public class MixedNullableEnumTypeTests : IDisposable
|
|
||||||
{
|
|
||||||
// TODO uncomment below to declare an instance variable for MixedNullableEnumType
|
|
||||||
//private MixedNullableEnumType instance;
|
|
||||||
|
|
||||||
public MixedNullableEnumTypeTests()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to create an instance of MixedNullableEnumType
|
|
||||||
//instance = new MixedNullableEnumType();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
// Cleanup when everything is done.
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test an instance of MixedNullableEnumType
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void MixedNullableEnumTypeInstanceTest()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to test "IsType" MixedNullableEnumType
|
|
||||||
//Assert.IsType<MixedNullableEnumType>(instance);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,65 +0,0 @@
|
|||||||
/*
|
|
||||||
* OpenAPI Petstore
|
|
||||||
*
|
|
||||||
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
|
|
||||||
*
|
|
||||||
* The version of the OpenAPI document: 1.0.0
|
|
||||||
* Generated by: https://github.com/openapitools/openapi-generator.git
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
using Xunit;
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Linq;
|
|
||||||
using System.IO;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using Org.OpenAPITools.Model;
|
|
||||||
using Org.OpenAPITools.Client;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
namespace Org.OpenAPITools.Test.Model
|
|
||||||
{
|
|
||||||
/// <summary>
|
|
||||||
/// Class for testing MixedSubId
|
|
||||||
/// </summary>
|
|
||||||
/// <remarks>
|
|
||||||
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
||||||
/// Please update the test case below to test the model.
|
|
||||||
/// </remarks>
|
|
||||||
public class MixedSubIdTests : IDisposable
|
|
||||||
{
|
|
||||||
// TODO uncomment below to declare an instance variable for MixedSubId
|
|
||||||
//private MixedSubId instance;
|
|
||||||
|
|
||||||
public MixedSubIdTests()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to create an instance of MixedSubId
|
|
||||||
//instance = new MixedSubId();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void Dispose()
|
|
||||||
{
|
|
||||||
// Cleanup when everything is done.
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test an instance of MixedSubId
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void MixedSubIdInstanceTest()
|
|
||||||
{
|
|
||||||
// TODO uncomment below to test "IsType" MixedSubId
|
|
||||||
//Assert.IsType<MixedSubId>(instance);
|
|
||||||
}
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Test the property 'Id'
|
|
||||||
/// </summary>
|
|
||||||
[Fact]
|
|
||||||
public void IdTest()
|
|
||||||
{
|
|
||||||
// TODO unit test for the property 'Id'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -54,12 +54,12 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarClass'
|
/// Test the property 'Class'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Fact]
|
[Fact]
|
||||||
public void VarClassTest()
|
public void ClassTest()
|
||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarClass'
|
// TODO unit test for the property 'Class'
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -53,6 +53,24 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
//Assert.IsType<Return>(instance);
|
//Assert.IsType<Return>(instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Lock'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void LockTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Lock'
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Abstract'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void AbstractTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Abstract'
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Test the property 'VarReturn'
|
/// Test the property 'VarReturn'
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -61,5 +79,14 @@ namespace Org.OpenAPITools.Test.Model
|
|||||||
{
|
{
|
||||||
// TODO unit test for the property 'VarReturn'
|
// TODO unit test for the property 'VarReturn'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Test the property 'Unsafe'
|
||||||
|
/// </summary>
|
||||||
|
[Fact]
|
||||||
|
public void UnsafeTest()
|
||||||
|
{
|
||||||
|
// TODO unit test for the property 'Unsafe'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user