updated openapi generator

This commit is contained in:
vabene1111
2024-09-23 13:57:37 +02:00
parent 7e77e56e7f
commit 12e0c7fd7b
151 changed files with 1274 additions and 1142 deletions

View File

@@ -67,7 +67,7 @@ export interface PatchedRecipeBookEntry {
/**
* Check if a given object implements the PatchedRecipeBookEntry interface.
*/
export function instanceOfPatchedRecipeBookEntry(value: object): boolean {
export function instanceOfPatchedRecipeBookEntry(value: object): value is PatchedRecipeBookEntry {
return true;
}
@@ -89,7 +89,7 @@ export function PatchedRecipeBookEntryFromJSONTyped(json: any, ignoreDiscriminat
};
}
export function PatchedRecipeBookEntryToJSON(value?: PatchedRecipeBookEntry | null): any {
export function PatchedRecipeBookEntryToJSON(value?: Omit<PatchedRecipeBookEntry, 'book_content'|'recipe_content'> | null): any {
if (value == null) {
return value;
}