Skip to content

Commit

Permalink
check to avoid tagGroup config before concat operation, api, schemas (#…
Browse files Browse the repository at this point in the history
…853)

Closes #792
  • Loading branch information
ElliotFriend committed Jun 27, 2024
1 parent 4e960fd commit 0a8aafc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,10 @@ function groupByTags(
apiTags.push(tag.name!);
}
});
apiTags = uniq(apiTags.concat(operationTags, schemaTags));

if (sidebarOptions.groupPathsBy !== "tagGroup") {
apiTags = uniq(apiTags.concat(operationTags, schemaTags));
}

const basePath = docPath
? outputDir.split(docPath!)[1].replace(/^\/+/g, "")
Expand Down

0 comments on commit 0a8aafc

Please sign in to comment.