mirror of
https://github.com/spacebarchat/server.git
synced 2026-12-03 07:14:08 +00:00
✨ #307 done
This commit is contained in:
1 parent
e2c66a1fe5
commit
6ba9c834bd
75 files changed
+7703
-1550
No files matched your search
@@ -33,12 +33,13 @@ function main() {
|
||||
const part = TJS.generateSchema(program, name, settings, [], generator as TJS.JsonSchemaGenerator);
|
||||
if (!part) continue;
|
||||
|
||||
definitions = { ...definitions, ...part.definitions, [name]: { ...part, definitions: undefined } };
|
||||
definitions = { ...definitions, [name]: { ...part } };
|
||||
}
|
||||
|
||||
fs.writeFileSync(schemaPath, JSON.stringify(definitions, null, 4));
|
||||
}
|
||||
|
||||
// #/definitions/
|
||||
main();
|
||||
|
||||
function walk(dir: string) {
|
||||
|
||||
Reference in new issue
Block a user