Skip to content

docs: Add Categories and Tags section to API Catalog documentation#2463

Open
mosch wants to merge 1 commit into
mainfrom
claude/api-catalog-categories-X6LM5
Open

docs: Add Categories and Tags section to API Catalog documentation#2463
mosch wants to merge 1 commit into
mainfrom
claude/api-catalog-categories-X6LM5

Conversation

@mosch

@mosch mosch commented May 18, 2026

Copy link
Copy Markdown
Contributor

Summary

Added a new "Categories and Tags" section to the API Catalog documentation that explains the distinction between label and tags fields in the categories array, how they function in the UI, and provides a practical example.

Changes

  • Added comprehensive documentation explaining the purpose and behavior of label and tags fields
  • Clarified that label is the primary grouping mechanism that creates filter chips
  • Explained that tags are secondary descriptors used for search matching and rendered as badges
  • Included a concrete example showing how to structure a category entry with both label and tags

Details

The new section is positioned early in the API Catalog documentation (after the introductory paragraph and before the "Enable API Catalog" section) to help users understand the core concepts before implementing the feature. The explanation uses clear language and formatting to distinguish between the two concepts and their respective roles in the UI.

https://claude.ai/code/session_01ByEFHH7udUHs9T4GgGYDY7

The category schema exposes both `label` and `tags`, but the distinction
isn't obvious from the existing examples. Document that `label` drives the
top-level filter chips while `tags` are secondary descriptors that only
feed the search input and render as additional badges on the API card.

https://claude.ai/code/session_01ByEFHH7udUHs9T4GgGYDY7
@vercel

vercel Bot commented May 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zudoku-cosmo-cargo Ready Ready Preview, Comment May 18, 2026 2:33pm
zudoku-dev Ready Ready Preview, Comment May 18, 2026 2:33pm

Request Review

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 62.46%
🟰 ±0%
3433 / 5496
🔵 Statements 61.45%
🟰 ±0%
3632 / 5910
🔵 Functions 52.07%
🟰 ±0%
814 / 1563
🔵 Branches 50.92%
🟰 ±0%
2374 / 4662
File CoverageNo changed files found.
Generated in workflow #5407 for commit 32ebe3f by the Vitest Coverage Report Action

@github-actions

Copy link
Copy Markdown

Preview build of published Zudoku package for commit 32ebe3f.

See the deployment at: https://7cb49aa0.cosmocargo-public-package.pages.dev

Note

This is a preview of the Cosmo Cargo example using the Zudoku package published to a local registry to ensure it'll be working when published to the public NPM registry.

Last updated: 2026-05-18T14:36:59.011Z

@mosch mosch marked this pull request as ready for review May 19, 2026 06:39
Copilot AI review requested due to automatic review settings May 19, 2026 06:39

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds documentation explaining how API Catalog category labels and tags affect filtering, search, and card badges.

Changes:

  • Adds a “Categories and Tags” section before setup instructions.
  • Defines label as the primary filter grouping and tags as searchable secondary descriptors.
  • Includes a concrete category entry example.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants