updated openapi generator

This commit is contained in:
vabene1111
2024-09-23 13:57:37 +02:00
parent 7e77e56e7f
commit 12e0c7fd7b
151 changed files with 1274 additions and 1142 deletions

View File

@@ -77,7 +77,7 @@ export interface PatchedSupermarket {
* @type {string}
* @memberof PatchedSupermarket
*/
description?: string;
description?: string | null;
/**
*
* @type {Array<SupermarketCategoryRelation>}
@@ -89,13 +89,13 @@ export interface PatchedSupermarket {
* @type {string}
* @memberof PatchedSupermarket
*/
openDataSlug?: string;
openDataSlug?: string | null;
}
/**
* Check if a given object implements the PatchedSupermarket interface.
*/
export function instanceOfPatchedSupermarket(value: object): boolean {
export function instanceOfPatchedSupermarket(value: object): value is PatchedSupermarket {
return true;
}
@@ -117,7 +117,7 @@ export function PatchedSupermarketFromJSONTyped(json: any, ignoreDiscriminator:
};
}
export function PatchedSupermarketToJSON(value?: PatchedSupermarket | null): any {
export function PatchedSupermarketToJSON(value?: Omit<PatchedSupermarket, 'category_to_supermarket'> | null): any {
if (value == null) {
return value;
}