Commit 61f7be22 authored by Christian Tzolov's avatar Christian Tzolov Committed by Christian Tzolov
Browse files

refactor: change int to Integer for optional numeric fields (#604)



Convert primitive int types to Integer wrapper class for:
- JSONRPCError.code
- CreateMessageRequest.maxTokens (including constructor and builder)

This allows these fields to be nullable, properly representing
optional parameters in the MCP protocol schema.

Signed-off-by: default avatarChristian Tzolov <christian.tzolov@broadcom.com>
parent b49ab3a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment