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

@@ -31,6 +31,12 @@ export interface FoodSimpleRequest {
* @memberof FoodSimpleRequest
*/
pluralName?: string;
/**
*
* @type {number}
* @memberof FoodSimpleRequest
*/
id?: number;
}
/**
@@ -53,6 +59,7 @@ export function FoodSimpleRequestFromJSONTyped(json: any, ignoreDiscriminator: b
'name': json['name'],
'pluralName': json['plural_name'] == null ? undefined : json['plural_name'],
'id': json['id'] == null ? undefined : json['id'],
};
}
@@ -64,6 +71,7 @@ export function FoodSimpleRequestToJSON(value?: FoodSimpleRequest | null): any {
'name': value['name'],
'plural_name': value['pluralName'],
'id': value['id'],
};
}