We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f4a1b1 commit f1c775cCopy full SHA for f1c775c
src/definitionGenerator.js
@@ -1021,19 +1021,13 @@ class DefinitionGenerator {
1021
1022
const apiDesc = stringifyYaml(this.openAPI);
1023
1024
- const results = await lintFromString({
+ return await lintFromString({
1025
source: apiDesc,
1026
config: config,
1027
}).catch((err) => {
1028
console.error(err);
1029
throw err;
1030
});
1031
-
1032
- if (results.length) {
1033
- throw results;
1034
- }
1035
1036
- return true;
1037
}
1038
1039
0 commit comments