Skip to content

Commit 2105f68

Browse files
Fix documentation typos and incorrect type references (#993)
* Initial plan * Fix documentation typos and incorrect type references Co-authored-by: MackinnonBuck <10456961+MackinnonBuck@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MackinnonBuck <10456961+MackinnonBuck@users.noreply.github.com>
1 parent bf3dd5e commit 2105f68

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

src/ModelContextProtocol.Core/Server/McpServerPrompt.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace ModelContextProtocol.Server;
4646
/// <item>
4747
/// <description>
4848
/// <see cref="McpServer"/> parameters are bound directly to the <see cref="McpServer"/> instance associated
49-
/// with this request's <see cref="RequestContext{CallPromptRequestParams}"/>. Such parameters may be used to understand
49+
/// with this request's <see cref="RequestContext{GetPromptRequestParams}"/>. Such parameters may be used to understand
5050
/// what server is being used to process the request, and to interact with the client issuing the request to that server.
5151
/// </description>
5252
/// </item>

src/ModelContextProtocol.Core/Server/McpServerPromptAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ namespace ModelContextProtocol.Server;
3737
/// <item>
3838
/// <description>
3939
/// <see cref="McpServer"/> parameters are bound directly to the <see cref="McpServer"/> instance associated
40-
/// with this request's <see cref="RequestContext{CallPromptRequestParams}"/>. Such parameters may be used to understand
40+
/// with this request's <see cref="RequestContext{GetPromptRequestParams}"/>. Such parameters may be used to understand
4141
/// what server is being used to process the request, and to interact with the client issuing the request to that server.
4242
/// </description>
4343
/// </item>

src/ModelContextProtocol.Core/Server/McpServerPromptCreateOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public sealed class McpServerPromptCreateOptions
2626
/// Gets or sets optional services used in the construction of the <see cref="McpServerPrompt"/>.
2727
/// </summary>
2828
/// <remarks>
29-
/// These services will be used to determine which parameters should be satisifed from dependency injection. As such,
29+
/// These services will be used to determine which parameters should be satisfied from dependency injection. As such,
3030
/// what services are satisfied via this provider should match what's satisfied via the provider passed in at invocation time.
3131
/// </remarks>
3232
public IServiceProvider? Services { get; set; }
@@ -46,7 +46,7 @@ public sealed class McpServerPromptCreateOptions
4646
public string? Title { get; set; }
4747

4848
/// <summary>
49-
/// Gets or set the description to use for the <see cref="McpServerPrompt"/>.
49+
/// Gets or sets the description to use for the <see cref="McpServerPrompt"/>.
5050
/// </summary>
5151
/// <remarks>
5252
/// If <see langword="null"/>, but a <see cref="DescriptionAttribute"/> is applied to the method,

src/ModelContextProtocol.Core/Server/McpServerResourceCreateOptions.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public sealed class McpServerResourceCreateOptions
2626
/// Gets or sets optional services used in the construction of the <see cref="McpServerResource"/>.
2727
/// </summary>
2828
/// <remarks>
29-
/// These services will be used to determine which parameters should be satisifed from dependency injection. As such,
29+
/// These services will be used to determine which parameters should be satisfied from dependency injection. As such,
3030
/// what services are satisfied via this provider should match what's satisfied via the provider passed in at invocation time.
3131
/// </remarks>
3232
public IServiceProvider? Services { get; set; }
@@ -51,12 +51,12 @@ public sealed class McpServerResourceCreateOptions
5151
public string? Name { get; set; }
5252

5353
/// <summary>
54-
/// Gets or sets the title to use for the <see cref="McpServerPrompt"/>.
54+
/// Gets or sets the title to use for the <see cref="McpServerResource"/>.
5555
/// </summary>
5656
public string? Title { get; set; }
5757

5858
/// <summary>
59-
/// Gets or set the description to use for the <see cref="McpServerResource"/>.
59+
/// Gets or sets the description to use for the <see cref="McpServerResource"/>.
6060
/// </summary>
6161
/// <remarks>
6262
/// If <see langword="null"/>, but a <see cref="DescriptionAttribute"/> is applied to the member,

src/ModelContextProtocol.Core/Server/McpServerToolCreateOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public sealed class McpServerToolCreateOptions
4141
public string? Name { get; set; }
4242

4343
/// <summary>
44-
/// Gets or set the description to use for the <see cref="McpServerTool"/>.
44+
/// Gets or sets the description to use for the <see cref="McpServerTool"/>.
4545
/// </summary>
4646
/// <remarks>
4747
/// If <see langword="null"/>, but a <see cref="DescriptionAttribute"/> is applied to the method,

0 commit comments

Comments
 (0)