diff --git a/lib/utils/SchemaManager.js b/lib/utils/SchemaManager.js index e70109f6..1afce1c7 100644 --- a/lib/utils/SchemaManager.js +++ b/lib/utils/SchemaManager.js @@ -119,6 +119,7 @@ export default class SchemaManager { tag2MethodMapping.set(tag, tagDetails); } if (tagDetails['x-secondaryTag']) continue; + if (!tagDetails.methods) tagDetails.methods = []; tagDetails.methods.push({pointer: methodPointer, summary: methodSummary}); } }