mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 12:49:02 -05:00
applied custom openapi generator fix for omit generation
This commit is contained in:
@@ -18,7 +18,6 @@ import {
|
||||
UserFromJSON,
|
||||
UserFromJSONTyped,
|
||||
UserToJSON,
|
||||
UserToJSONTyped,
|
||||
} from './User';
|
||||
|
||||
/**
|
||||
@@ -111,15 +110,10 @@ export function UserFileFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
||||
};
|
||||
}
|
||||
|
||||
export function UserFileToJSON(json: any): UserFile {
|
||||
return UserFileToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function UserFileToJSONTyped(value?: Omit<UserFile, 'file_download'|'preview'|'file_size_kb'|'created_by'|'created_at'> | null, ignoreDiscriminator: boolean = false): any {
|
||||
export function UserFileToJSON(value?: Omit<UserFile, 'fileDownload'|'preview'|'fileSizeKb'|'createdBy'|'createdAt'> | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'id': value['id'],
|
||||
|
||||
Reference in New Issue
Block a user