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

@@ -24,7 +24,7 @@ export interface KeywordLabel {
* @type {number}
* @memberof KeywordLabel
*/
id?: number;
readonly id: number;
/**
*
* @type {string}
@@ -37,6 +37,7 @@ export interface KeywordLabel {
* Check if a given object implements the KeywordLabel interface.
*/
export function instanceOfKeywordLabel(value: object): boolean {
if (!('id' in value)) return false;
if (!('label' in value)) return false;
return true;
}
@@ -51,7 +52,7 @@ export function KeywordLabelFromJSONTyped(json: any, ignoreDiscriminator: boolea
}
return {
'id': json['id'] == null ? undefined : json['id'],
'id': json['id'],
'label': json['label'],
};
}
@@ -62,7 +63,6 @@ export function KeywordLabelToJSON(value?: KeywordLabel | null): any {
}
return {
'id': value['id'],
};
}