Skip to content

Conversation

tzolov
Copy link
Contributor

@tzolov tzolov commented Oct 6, 2025

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.

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: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov tzolov merged commit a63d32a into modelcontextprotocol:main Oct 6, 2025
1 of 2 checks passed
tzolov added a commit that referenced this pull request Oct 6, 2025
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: Christian Tzolov <christian.tzolov@broadcom.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant