mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 04:39:54 -05:00
applied custom openapi generator fix for omit generation
This commit is contained in:
@@ -18,7 +18,6 @@ import {
|
||||
OpenDataVersionFromJSON,
|
||||
OpenDataVersionFromJSONTyped,
|
||||
OpenDataVersionToJSON,
|
||||
OpenDataVersionToJSONTyped,
|
||||
} from './OpenDataVersion';
|
||||
|
||||
/**
|
||||
@@ -96,7 +95,7 @@ export interface PatchedOpenDataProperty {
|
||||
* @type {number}
|
||||
* @memberof PatchedOpenDataProperty
|
||||
*/
|
||||
fdcId?: number | null;
|
||||
fdcId?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
@@ -139,15 +138,10 @@ export function PatchedOpenDataPropertyFromJSONTyped(json: any, ignoreDiscrimina
|
||||
};
|
||||
}
|
||||
|
||||
export function PatchedOpenDataPropertyToJSON(json: any): PatchedOpenDataProperty {
|
||||
return PatchedOpenDataPropertyToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function PatchedOpenDataPropertyToJSONTyped(value?: Omit<PatchedOpenDataProperty, 'created_by'> | null, ignoreDiscriminator: boolean = false): any {
|
||||
export function PatchedOpenDataPropertyToJSON(value?: Omit<PatchedOpenDataProperty, 'createdBy'> | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'id': value['id'],
|
||||
|
||||
Reference in New Issue
Block a user