(ref: string)
| 16 | |
| 17 | /** Extract the definition name from a standard $ref pointer. */ |
| 18 | const parseRefName = (ref: string): string | undefined => ref.match(REF_PATTERN)?.[1]; |
| 19 | |
| 20 | /** |
| 21 | * Recursively rewrite `#/definitions/<name>` pointers to `#/$defs/<name>`. |
no outgoing calls
no test coverage detected