(segment: string)
| 322 | * YAML keys, so only JSON-pointer tilde escaping can appear (no `%`-encoding |
| 323 | * in the wild specs we target); decode `~1`/`~0` and leave the rest verbatim. */ |
| 324 | const decodeSchemaRefName = (segment: string): string => |
| 325 | segment.replace(/~1/g, "/").replace(/~0/g, "~"); |
| 326 | |
| 327 | /** Collect the names of every `#/components/schemas/X` reference reachable in |
| 328 | * `value`, without resolving them. */ |
no test coverage detected