MCPcopy
hub / github.com/dosco/graphjin / Caller

Method Caller

core/openapi/runtime.go:60–66  ·  view source on GitHub ↗

Caller returns the executor for an operationId, or nil + false when the operation either doesn't exist on this spec or was skipped during classification.

(operationID string)

Source from the content-addressed store, hash-verified

58// the operation either doesn't exist on this spec or was skipped during
59// classification.
60func (r *SpecRuntime) Caller(operationID string) (*Caller, bool) {
61 if r == nil {
62 return nil, false
63 }
64 c, ok := r.callers[operationID]
65 return c, ok
66}
67
68// Spec returns the underlying parsed spec. Useful for tests and for
69// the bridge layer that needs to enumerate operations during resolver

Callers 1

TestOpenAPIBridgeResolveFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestOpenAPIBridgeResolveFunction · 0.76