Update content according to latest spec (#513)

* Update content according to latest spec

* Add Title to a bunch of types

* Add _meta to lots of types

* Address feedback, more cleanup, fix NAOT test failure
This commit is contained in:
Stephen Toub 2025-06-16 19:39:41 -04:00 • committed by GitHub
commit 2bcff315f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -48,6 +48,11 @@ public sealed class McpServerResourceCreateOptions
/// </remarks>
public string? Name { get; set; }
/// <summary>
/// Gets or sets the title to use for the <see cref="McpServerPrompt"/>.
/// </summary>
public string? Title { get; set; }
/// <summary>
/// Gets or set the description to use for the <see cref="McpServerResource"/>.
/// </summary>
@ -87,6 +92,7 @@ public sealed class McpServerResourceCreateOptions
Services = Services,
UriTemplate = UriTemplate,
Name = Name,
Title = Title,
Description = Description,
MimeType = MimeType,
SerializerOptions = SerializerOptions,