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

Function isOpaqueJson

scripts/codegen/utils.ts:898–900  ·  view source on GitHub ↗
(schema: JSONSchema7 | null | undefined)

Source from the content-addressed store, hash-verified

896 * is rejected by the runtime's schema lint pass.
897 */
898export function isOpaqueJson(schema: JSONSchema7 | null | undefined): boolean {
899 return typeof schema === "object" && schema !== null && (schema as Record<string, unknown>)["x-opaque-json"] === true;
900}
901
902/**
903 * Removes the `x-opaque-json` marker from a schema node in place. Useful for

Callers 10

schemaTypeToCSharpFunction · 0.85
resolvedResultTypeNameFunction · 0.85
resolveRpcTypeFunction · 0.85
generateRpcFunction · 0.85
emitMethodFunction · 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…