no longer split schema in request/response

This commit is contained in:
vabene1111
2024-04-27 10:40:09 +02:00
parent 846c3e36cc
commit e405aab310
104 changed files with 3057 additions and 1125 deletions

View File

@@ -24,7 +24,7 @@ export interface SyncLog {
* @type {number}
* @memberof SyncLog
*/
readonly id: number;
id?: number;
/**
*
* @type {number}
@@ -55,7 +55,6 @@ export interface SyncLog {
* Check if a given object implements the SyncLog interface.
*/
export function instanceOfSyncLog(value: object): boolean {
if (!('id' in value)) return false;
if (!('sync' in value)) return false;
if (!('status' in value)) return false;
if (!('createdAt' in value)) return false;
@@ -72,7 +71,7 @@ export function SyncLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): S
}
return {
'id': json['id'],
'id': json['id'] == null ? undefined : json['id'],
'sync': json['sync'],
'status': json['status'],
'msg': json['msg'] == null ? undefined : json['msg'],
@@ -86,6 +85,7 @@ export function SyncLogToJSON(value?: SyncLog | null): any {
}
return {
'id': value['id'],
'sync': value['sync'],
'status': value['status'],
'msg': value['msg'],