summary refs log tree commit diff
path: root/api
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-02 15:12:47 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-02 15:12:47 +0200
commit7bd0a2004c9d7f1c59b510a5462b82c4b0a0ce7a (patch)
tree4e77c193c08b2acb234981a6244836e1c5398bcf /api
parentMerge pull request #410 from TheArcaneBrony/master (diff)
downloadserver-7bd0a2004c9d7f1c59b510a5462b82c4b0a0ce7a.tar.xz
:art: restructure gateway
Diffstat (limited to 'api')
-rw-r--r--api/scripts/generate_schema.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/scripts/generate_schema.js b/api/scripts/generate_schema.js
index 6bc35fe8..c12f6b1a 100644
--- a/api/scripts/generate_schema.js
+++ b/api/scripts/generate_schema.js
@@ -58,7 +58,7 @@ function main() {
 
 	modify(definitions);
 
-	fs.writeFileSync(schemaPath, JSON.stringify(definitions, null, 4).replace(/ "additionalProperties": ?false,?/g, ""));
+	fs.writeFileSync(schemaPath, JSON.stringify(definitions, null, 4));
 }
 
 main();