sample-json-schemas icon indicating copy to clipboard operation
sample-json-schemas copied to clipboard

JSON RPC 2.0 request schema: add minItems to batch

Open LinusU opened this issue 9 years ago • 5 comments

From spec:

If the batch rpc call itself fails to be recognized as an valid JSON or as an Array with at least one value, the response from the Server MUST be a single Response object.

...

rpc call with an empty Array:

--> []
<-- {"jsonrpc": "2.0", "error": {"code": -32600, "message": "Invalid Request"}, "id": null}

LinusU avatar Sep 14 '16 22:09 LinusU

ping @fge :)

LinusU avatar Oct 22 '16 18:10 LinusU

ping @fge, any chance of getting this merged?

LinusU avatar Mar 06 '17 15:03 LinusU

ping @fge, would love to get this merged :)

LinusU avatar Sep 13 '17 13:09 LinusU

yearly ping @fge 😄

LinusU avatar May 07 '18 20:05 LinusU

ping @fge :)

LinusU avatar Nov 22 '18 10:11 LinusU