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

Function getRpcSchemaTypeName

scripts/codegen/utils.ts:388–391  ·  view source on GitHub ↗
(schema: JSONSchema7 | null | undefined, fallback: string)

Source from the content-addressed store, hash-verified

386}
387
388export function getRpcSchemaTypeName(schema: JSONSchema7 | null | undefined, fallback: string): string {
389 if (typeof schema?.title === "string") return schema.title;
390 return fallback;
391}
392
393/**
394 * Returns true if the schema represents an object with properties (i.e., a type that should

Callers 12

rustParamsTypeNameFunction · 0.85
rustResultTypeNameFunction · 0.85
resultTypeNameFunction · 0.85
tsNullableResultTypeNameFunction · 0.85
paramsTypeNameFunction · 0.85
getCSharpSchemaTypeNameFunction · 0.85
resolvedResultTypeNameFunction · 0.85
goResultTypeNameFunction · 0.85
goNullableResultTypeNameFunction · 0.85
goParamsTypeNameFunction · 0.85
pythonResultTypeNameFunction · 0.85
pythonParamsTypeNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…