(method: RpcMethod)
| 455 | } |
| 456 | |
| 457 | function getMethodParamsSchema(method: RpcMethod): JSONSchema7 | undefined { |
| 458 | return ( |
| 459 | resolveObjectSchema(method.params, rpcDefinitions) ?? |
| 460 | resolveSchema(method.params, rpcDefinitions) ?? |
| 461 | method.params ?? |
| 462 | undefined |
| 463 | ); |
| 464 | } |
| 465 | |
| 466 | function goResultTypeName(method: RpcMethod): string { |
| 467 | return getRpcSchemaTypeName(getMethodResultSchema(method), toPascalCase(method.rpcMethod) + "Result"); |
no test coverage detected
searching dependent graphs…