Fix spacing

This commit is contained in:
Stephen Toub 2025-03-26 16:05:00 -04:00
commit c77e78394d
2 changed files with 31 additions and 31 deletions

View file

@ -1,16 +1,16 @@
using System.Text.Json.Serialization;
namespace ModelContextProtocol.Protocol.Types;
/// <summary>
/// Base class for all request parameters.
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json#L771-L806">See the schema for details</see>
/// </summary>
public abstract class RequestParams
{
/// <summary>
/// Metadata related to the tool invocation.
/// </summary>
[JsonPropertyName("_meta")]
public RequestParamsMetadata? Meta { get; init; }
}
using System.Text.Json.Serialization;
namespace ModelContextProtocol.Protocol.Types;
/// <summary>
/// Base class for all request parameters.
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json#L771-L806">See the schema for details</see>
/// </summary>
public abstract class RequestParams
{
/// <summary>
/// Metadata related to the tool invocation.
/// </summary>
[JsonPropertyName("_meta")]
public RequestParamsMetadata? Meta { get; init; }
}

View file

@ -1,15 +1,15 @@
using System.Text.Json.Serialization;
namespace ModelContextProtocol.Protocol.Types;
/// <summary>
/// Metadata related to the request.
/// </summary>
public class RequestParamsMetadata
{
/// <summary>
/// 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.
/// </summary>
[JsonPropertyName("progressToken")]
public object ProgressToken { get; set; } = default!;
}
using System.Text.Json.Serialization;
namespace ModelContextProtocol.Protocol.Types;
/// <summary>
/// Metadata related to the request.
/// </summary>
public class RequestParamsMetadata
{
/// <summary>
/// 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.
/// </summary>
[JsonPropertyName("progressToken")]
public object ProgressToken { get; set; } = default!;
}