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

Function isNullableParamsSchema

scripts/codegen/rust.ts:1388–1396  ·  view source on GitHub ↗
(
	params: JSONSchema7,
	defCollections: DefinitionCollections,
)

Source from the content-addressed store, hash-verified

1386}
1387
1388function isNullableParamsSchema(
1389 params: JSONSchema7,
1390 defCollections: DefinitionCollections,
1391): boolean {
1392 if (getNullableInner(params)) return true;
1393
1394 const resolved = resolveSchema(params, defCollections);
1395 return !!resolved && !!getNullableInner(resolved);
1396}
1397
1398function generateApiTypesCode(
1399 apiSchema: ApiSchema,

Callers 1

getMethodParamsInfoFunction · 0.85

Calls 2

getNullableInnerFunction · 0.85
resolveSchemaFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…