[EXPERIMENTAL] Decompose McpSchema nested types into top-level feature packages by tzolov · Pull Request #857 · modelcontextprotocol/java-sdk
- Extracts most domain types from the McpSchema god-class into dedicated top-level classes under spec.schema.resource/prompt/ tool/sample/elicit. - Extracts the JSON-RPC types from the McpSchema god-class into dedicated top-level classes under spec.jsonrpc - Moves JSONRPC_VERSION and deserializeJsonRpcMessage to a new JSONRPC utility class. Request, Result, and Notification are no longer sealed. - Adds mcp-migrate module with OpenRewrite recipes for automated user-side migration, and MIGRATION-1.1.md documenting every breaking change. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>