Skip to content

Conversation

@danbarr
Copy link
Collaborator

@danbarr danbarr commented Dec 3, 2025

Description

The ToolHive registry format schema file was renamed upstream. Correcting references and the references update script to account for this.

Related issues/PRs

stacklok/toolhive#2727
stacklok/toolhive#2880

Merge checklist

Content

  • (N/A) New pages include a frontmatter section with title and description at a minimum
  • (N/A) Sidebar navigation (sidebars.ts) updated for added, deleted, reordered, or renamed files
  • (N/A) Redirects added to vercel.json for moved, renamed, or deleted pages (i.e., if the URL slug changed)

Reviews

  • Content has been reviewed for technical accuracy
  • Content has been reviewed for spelling, grammar, and style

Signed-off-by: Dan Barr 6922515+danbarr@users.noreply.github.com

Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
Copilot AI review requested due to automatic review settings December 3, 2025 19:00
@vercel
Copy link

vercel bot commented Dec 3, 2025

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

Project Deployment Preview Comments Updated (UTC)
docs-website Ready Ready Preview Comment Dec 3, 2025 7:04pm

Copilot finished reviewing on behalf of danbarr December 3, 2025 19:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR corrects references to the ToolHive registry schema file after it was renamed upstream from schema.json to toolhive-legacy-registry.schema.json. The changes update the automated import script and all documentation examples to use the new filename, ensuring consistency across the documentation site.

Key changes:

  • Updated the schema import script to reference the new filename in both source and destination paths
  • Corrected all schema URL references in JSON examples across tutorial, reference, and CLI guide documentation
  • Added the complete schema file to the static assets directory with the new filename

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
static/api-specs/toolhive-legacy-registry.schema.json New schema file added with complete registry validation schema (600 lines)
scripts/update-toolhive-reference.sh Updated source and destination paths to reference toolhive-legacy-registry.schema.json instead of schema.json
docs/toolhive/tutorials/custom-registry.mdx Updated two schema URL references in JSON examples to use the new filename
docs/toolhive/reference/registry-schema.mdx Updated schema URL reference in JSON example to use the new filename
docs/toolhive/guides-cli/registry.mdx Updated schema URL reference in JSON example to use the new filename

Signed-off-by: Dan Barr <6922515+danbarr@users.noreply.github.com>
@danbarr danbarr merged commit 718f65d into main Dec 3, 2025
6 checks passed
@danbarr danbarr deleted the fix-registry-schema branch December 3, 2025 20:46
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.

3 participants