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;
|
||||
|
||||
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; }
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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!;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue