(path, spec)
| 149 | } |
| 150 | |
| 151 | function writeSpec(path, spec) { |
| 152 | sanitizeSelfReferentialUnions(spec); |
| 153 | writeFileSync(path, JSON.stringify(spec, null, 2)); |
| 154 | } |
| 155 | |
| 156 | async function main() { |
| 157 | const args = process.argv.slice(2); |
no test coverage detected