MCPcopy Index your code
hub / github.com/dataease/SQLBot / makeResolve

Function makeResolve

frontend/public/swagger-ui-bundle.js:54885–54895  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

54883 resolve: async (s) => kx(s),
54884 },
54885 Tx = Ix,
54886 makeResolve = (s) => async (o) =>
54887 (async (s) => {
54888 const { spec: o, requestInterceptor: i, responseInterceptor: a } = s,
54889 u = options_retrievalURI(s),
54890 _ = options_httpClient(s),
54891 w =
54892 o ||
54893 (await makeFetchJSON(_, { requestInterceptor: i, responseInterceptor: a })(u)),
54894 x = { ...s, spec: w }
54895 return s.strategies.find((s) => s.match(w)).resolve(x)
54896 })({ ...s, ...o }),
54897 Nx = makeResolve({ strategies: [_u, vu, gu] })
54898 const server_url_template = (s, o, i, a, u) => {

Callers 2

swagger_clientFunction · 0.85

Calls 5

options_retrievalURIFunction · 0.85
options_httpClientFunction · 0.85
makeFetchJSONFunction · 0.85
resolveMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected