summary refs log tree commit diff
path: root/scripts/schema.js
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-04-13 19:46:26 -0400
committerPuyodead1 <puyodead@proton.me>2023-04-13 19:46:26 -0400
commit393b713c6a4026d47f95f4b0c59ffb0a16d7d739 (patch)
treec6db7e4bd5a626db8142a2ea90e6791882bc4ad4 /scripts/schema.js
parentspacebar (diff)
downloadserver-393b713c6a4026d47f95f4b0c59ffb0a16d7d739.tar.xz
fix response types not being generated
Diffstat (limited to 'scripts/schema.js')
-rw-r--r--scripts/schema.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/schema.js b/scripts/schema.js

index 2a39962f..ef43d80c 100644 --- a/scripts/schema.js +++ b/scripts/schema.js
@@ -79,7 +79,11 @@ function main() { let schemas = generator .getUserSymbols() - .filter((x) => x.endsWith("Schema") && !Excluded.includes(x)); + .filter( + (x) => + (x.endsWith("Schema") || x.endsWith("Response")) && + !Excluded.includes(x), + ); console.log(schemas); var definitions = {};