From be06c620141c50d6ab715a13d980f849b9c8cbda Mon Sep 17 00:00:00 2001 From: Abhay Garg Date: Thu, 23 Mar 2023 13:19:35 +0530 Subject: [PATCH] Correct field name in generated code --- modelina-website/src/helpers/GeneratorCode/CSharpGenerator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modelina-website/src/helpers/GeneratorCode/CSharpGenerator.ts b/modelina-website/src/helpers/GeneratorCode/CSharpGenerator.ts index 33036d82c5..15a1f58933 100644 --- a/modelina-website/src/helpers/GeneratorCode/CSharpGenerator.ts +++ b/modelina-website/src/helpers/GeneratorCode/CSharpGenerator.ts @@ -8,7 +8,7 @@ export function getCSharpGeneratorCode( const optionStringPresets: string[] = []; if (generatorOptions.csharpArrayType) { - optionString.push(`arrayType: '${generatorOptions.csharpArrayType}'`); + optionString.push(`collectionType: '${generatorOptions.csharpArrayType}'`); } const presetOptions =