Skip to content

Commit de890d4

Browse files
committed
Try to fix code coverage
1 parent dee9e13 commit de890d4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ModelContextProtocol/Utils/Json/McpJsonUtilities.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ internal static bool IsValidMcpToolSchema(JsonElement element)
149149
[JsonSerializable(typeof(SubscribeRequestParams))]
150150
[JsonSerializable(typeof(UnsubscribeFromResourceRequestParams))]
151151
[JsonSerializable(typeof(UnsubscribeRequestParams))]
152+
153+
[ExcludeFromCodeCoverage]
152154
internal sealed partial class JsonContext : JsonSerializerContext;
153155

154156
private static JsonElement ParseJsonElement(ReadOnlySpan<byte> utf8Json)

0 commit comments

Comments
 (0)