Skip to content

Commit

Permalink
Add support for a "hidden" tag for api-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jgwhite committed Sep 9, 2024
1 parent b7223fe commit 0c60150
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/views/open-api-docs-view/utils/get-operation-props.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export async function getOperationProps(
continue
}

if (operation.tags?.includes('hidden')) {
continue
}

// Create a slug for this operation
const operationSlug = slugify(operation.operationId)

Expand Down

0 comments on commit 0c60150

Please sign in to comment.