Remove MCP9002 obsolete APIs and document obsolete diagnostics (#1366)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jeffhandley <1031940+jeffhandley@users.noreply.github.com>
This commit is contained in:
parent
ce2a5e4a4b
commit
9b2aaedc9a
1 changed files with 14 additions and 138 deletions
|
|
@ -23,8 +23,6 @@ internal static class Obsoletions
|
|||
public const string LegacyTitledEnumSchema_Message = "The EnumSchema and LegacyTitledEnumSchema APIs are deprecated as of specification version 2025-11-25 and will be removed in a future major version. See SEP-1330 for more information.";
|
||||
public const string LegacyTitledEnumSchema_Url = "https://github.com/modelcontextprotocol/modelcontextprotocol/issues/1330";
|
||||
|
||||
public const string MessageAndRequestFilter_DiagnosticId = "MCP9002";
|
||||
public const string MessageAndRequestFilter_Url = "https://github.com/modelcontextprotocol/csharp-sdk/pull/1308";
|
||||
public const string MessageFilter_Message = "Use WithMessageFilters() instead.";
|
||||
public const string RequestFilter_Message = "Use WithRequestFilters() instead.";
|
||||
// MCP9002 was used for the AddXxxFilter extension methods on IMcpServerBuilder that were superseded by
|
||||
// WithMessageFilters() and WithRequestFilters(). The APIs were removed; do not reuse this diagnostic ID.
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue