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