From c9728a107e567080c370a1f3d56214d5dbfeb588 Mon Sep 17 00:00:00 2001 From: mertalev <101130780+mertalev@users.noreply.github.com> Date: Tue, 6 May 2025 18:08:32 -0400 Subject: [PATCH] rename patch --- open-api/bin/generate-open-api.sh | 2 +- ..._items.patch => native_class_nullable_items_in_arrays.patch} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename open-api/templates/mobile/serialization/native/{native_class_default_value_for_array_items.patch => native_class_nullable_items_in_arrays.patch} (100%) diff --git a/open-api/bin/generate-open-api.sh b/open-api/bin/generate-open-api.sh index 6cc9b747fa..d6f1333489 100755 --- a/open-api/bin/generate-open-api.sh +++ b/open-api/bin/generate-open-api.sh @@ -8,7 +8,7 @@ function dart { cd ./templates/mobile/serialization/native wget -O native_class.mustache https://raw.githubusercontent.com/OpenAPITools/openapi-generator/$OPENAPI_GENERATOR_VERSION/modules/openapi-generator/src/main/resources/dart2/serialization/native/native_class.mustache patch --no-backup-if-mismatch -u native_class.mustache <native_class.mustache.patch - patch --no-backup-if-mismatch -u native_class.mustache <native_class_default_value_for_array_items.patch + patch --no-backup-if-mismatch -u native_class.mustache <native_class_nullable_items_in_arrays.patch cd ../../ wget -O api.mustache https://raw.githubusercontent.com/OpenAPITools/openapi-generator/$OPENAPI_GENERATOR_VERSION/modules/openapi-generator/src/main/resources/dart2/api.mustache diff --git a/open-api/templates/mobile/serialization/native/native_class_default_value_for_array_items.patch b/open-api/templates/mobile/serialization/native/native_class_nullable_items_in_arrays.patch similarity index 100% rename from open-api/templates/mobile/serialization/native/native_class_default_value_for_array_items.patch rename to open-api/templates/mobile/serialization/native/native_class_nullable_items_in_arrays.patch