From 393b713c6a4026d47f95f4b0c59ffb0a16d7d739 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Thu, 13 Apr 2023 19:46:26 -0400 Subject: fix response types not being generated --- scripts/schema.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') 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 = {}; -- cgit 1.4.1