www: update openapi

This commit is contained in:
2023-11-02 11:50:53 +01:00
committed by Mathieu Virbel
parent 726efbc97a
commit fac04d1db1

View File

@@ -42,7 +42,7 @@ export interface TranscriptTopic {
* @type {any} * @type {any}
* @memberof TranscriptTopic * @memberof TranscriptTopic
*/ */
transcript: any | null; transcript?: any | null;
/** /**
* *
* @type {any} * @type {any}
@@ -58,7 +58,6 @@ export function instanceOfTranscriptTopic(value: object): boolean {
let isInstance = true; let isInstance = true;
isInstance = isInstance && "title" in value; isInstance = isInstance && "title" in value;
isInstance = isInstance && "summary" in value; isInstance = isInstance && "summary" in value;
isInstance = isInstance && "transcript" in value;
isInstance = isInstance && "timestamp" in value; isInstance = isInstance && "timestamp" in value;
return isInstance; return isInstance;
@@ -79,7 +78,7 @@ export function TranscriptTopicFromJSONTyped(
id: !exists(json, "id") ? undefined : json["id"], id: !exists(json, "id") ? undefined : json["id"],
title: json["title"], title: json["title"],
summary: json["summary"], summary: json["summary"],
transcript: json["transcript"], transcript: !exists(json, "transcript") ? undefined : json["transcript"],
timestamp: json["timestamp"], timestamp: json["timestamp"],
}; };
} }