MCPcopy Create free account
hub / github.com/bytebase/bytebase / GetServiceEndpoints

Method GetServiceEndpoints

backend/api/mcp/openapi_index.go:326–328  ·  view source on GitHub ↗

GetServiceEndpoints returns all endpoints for the given service.

(service string)

Source from the content-addressed store, hash-verified

324
325// GetServiceEndpoints returns all endpoints for the given service.
326func (idx *OpenAPIIndex) GetServiceEndpoints(service string) []*EndpointInfo {
327 return idx.byService[service]
328}
329
330// Search searches for endpoints matching the query.
331func (idx *OpenAPIIndex) Search(query string) []*EndpointInfo {

Callers 2

handleSearchAPIMethod · 0.80
formatServiceListMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected