MCPcopy
hub / github.com/ecyrbe/zodios / findAliasEndpointPlugins

Method findAliasEndpointPlugins

src/zodios.ts:152–158  ·  view source on GitHub ↗
(alias: string)

Source from the content-addressed store, hash-verified

150 }
151
152 private findAliasEndpointPlugins(alias: string) {
153 const endpoint = this.api.find((endpoint) => endpoint.alias === alias);
154 if (endpoint) {
155 return this.endpointPlugins.get(`${endpoint.method}-${endpoint.path}`);
156 }
157 return undefined;
158 }
159
160 private findEnpointPlugins(method: Method, path: string) {
161 return this.endpointPlugins.get(`${method}-${path}`);

Callers 1

useMethod · 0.95

Calls 1

getMethod · 0.80

Tested by

no test coverage detected