MCPcopy Create free account
hub / github.com/vercel/vercel / load

Method load

packages/cli/src/util/openapi/openapi-cache.ts:71–73  ·  view source on GitHub ↗

* Load the OpenAPI spec, using cache if available and fresh. * Returns true if successful, false otherwise.

(forceRefresh = false)

Source from the content-addressed store, hash-verified

69 * Returns true if successful, false otherwise.
70 */
71 async load(forceRefresh = false): Promise<boolean> {
72 return this.loadSpec(forceRefresh);
73 }
74
75 async loadSpec(forceRefresh = false): Promise<boolean> {
76 this.error = null;

Callers 15

loadWithSpinnerMethod · 0.95
matchesCliApiTagFunction · 0.95
getWebhookEventsFunction · 0.95
HomeFunction · 0.45
spec-url.test.tsFile · 0.45
applyPatchFunction · 0.45
loadApiInstanceFunction · 0.45
tryParseRenderConfigFunction · 0.45
parseYarnLockVersionFunction · 0.45

Calls 1

loadSpecMethod · 0.95

Tested by 11

propsFromHtmlFunction · 0.36
checkForChangeFunction · 0.36
checkPathsFunction · 0.36
getPropsFunction · 0.36
propsFromHtmlFunction · 0.36
checkForChangeFunction · 0.36
propsFromHtmlFunction · 0.36
getPropsFunction · 0.36
checkForChangeFunction · 0.36
propsFromHtmlFunction · 0.36
checkForChangeFunction · 0.36