Skip to content

Conversation

@rdimitrov
Copy link
Member

The following PR:

  • Adds converter functions for going back and forth between the 2 formats (toolhive's current format and the upstream one). This is temporary as those should live under toolhive-registry and not toolhive.
  • Implements the registry provider interface by adding support for using upstream API compliant registries. This allows users to discover and run servers they already published upstream (or in another compliant registry)
  • Fixes a few issues discovered while implementing this, i.e. we were not reseting the default registry when the config was changed.

openapiURL += "/"
}
openapiURL += "openapi.yaml"
_, err = registryClient.Get(openapiURL)

Check failure

Code scanning / CodeQL

Uncontrolled data used in network request Critical

The
URL
of this request depends on a
user-provided value
.
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.

2 participants