Skip to content

Commit

Permalink
filter out x-tagged schemas from the "Schemas" category
Browse files Browse the repository at this point in the history
they'll already be displayed elsewhere
  • Loading branch information
ElliotFriend committed Jun 12, 2024
1 parent adf4109 commit b66371b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,9 @@ function groupByTags(
label: "Schemas",
collapsible: sidebarCollapsible!,
collapsed: sidebarCollapsed!,
items: schemaItems.map(createDocItem),
items: schemaItems
.filter(({ schema }) => !schema["x-tags"])
.map(createDocItem),
},
];
}
Expand Down

0 comments on commit b66371b

Please sign in to comment.