forked from loafle/openapi-generator-original
fixed sorting (#18706)
This commit is contained in:
@@ -51,6 +51,7 @@ docs/List.md
|
||||
docs/LiteralStringClass.md
|
||||
docs/Mammal.md
|
||||
docs/MapTest.md
|
||||
docs/MixLog.md
|
||||
docs/MixedPropertiesAndAdditionalPropertiesClass.md
|
||||
docs/Model200Response.md
|
||||
docs/ModelClient.md
|
||||
@@ -174,6 +175,7 @@ src/Org.OpenAPITools/Model/List.cs
|
||||
src/Org.OpenAPITools/Model/LiteralStringClass.cs
|
||||
src/Org.OpenAPITools/Model/Mammal.cs
|
||||
src/Org.OpenAPITools/Model/MapTest.cs
|
||||
src/Org.OpenAPITools/Model/MixLog.cs
|
||||
src/Org.OpenAPITools/Model/MixedPropertiesAndAdditionalPropertiesClass.cs
|
||||
src/Org.OpenAPITools/Model/Model200Response.cs
|
||||
src/Org.OpenAPITools/Model/ModelClient.cs
|
||||
|
||||
@@ -199,6 +199,7 @@ Class | Method | HTTP request | Description
|
||||
- [Model.LiteralStringClass](docs/LiteralStringClass.md)
|
||||
- [Model.Mammal](docs/Mammal.md)
|
||||
- [Model.MapTest](docs/MapTest.md)
|
||||
- [Model.MixLog](docs/MixLog.md)
|
||||
- [Model.MixedPropertiesAndAdditionalPropertiesClass](docs/MixedPropertiesAndAdditionalPropertiesClass.md)
|
||||
- [Model.Model200Response](docs/Model200Response.md)
|
||||
- [Model.ModelClient](docs/ModelClient.md)
|
||||
|
||||
@@ -2706,6 +2706,108 @@ components:
|
||||
- a_objVariableobject
|
||||
- pkiNotificationtestID
|
||||
type: object
|
||||
MixLog:
|
||||
properties:
|
||||
id:
|
||||
format: uuid
|
||||
type: string
|
||||
description:
|
||||
type: string
|
||||
mixDate:
|
||||
format: date-time
|
||||
type: string
|
||||
shopId:
|
||||
format: uuid
|
||||
type: string
|
||||
totalPrice:
|
||||
format: float
|
||||
nullable: true
|
||||
type: number
|
||||
totalRecalculations:
|
||||
format: int32
|
||||
type: integer
|
||||
totalOverPoors:
|
||||
format: int32
|
||||
type: integer
|
||||
totalSkips:
|
||||
format: int32
|
||||
type: integer
|
||||
totalUnderPours:
|
||||
format: int32
|
||||
type: integer
|
||||
formulaVersionDate:
|
||||
format: date-time
|
||||
type: string
|
||||
someCode:
|
||||
description: SomeCode is only required for color mixes
|
||||
nullable: true
|
||||
type: string
|
||||
batchNumber:
|
||||
type: string
|
||||
brandCode:
|
||||
description: BrandCode is only required for non-color mixes
|
||||
type: string
|
||||
brandId:
|
||||
description: BrandId is only required for color mixes
|
||||
type: string
|
||||
brandName:
|
||||
description: BrandName is only required for color mixes
|
||||
type: string
|
||||
categoryCode:
|
||||
description: CategoryCode is not used anymore
|
||||
type: string
|
||||
color:
|
||||
description: Color is only required for color mixes
|
||||
type: string
|
||||
colorDescription:
|
||||
type: string
|
||||
comment:
|
||||
type: string
|
||||
commercialProductCode:
|
||||
type: string
|
||||
productLineCode:
|
||||
description: ProductLineCode is only required for color mixes
|
||||
type: string
|
||||
country:
|
||||
type: string
|
||||
createdBy:
|
||||
type: string
|
||||
createdByFirstName:
|
||||
type: string
|
||||
createdByLastName:
|
||||
type: string
|
||||
deltaECalculationRepaired:
|
||||
type: string
|
||||
deltaECalculationSprayout:
|
||||
type: string
|
||||
ownColorVariantNumber:
|
||||
format: int32
|
||||
nullable: true
|
||||
type: integer
|
||||
primerProductId:
|
||||
type: string
|
||||
productId:
|
||||
description: ProductId is only required for color mixes
|
||||
type: string
|
||||
productName:
|
||||
description: ProductName is only required for color mixes
|
||||
type: string
|
||||
selectedVersionIndex:
|
||||
format: int32
|
||||
type: integer
|
||||
required:
|
||||
- description
|
||||
- formulaVersionDate
|
||||
- id
|
||||
- mixDate
|
||||
- totalOverPoors
|
||||
- totalRecalculations
|
||||
- totalSkips
|
||||
- totalUnderPours
|
||||
type: object
|
||||
uuid:
|
||||
format: uuid
|
||||
type: string
|
||||
_foo_get_default_response:
|
||||
example:
|
||||
string:
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
# Org.OpenAPITools.Model.MixLog
|
||||
|
||||
## Properties
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**Id** | **Guid** | |
|
||||
**Description** | **string** | |
|
||||
**MixDate** | **DateTime** | |
|
||||
**ShopId** | **Guid** | | [optional]
|
||||
**TotalPrice** | **float?** | | [optional]
|
||||
**TotalRecalculations** | **int** | |
|
||||
**TotalOverPoors** | **int** | |
|
||||
**TotalSkips** | **int** | |
|
||||
**TotalUnderPours** | **int** | |
|
||||
**FormulaVersionDate** | **DateTime** | |
|
||||
**SomeCode** | **string** | SomeCode is only required for color mixes | [optional]
|
||||
**BatchNumber** | **string** | | [optional]
|
||||
**BrandCode** | **string** | BrandCode is only required for non-color mixes | [optional]
|
||||
**BrandId** | **string** | BrandId is only required for color mixes | [optional]
|
||||
**BrandName** | **string** | BrandName is only required for color mixes | [optional]
|
||||
**CategoryCode** | **string** | CategoryCode is not used anymore | [optional]
|
||||
**Color** | **string** | Color is only required for color mixes | [optional]
|
||||
**ColorDescription** | **string** | | [optional]
|
||||
**Comment** | **string** | | [optional]
|
||||
**CommercialProductCode** | **string** | | [optional]
|
||||
**ProductLineCode** | **string** | ProductLineCode is only required for color mixes | [optional]
|
||||
**Country** | **string** | | [optional]
|
||||
**CreatedBy** | **string** | | [optional]
|
||||
**CreatedByFirstName** | **string** | | [optional]
|
||||
**CreatedByLastName** | **string** | | [optional]
|
||||
**DeltaECalculationRepaired** | **string** | | [optional]
|
||||
**DeltaECalculationSprayout** | **string** | | [optional]
|
||||
**OwnColorVariantNumber** | **int?** | | [optional]
|
||||
**PrimerProductId** | **string** | | [optional]
|
||||
**ProductId** | **string** | ProductId is only required for color mixes | [optional]
|
||||
**ProductName** | **string** | ProductName is only required for color mixes | [optional]
|
||||
**SelectedVersionIndex** | **int** | | [optional]
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
@@ -0,0 +1,345 @@
|
||||
/*
|
||||
* 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;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Org.OpenAPITools.Test.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing MixLog
|
||||
/// </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 MixLogTests : IDisposable
|
||||
{
|
||||
// TODO uncomment below to declare an instance variable for MixLog
|
||||
//private MixLog instance;
|
||||
|
||||
public MixLogTests()
|
||||
{
|
||||
// TODO uncomment below to create an instance of MixLog
|
||||
//instance = new MixLog();
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
// Cleanup when everything is done.
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test an instance of MixLog
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void MixLogInstanceTest()
|
||||
{
|
||||
// TODO uncomment below to test "IsType" MixLog
|
||||
//Assert.IsType<MixLog>(instance);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Id'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void IdTest()
|
||||
{
|
||||
// TODO unit test for the property 'Id'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Description'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void DescriptionTest()
|
||||
{
|
||||
// TODO unit test for the property 'Description'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'MixDate'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void MixDateTest()
|
||||
{
|
||||
// TODO unit test for the property 'MixDate'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'ShopId'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void ShopIdTest()
|
||||
{
|
||||
// TODO unit test for the property 'ShopId'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'TotalPrice'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void TotalPriceTest()
|
||||
{
|
||||
// TODO unit test for the property 'TotalPrice'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'TotalRecalculations'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void TotalRecalculationsTest()
|
||||
{
|
||||
// TODO unit test for the property 'TotalRecalculations'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'TotalOverPoors'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void TotalOverPoorsTest()
|
||||
{
|
||||
// TODO unit test for the property 'TotalOverPoors'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'TotalSkips'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void TotalSkipsTest()
|
||||
{
|
||||
// TODO unit test for the property 'TotalSkips'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'TotalUnderPours'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void TotalUnderPoursTest()
|
||||
{
|
||||
// TODO unit test for the property 'TotalUnderPours'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'FormulaVersionDate'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void FormulaVersionDateTest()
|
||||
{
|
||||
// TODO unit test for the property 'FormulaVersionDate'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'SomeCode'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void SomeCodeTest()
|
||||
{
|
||||
// TODO unit test for the property 'SomeCode'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'BatchNumber'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void BatchNumberTest()
|
||||
{
|
||||
// TODO unit test for the property 'BatchNumber'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'BrandCode'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void BrandCodeTest()
|
||||
{
|
||||
// TODO unit test for the property 'BrandCode'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'BrandId'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void BrandIdTest()
|
||||
{
|
||||
// TODO unit test for the property 'BrandId'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'BrandName'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void BrandNameTest()
|
||||
{
|
||||
// TODO unit test for the property 'BrandName'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'CategoryCode'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void CategoryCodeTest()
|
||||
{
|
||||
// TODO unit test for the property 'CategoryCode'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Color'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void ColorTest()
|
||||
{
|
||||
// TODO unit test for the property 'Color'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'ColorDescription'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void ColorDescriptionTest()
|
||||
{
|
||||
// TODO unit test for the property 'ColorDescription'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Comment'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void CommentTest()
|
||||
{
|
||||
// TODO unit test for the property 'Comment'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'CommercialProductCode'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void CommercialProductCodeTest()
|
||||
{
|
||||
// TODO unit test for the property 'CommercialProductCode'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'ProductLineCode'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void ProductLineCodeTest()
|
||||
{
|
||||
// TODO unit test for the property 'ProductLineCode'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'Country'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void CountryTest()
|
||||
{
|
||||
// TODO unit test for the property 'Country'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'CreatedBy'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void CreatedByTest()
|
||||
{
|
||||
// TODO unit test for the property 'CreatedBy'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'CreatedByFirstName'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void CreatedByFirstNameTest()
|
||||
{
|
||||
// TODO unit test for the property 'CreatedByFirstName'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'CreatedByLastName'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void CreatedByLastNameTest()
|
||||
{
|
||||
// TODO unit test for the property 'CreatedByLastName'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'DeltaECalculationRepaired'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void DeltaECalculationRepairedTest()
|
||||
{
|
||||
// TODO unit test for the property 'DeltaECalculationRepaired'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'DeltaECalculationSprayout'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void DeltaECalculationSprayoutTest()
|
||||
{
|
||||
// TODO unit test for the property 'DeltaECalculationSprayout'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'OwnColorVariantNumber'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void OwnColorVariantNumberTest()
|
||||
{
|
||||
// TODO unit test for the property 'OwnColorVariantNumber'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'PrimerProductId'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void PrimerProductIdTest()
|
||||
{
|
||||
// TODO unit test for the property 'PrimerProductId'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'ProductId'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void ProductIdTest()
|
||||
{
|
||||
// TODO unit test for the property 'ProductId'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'ProductName'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void ProductNameTest()
|
||||
{
|
||||
// TODO unit test for the property 'ProductName'
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Test the property 'SelectedVersionIndex'
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void SelectedVersionIndexTest()
|
||||
{
|
||||
// TODO unit test for the property 'SelectedVersionIndex'
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user