Migrate to the generic Spring AI McpClientCustomizer

Proprietary

Spring AI 2.0 replaced McpSyncClientCustomizer and McpAsyncClientCustomizer with the generic McpClientCustomizer, whose customize(String, B) method takes the same arguments. This replaces them with McpClientCustomizer<McpClient.SyncSpec> and McpClientCustomizer<McpClient.AsyncSpec>.

io.moderne.java.spring.ai2.MigrateMcpClientCustomizers
mod run . --recipe=io.moderne.java.spring.ai2.MigrateMcpClientCustomizers

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.