From f5af1fff33508265a934c0d05474b5df96285ccf Mon Sep 17 00:00:00 2001 From: Brennan Date: Wed, 2 Apr 2025 12:01:49 -0700 Subject: [PATCH] Update JsonController.cs --- src/BenchmarksApps/Mvc/JsonController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BenchmarksApps/Mvc/JsonController.cs b/src/BenchmarksApps/Mvc/JsonController.cs index 0dd3e0ee9..caba27c6d 100644 --- a/src/BenchmarksApps/Mvc/JsonController.cs +++ b/src/BenchmarksApps/Mvc/JsonController.cs @@ -51,7 +51,7 @@ public partial class Entry public string ContentType { get; set; } public string Id { get; set; } public bool Managed { get; set; } - public string[] Tags { get; set; } + public List Tags { get; set; } public static List Create(int n) { @@ -70,7 +70,7 @@ public static List Create(int n) }, ContentType = "application/xml", Id = "https://benchmarktest.id/item/value" + i, - Tags = new[] { "test", "perf", "json" }, + Tags = [ "test", "perf", "json" ], }).ToList(); } }