(obj)
| 174 | const registryRefs = new Set(); |
| 175 | |
| 176 | function collectRefs(obj) { |
| 177 | if (typeof obj === 'object' && obj !== null) { |
| 178 | if (obj.$ref) { |
| 179 | registryRefs.add(obj.$ref); |
| 180 | } |
| 181 | for (const value of Object.values(obj)) { |
| 182 | collectRefs(value); |
| 183 | } |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | collectRefs(registry); |
| 188 |
no test coverage detected