server: fix openapi generation with duplicate route for audio/mp3

This commit is contained in:
2023-12-18 15:42:42 +01:00
parent b3648529e3
commit 7bb44ac88b
5 changed files with 102 additions and 4 deletions

View File

@@ -103,6 +103,12 @@ export interface GetTranscript {
* @memberof GetTranscript
*/
participants: any | null;
/**
*
* @type {any}
* @memberof GetTranscript
*/
reviewed: any | null;
}
/**
@@ -123,6 +129,7 @@ export function instanceOfGetTranscript(value: object): boolean {
isInstance = isInstance && "sourceLanguage" in value;
isInstance = isInstance && "targetLanguage" in value;
isInstance = isInstance && "participants" in value;
isInstance = isInstance && "reviewed" in value;
return isInstance;
}
@@ -153,6 +160,7 @@ export function GetTranscriptFromJSONTyped(
sourceLanguage: json["source_language"],
targetLanguage: json["target_language"],
participants: json["participants"],
reviewed: json["reviewed"],
};
}
@@ -178,5 +186,6 @@ export function GetTranscriptToJSON(value?: GetTranscript | null): any {
source_language: value.sourceLanguage,
target_language: value.targetLanguage,
participants: value.participants,
reviewed: value.reviewed,
};
}

View File

@@ -61,6 +61,12 @@ export interface UpdateTranscript {
* @memberof UpdateTranscript
*/
participants?: any | null;
/**
*
* @type {any}
* @memberof UpdateTranscript
*/
reviewed?: any | null;
}
/**
@@ -97,6 +103,7 @@ export function UpdateTranscriptFromJSONTyped(
participants: !exists(json, "participants")
? undefined
: json["participants"],
reviewed: !exists(json, "reviewed") ? undefined : json["reviewed"],
};
}
@@ -115,5 +122,6 @@ export function UpdateTranscriptToJSON(value?: UpdateTranscript | null): any {
long_summary: value.longSummary,
share_mode: value.shareMode,
participants: value.participants,
reviewed: value.reviewed,
};
}