applied custom openapi generator fix for omit generation

This commit is contained in:
vabene1111
2025-03-16 15:38:37 +01:00
parent e9f87bb475
commit 8eb2ba9512
166 changed files with 1125 additions and 1519 deletions

View File

@@ -18,7 +18,6 @@ import {
SourceImportIngredientFromJSON,
SourceImportIngredientFromJSONTyped,
SourceImportIngredientToJSON,
SourceImportIngredientToJSONTyped,
} from './SourceImportIngredient';
/**
@@ -73,15 +72,10 @@ export function SourceImportStepFromJSONTyped(json: any, ignoreDiscriminator: bo
};
}
export function SourceImportStepToJSON(json: any): SourceImportStep {
return SourceImportStepToJSONTyped(json, false);
}
export function SourceImportStepToJSONTyped(value?: SourceImportStep | null, ignoreDiscriminator: boolean = false): any {
export function SourceImportStepToJSON(value?: SourceImportStep | null): any {
if (value == null) {
return value;
}
return {
'instruction': value['instruction'],