Remove warnings from build (#29)

* Remove warnings from build

* More fixes.

* Using const for transport types
This commit is contained in:
Toni Wenzel 2025-03-06 21:02:13 +01:00 • committed by GitHub
commit 7d69499ad5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,9 +8,15 @@ namespace McpDotNet.Protocol.Types;
/// </summary>
public class Argument
{
/// <summary>
/// The name of the argument.
/// </summary>
[JsonPropertyName("name")]
public string Name { get; set; } = string.Empty;
/// <summary>
/// The value of the argument to use for completion matching.
/// </summary>
[JsonPropertyName("value")]
public string Value { get; set; } = string.Empty;
}