mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 20:59:28 -05:00
updated openapi generator
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user