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

@@ -49,6 +49,12 @@ export interface PatchedCookLogRequest {
* @memberof PatchedCookLogRequest
*/
createdAt?: Date;
/**
*
* @type {number}
* @memberof PatchedCookLogRequest
*/
id?: number;
}
/**
@@ -73,6 +79,7 @@ export function PatchedCookLogRequestFromJSONTyped(json: any, ignoreDiscriminato
'rating': json['rating'] == null ? undefined : json['rating'],
'comment': json['comment'] == null ? undefined : json['comment'],
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
'id': json['id'] == null ? undefined : json['id'],
};
}
@@ -87,6 +94,7 @@ export function PatchedCookLogRequestToJSON(value?: PatchedCookLogRequest | null
'rating': value['rating'],
'comment': value['comment'],
'created_at': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
'id': value['id'],
};
}