1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 02:12:40 +01:00

fix response types not being generated

This commit is contained in:
Puyodead1 2023-04-13 19:46:26 -04:00
parent 78d98f0244
commit 393b713c6a
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC
2 changed files with 336186 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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 = {};