MCPcopy
hub / github.com/AndrewWalsh/openapi-devtools / endpoints

Method endpoints

src/lib/RequestStore.ts:71–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 }
70
71 public endpoints(): Array<Endpoint> {
72 const withoutDisabled = omit(
73 this.leafMap,
74 Array.from(this.disabledHosts)
75 ) as Readonly<typeof this.leafMap>;
76 return leafMapToEndpoints(withoutDisabled);
77 }
78
79 public get(): Readonly<RouterMap> {
80 return omit(this.store, Array.from(this.disabledHosts)) as Readonly<

Callers 2

MainFunction · 0.80

Calls 1

leafMapToEndpointsFunction · 0.85

Tested by

no test coverage detected