(ref: string, definitions?: DefinitionCollections)
| 619 | // ── Type resolution ───────────────────────────────────────────────────────── |
| 620 | |
| 621 | function rustRefTypeName(ref: string, definitions?: DefinitionCollections): string { |
| 622 | const externalRef = parseExternalSchemaRef(ref); |
| 623 | return toPascalCase(externalRef?.definitionName ?? refTypeName(ref, definitions)); |
| 624 | } |
| 625 | |
| 626 | /** |
| 627 | * Map a JSON Schema to a Rust type string. Emits nested type definitions as |
no test coverage detected
searching dependent graphs…