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

@@ -24,13 +24,14 @@ export interface RecipeShoppingUpdate {
* @type {number}
* @memberof RecipeShoppingUpdate
*/
id?: number;
readonly id: number;
}
/**
* Check if a given object implements the RecipeShoppingUpdate interface.
*/
export function instanceOfRecipeShoppingUpdate(value: object): boolean {
if (!('id' in value)) return false;
return true;
}
@@ -44,7 +45,7 @@ export function RecipeShoppingUpdateFromJSONTyped(json: any, ignoreDiscriminator
}
return {
'id': json['id'] == null ? undefined : json['id'],
'id': json['id'],
};
}
@@ -54,7 +55,6 @@ export function RecipeShoppingUpdateToJSON(value?: RecipeShoppingUpdate | null):
}
return {
'id': value['id'],
};
}