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:
@@ -65,15 +65,10 @@ export function ShareLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
||||
};
|
||||
}
|
||||
|
||||
export function ShareLinkToJSON(json: any): ShareLink {
|
||||
return ShareLinkToJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ShareLinkToJSONTyped(value?: ShareLink | null, ignoreDiscriminator: boolean = false): any {
|
||||
export function ShareLinkToJSON(value?: ShareLink | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
'pk': value['pk'],
|
||||
|
||||
Reference in New Issue
Block a user