mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-02 20:59:28 -05:00
applied custom openapi generator fix for omit generation
This commit is contained in:
@@ -49,15 +49,10 @@ export function IngredientStringFromJSONTyped(json: any, ignoreDiscriminator: bo
|
||||
};
|
||||
}
|
||||
|
||||
export function IngredientStringToJSON(json: any): IngredientString {
|
||||
return IngredientStringToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function IngredientStringToJSONTyped(value?: IngredientString | null, ignoreDiscriminator: boolean = false): any {
|
||||
export function IngredientStringToJSON(value?: IngredientString | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'text': value['text'],
|
||||
|
||||
Reference in New Issue
Block a user