(method: RpcMethod)
| 83 | } |
| 84 | |
| 85 | function rpcResultDescription(method: RpcMethod): string | undefined { |
| 86 | const resultSchema = getMethodResultSchema(method); |
| 87 | if (isVoidSchema(resultSchema)) return undefined; |
| 88 | return method.result?.description ?? resultSchema?.description; |
| 89 | } |
| 90 | |
| 91 | function rpcParamsDescription(method: RpcMethod, effectiveParams: JSONSchema7 | undefined): string | undefined { |
| 92 | return method.params?.description ?? effectiveParams?.description; |
no test coverage detected
searching dependent graphs…