updated openapi generator

This commit is contained in:
vabene1111
2024-09-23 13:57:37 +02:00
parent 7e77e56e7f
commit 12e0c7fd7b
151 changed files with 1274 additions and 1142 deletions

View File

@@ -54,7 +54,7 @@ export interface PatchedUser {
/**
* Check if a given object implements the PatchedUser interface.
*/
export function instanceOfPatchedUser(value: object): boolean {
export function instanceOfPatchedUser(value: object): value is PatchedUser {
return true;
}
@@ -76,7 +76,7 @@ export function PatchedUserFromJSONTyped(json: any, ignoreDiscriminator: boolean
};
}
export function PatchedUserToJSON(value?: PatchedUser | null): any {
export function PatchedUserToJSON(value?: Omit<PatchedUser, 'username'|'display_name'> | null): any {
if (value == null) {
return value;
}