fixed api client generation

This commit is contained in:
vabene1111
2024-04-22 19:33:09 +02:00
parent c47e46263c
commit 12cf9da8fc
145 changed files with 914 additions and 175 deletions

View File

@@ -114,6 +114,12 @@ export interface PatchedOpenDataUnitRequest {
* @memberof PatchedOpenDataUnitRequest
*/
comment?: string;
/**
*
* @type {number}
* @memberof PatchedOpenDataUnitRequest
*/
id?: number;
}
/**
@@ -140,6 +146,7 @@ export function PatchedOpenDataUnitRequestFromJSONTyped(json: any, ignoreDiscrim
'baseUnit': json['base_unit'] == null ? undefined : BaseUnitEnumFromJSON(json['base_unit']),
'type': json['type'] == null ? undefined : OpenDataUnitTypeEnumFromJSON(json['type']),
'comment': json['comment'] == null ? undefined : json['comment'],
'id': json['id'] == null ? undefined : json['id'],
};
}
@@ -156,6 +163,7 @@ export function PatchedOpenDataUnitRequestToJSON(value?: PatchedOpenDataUnitRequ
'base_unit': BaseUnitEnumToJSON(value['baseUnit']),
'type': OpenDataUnitTypeEnumToJSON(value['type']),
'comment': value['comment'],
'id': value['id'],
};
}