(filePath: string)
| 184 | |
| 185 | /** Load a JSON schema file and normalize GitHub brand casing in titles, refs, and definition keys. */ |
| 186 | export async function loadSchemaJson<T>(filePath: string): Promise<T> { |
| 187 | const parsed = JSON.parse(await fs.readFile(filePath, "utf-8")) as T; |
| 188 | return normalizeSchemaBrandCasing(parsed); |
| 189 | } |
| 190 | |
| 191 | // ── Schema processing ─────────────────────────────────────────────────────── |
| 192 |
no test coverage detected
searching dependent graphs…