fix: JSONRPCResponse JavaDoc (#657)

This commit is contained in:
Michael Vorburger 2025-11-12 14:21:57 +01:00 • committed by GitHub
commit afa00902a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -277,12 +277,12 @@ public final class McpSchema {
}
/**
* A successful (non-error) response to a request.
* A response to a request (successful, or error).
*
* @param jsonrpc The JSON-RPC version (must be "2.0")
* @param id The request identifier that this response corresponds to
* @param result The result of the successful request
* @param error Error information if the request failed
* @param result The result of the successful request; null if error
* @param error Error information if the request failed; null if has result
*/
@JsonInclude(JsonInclude.Include.NON_ABSENT)
@JsonIgnoreProperties(ignoreUnknown = true)