You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`jsonrpc.validation.request.reject-duplicate-members`|`boolean`|`false`| Reject duplicate members while parsing raw request JSON |
15
23
|`jsonrpc.validation.request.params-type-violation-code-policy`|`INVALID_PARAMS` or `INVALID_REQUEST`|`INVALID_PARAMS`| Error code used when `params` exists but is neither object nor array |
16
24
|`jsonrpc.validation.response.require-json-rpc-version-20`|`boolean`|`true`| Require incoming response `jsonrpc` to equal `"2.0"`|
17
-
|`jsonrpc.validation.response.require-response-id-member`|`boolean`|`true`| Require incoming responses to include an `id` member |
18
-
|`jsonrpc.validation.response.allow-null-response-id`|`boolean`|`true`| Allow `id: null` in incoming responses |
19
-
|`jsonrpc.validation.response.allow-string-response-id`|`boolean`|`true`| Allow string IDs in incoming responses |
20
-
|`jsonrpc.validation.response.allow-numeric-response-id`|`boolean`|`true`| Allow numeric IDs in incoming responses |
21
-
|`jsonrpc.validation.response.allow-fractional-response-id`|`boolean`|`true`| Allow fractional numeric IDs in incoming responses |
25
+
|`jsonrpc.validation.response.require-id-member`|`boolean`|`true`| Require incoming responses to include an `id` member |
26
+
|`jsonrpc.validation.response.allow-null-id`|`boolean`|`true`| Allow `id: null` in incoming responses |
27
+
|`jsonrpc.validation.response.allow-string-id`|`boolean`|`true`| Allow string IDs in incoming responses |
28
+
|`jsonrpc.validation.response.allow-numeric-id`|`boolean`|`true`| Allow numeric IDs in incoming responses |
29
+
|`jsonrpc.validation.response.allow-fractional-id`|`boolean`|`true`| Allow fractional numeric IDs in incoming responses |
22
30
|`jsonrpc.validation.response.require-exclusive-result-or-error`|`boolean`|`true`| Require exactly one of `result` or `error`|
23
31
|`jsonrpc.validation.response.require-error-object-when-present`|`boolean`|`true`| Require `error` to be an object when present |
24
32
|`jsonrpc.validation.response.require-integer-error-code`|`boolean`|`true`| Require `error.code` to be an integer |
25
33
|`jsonrpc.validation.response.require-string-error-message`|`boolean`|`true`| Require `error.message` to be a string |
26
-
|`jsonrpc.validation.response.allow-request-fields-in-response`|`boolean`|`true`| Allow request-only fields (`method`/`params`) on responses |
|`jsonrpc.validation.response.reject-duplicate-members`|`boolean`|`false`| Reject duplicate members while parsing raw response JSON |
36
+
|`jsonrpc.validation.response.error-code.policy`|`JsonRpcResponseErrorCodePolicy`|`ANY_INTEGER`| Accepted integer range policy for response `error.code`|
37
+
|`jsonrpc.validation.response.error-code.range.min`|`Integer`|`null`| Inclusive minimum for `CUSTOM_RANGE`|
38
+
|`jsonrpc.validation.response.error-code.range.max`|`Integer`|`null`| Inclusive maximum for `CUSTOM_RANGE`|
27
39
|`jsonrpc.method-registration-conflict-policy`|`REJECT` or `REPLACE`|`REJECT`| Duplicate method name registration policy |
28
40
|`jsonrpc.method-allowlist`|`List<String>`|`[]`| Allowlist for method access filtering |
29
41
|`jsonrpc.method-denylist`|`List<String>`|`[]`| Denylist for method access filtering (higher priority) |
@@ -34,6 +46,12 @@ All properties are under `jsonrpc.*` and are bound to `JsonRpcProperties`.
0 commit comments