Fix spacing
This commit is contained in:
parent
95a017a03a
commit
c77e78394d
2 changed files with 31 additions and 31 deletions
|
|
@ -1,16 +1,16 @@
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace ModelContextProtocol.Protocol.Types;
|
namespace ModelContextProtocol.Protocol.Types;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Base class for all request parameters.
|
/// 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>
|
/// <see href="https://github.com/modelcontextprotocol/specification/blob/main/schema/2024-11-05/schema.json#L771-L806">See the schema for details</see>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public abstract class RequestParams
|
public abstract class RequestParams
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Metadata related to the tool invocation.
|
/// Metadata related to the tool invocation.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[JsonPropertyName("_meta")]
|
[JsonPropertyName("_meta")]
|
||||||
public RequestParamsMetadata? Meta { get; init; }
|
public RequestParamsMetadata? Meta { get; init; }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,15 @@
|
||||||
using System.Text.Json.Serialization;
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
namespace ModelContextProtocol.Protocol.Types;
|
namespace ModelContextProtocol.Protocol.Types;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Metadata related to the request.
|
/// Metadata related to the request.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public class RequestParamsMetadata
|
public class RequestParamsMetadata
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <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.
|
/// 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>
|
/// </summary>
|
||||||
[JsonPropertyName("progressToken")]
|
[JsonPropertyName("progressToken")]
|
||||||
public object ProgressToken { get; set; } = default!;
|
public object ProgressToken { get; set; } = default!;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue