(ref: unknown)
| 833 | if (internalTypeNames.size === 0) return schema; |
| 834 | |
| 835 | const refToName = (ref: unknown): string | undefined => { |
| 836 | if (typeof ref !== "string") return undefined; |
| 837 | const m = ref.match(/^#\/(?:definitions|\$defs)\/([^/]+)$/); |
| 838 | return m ? m[1] : undefined; |
| 839 | }; |
| 840 | |
| 841 | /** Returns true when a property's *direct* type carrier is an internal definition. */ |
| 842 | const propertyReferencesInternal = (propSchema: JSONSchema7): boolean => { |
no outgoing calls
no test coverage detected
searching dependent graphs…