diff --git a/src/ModelContextProtocol/Protocol/Types/RequestParams.cs b/src/ModelContextProtocol/Protocol/Types/RequestParams.cs index 73dbc2a..1185bd0 100644 --- a/src/ModelContextProtocol/Protocol/Types/RequestParams.cs +++ b/src/ModelContextProtocol/Protocol/Types/RequestParams.cs @@ -1,16 +1,16 @@ -using System.Text.Json.Serialization; - -namespace ModelContextProtocol.Protocol.Types; - -/// -/// Base class for all request parameters. -/// See the schema for details -/// -public abstract class RequestParams -{ - /// - /// Metadata related to the tool invocation. - /// - [JsonPropertyName("_meta")] - public RequestParamsMetadata? Meta { get; init; } -} +using System.Text.Json.Serialization; + +namespace ModelContextProtocol.Protocol.Types; + +/// +/// Base class for all request parameters. +/// See the schema for details +/// +public abstract class RequestParams +{ + /// + /// Metadata related to the tool invocation. + /// + [JsonPropertyName("_meta")] + public RequestParamsMetadata? Meta { get; init; } +} diff --git a/src/ModelContextProtocol/Protocol/Types/RequestParamsMetadata.cs b/src/ModelContextProtocol/Protocol/Types/RequestParamsMetadata.cs index 919fb8f..151064e 100644 --- a/src/ModelContextProtocol/Protocol/Types/RequestParamsMetadata.cs +++ b/src/ModelContextProtocol/Protocol/Types/RequestParamsMetadata.cs @@ -1,15 +1,15 @@ -using System.Text.Json.Serialization; - -namespace ModelContextProtocol.Protocol.Types; - -/// -/// Metadata related to the request. -/// -public class RequestParamsMetadata -{ - /// - /// 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. - /// - [JsonPropertyName("progressToken")] - public object ProgressToken { get; set; } = default!; -} +using System.Text.Json.Serialization; + +namespace ModelContextProtocol.Protocol.Types; + +/// +/// Metadata related to the request. +/// +public class RequestParamsMetadata +{ + /// + /// 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. + /// + [JsonPropertyName("progressToken")] + public object ProgressToken { get; set; } = default!; +}