diff options
author | Puyodead1 <puyodead@proton.me> | 2023-04-13 19:46:26 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-04-13 19:46:26 -0400 |
commit | 393b713c6a4026d47f95f4b0c59ffb0a16d7d739 (patch) | |
tree | c6db7e4bd5a626db8142a2ea90e6791882bc4ad4 /scripts | |
parent | spacebar (diff) | |
download | server-393b713c6a4026d47f95f4b0c59ffb0a16d7d739.tar.xz |
fix response types not being generated
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/schema.js | 6 |
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 = {}; |