(method: RpcMethod, resultSchema: JSONSchema7 | undefined)
| 143 | } |
| 144 | |
| 145 | function rpcResultDescription(method: RpcMethod, resultSchema: JSONSchema7 | undefined): string | undefined { |
| 146 | if (isVoidSchema(resultSchema)) return undefined; |
| 147 | return method.result?.description ?? resultSchema?.description; |
| 148 | } |
| 149 | |
| 150 | function rpcParamsDescription(method: RpcMethod, effectiveParams: JSONSchema7 | undefined): string | undefined { |
| 151 | return method.params?.description ?? effectiveParams?.description; |
no test coverage detected
searching dependent graphs…