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

Function schemaPropertyNames

scripts/codegen/rust.ts:1429–1430  ·  view source on GitHub ↗
(schema: JSONSchema7)

Source from the content-addressed store, hash-verified

1427 const sortedNames = (names: Iterable<string> | undefined): string[] =>
1428 [...(names ?? [])].sort();
1429 const schemaPropertyNames = (schema: JSONSchema7): string[] =>
1430 sortedNames(Object.keys(schema.properties ?? {}));
1431 const shouldPreferMethodParamSchema = (
1432 typeName: string,
1433 paramsSchema: JSONSchema7,

Callers 1

Calls 1

sortedNamesFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…