Skip to content

Commit 2ba6aa3

Browse files
committed
Using usings
1 parent a487b44 commit 2ba6aa3

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
2-
// The .NET Foundation licenses this file to you under the MIT license.
3-
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
using System.Text.Json.Serialization;
5+
46
namespace ModelContextProtocol.Protocol.Types;
57

68
/// <summary>
@@ -12,6 +14,6 @@ public abstract class RequestParams
1214
/// <summary>
1315
/// Metadata related to the tool invocation.
1416
/// </summary>
15-
[System.Text.Json.Serialization.JsonPropertyName("_meta")]
17+
[JsonPropertyName("_meta")]
1618
public RequestParamsMetadata? Meta { get; init; }
1719
}
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
2-
// The .NET Foundation licenses this file to you under the MIT license.
3-
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the MIT license.
3+
4+
using System.Text.Json.Serialization;
5+
46
namespace ModelContextProtocol.Protocol.Types;
57

68
/// <summary>
@@ -11,6 +13,6 @@ public class RequestParamsMetadata
1113
/// <summary>
1214
/// If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.
1315
/// </summary>
14-
[System.Text.Json.Serialization.JsonPropertyName("progressToken")]
16+
[JsonPropertyName("progressToken")]
1517
public object ProgressToken { get; set; } = default!;
1618
}

0 commit comments

Comments
 (0)