MCPcopy Index your code
hub / github.com/github/copilot-sdk / getMethodParamsSchema

Function getMethodParamsSchema

scripts/codegen/go.ts:457–464  ·  view source on GitHub ↗
(method: RpcMethod)

Source from the content-addressed store, hash-verified

455}
456
457function 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
466function goResultTypeName(method: RpcMethod): string {
467 return getRpcSchemaTypeName(getMethodResultSchema(method), toPascalCase(method.rpcMethod) + "Result");

Callers 5

goParamsTypeNameFunction · 0.70
generateRpcFunction · 0.70
emitMethodFunction · 0.70

Calls 2

resolveObjectSchemaFunction · 0.85
resolveSchemaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…