no longer split schema in request/response

This commit is contained in:
vabene1111
2024-04-27 10:40:09 +02:00
parent 846c3e36cc
commit e405aab310
104 changed files with 3057 additions and 1125 deletions

View File

@@ -37,7 +37,7 @@ export interface PatchedUnitConversion {
* @type {number}
* @memberof PatchedUnitConversion
*/
readonly id?: number;
id?: number;
/**
*
* @type {string}
@@ -46,10 +46,10 @@ export interface PatchedUnitConversion {
readonly name?: string;
/**
*
* @type {string}
* @type {number}
* @memberof PatchedUnitConversion
*/
baseAmount?: string;
baseAmount?: number;
/**
*
* @type {Unit}
@@ -58,10 +58,10 @@ export interface PatchedUnitConversion {
baseUnit?: Unit;
/**
*
* @type {string}
* @type {number}
* @memberof PatchedUnitConversion
*/
convertedAmount?: string;
convertedAmount?: number;
/**
*
* @type {Unit}
@@ -116,6 +116,7 @@ export function PatchedUnitConversionToJSON(value?: PatchedUnitConversion | null
}
return {
'id': value['id'],
'base_amount': value['baseAmount'],
'base_unit': UnitToJSON(value['baseUnit']),
'converted_amount': value['convertedAmount'],