MCPcopy Index your code

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 20 callersFunctionwaitForUpdates
()
packages/api-client/src/v2/features/modal/Modal.test.ts:116
↓ 19 callersFunctionScalarDocusaurus
( context: LoadContext, options: ScalarOptions, )
integrations/docusaurus/src/index.ts:36
↓ 19 callersFunctioncreateApiReference
( elementOrSelectorOrConfig, optionalConfiguration?: AnyApiReferenceConfiguration, )
packages/api-reference/src/standalone/lib/html-api.ts:238
↓ 19 callersFunctioncreateDocument
(overrides: Partial<OpenApiDocument> = {})
packages/workspace-store/src/mutators/tag.test.ts:11
↓ 19 callersFunctioncreateExternalsFromPackageJson
(packageJsonPath = './package.json')
tooling/scripts/vite-lib-config.ts:73
↓ 19 callersFunctioncreateWorkspace
(initial?: Partial<Workspace>)
packages/workspace-store/src/mutators/tabs.test.ts:17
↓ 19 callersFunctiondereference
( value: AnyApiDefinitionFormat | Filesystem, options?: DereferenceOptions, )
packages/openapi-parser/src/utils/dereference.ts:18
↓ 19 callersFunctiongetEntrypoint
(filesystem?: Filesystem)
packages/openapi-parser/src/utils/get-entrypoint.ts:6
↓ 19 callersFunctionisSidebarFolder
( layout: Layout, item: Item, hasEmptySlot: boolean, hideOperationDefaultExamples: boolean, )
packages/sidebar/src/helpers/is-sidebar-folder.ts:14
↓ 19 callersFunctionisValidCssColor
* Validates that a CSS color value is in a valid format. * Supports hex, rgba, rgb, hsl, hsla, color-mix, color(display-p3), named colors, and CSS va
packages/components/src/components/ScalarThemeSwatches/useThemeSwatches.test.ts:11
↓ 19 callersFunctionmakeUrlAbsolute
( url: string, { /** Optional base URL to resolve against (defaults to window.location.href) */ ba
packages/helpers/src/url/make-url-absolute.ts:11
↓ 19 callersFunctionpersistWorkspace
({ teamUid, teamSlug = 'local', slug, name = 'Test Workspace', tabs, }: { teamUid?: string teamS
projects/scalar-app/src/features/app/app-state.test.ts:22
↓ 19 callersFunctionprettyPrintJson
(value: string | number | any[] | Record<any, any>)
packages/helpers/src/json/pretty-print-json.ts:4
↓ 19 callersFunctionstartLoading
()
packages/api-client/src/v2/blocks/scalar-address-bar-block/hooks/use-loading-animation.ts:79
↓ 19 callersFunctiontriggerExecute
(wrapper: ReturnType<typeof mount<typeof OperationBlock>>)
packages/api-client/src/v2/blocks/operation-block/OperationBlock.test.ts:161
↓ 19 callersFunctionupgradeFromThreeOneToThreeTwo
(originalDocument: UnknownObject)
packages/openapi-upgrader/src/3.1-to-3.2/upgrade-from-three-one-to-three-two.ts:103
↓ 19 callersFunctionuseModalSidebar
({ workspaceStore, documentSlug, path, method, exampleName, route, }: { workspaceStore: Workspac
packages/api-client/src/v2/features/modal/hooks/use-modal-sidebar.ts:40
↓ 18 callersFunctionScalar
(configOrResolver: Configuration<E>)
integrations/hono/src/scalar.ts:75
↓ 18 callersFunctionaddScalarClassesToHeadless
()
packages/components/src/helpers/add-scalar-classes.ts:27
↓ 18 callersFunctionconvertWithHttpSnippetLite
( // Couldn't find the proper type, there was always a mismatch. client: Record<string, unknown>, reques
packages/snippetz/src/utils/convertWithHttpSnippetLite.ts:11
↓ 18 callersFunctioncreateFetchResponse
(data: string, headers: Record<string, string> = {})
packages/import/src/resolve.test.ts:5
↓ 18 callersFunctioncreateHook
(selectedItems: SelectedItem[] = [])
projects/scalar-app/src/features/collection/components/Runner/hooks/use-runner-execution.test.ts:32
↓ 18 callersFunctioncreateMockFactory
(overrides: Partial<RequestFactory> = {})
packages/api-reference/src/helpers/map-config-plugins.test.ts:21
↓ 18 callersFunctioncreateMockTag
(name: string, displayName?: string)
packages/workspace-store/src/navigation/helpers/traverse-tags.test.ts:23
↓ 18 callersFunctioncreateVersion
(overrides: Partial<SidebarDocumentVersion> = {})
projects/scalar-app/src/features/app/hooks/use-version-conflict-check.test.ts:37
↓ 18 callersFunctionescapeCSharpString
(text: string)
packages/snippetz/src/plugins/csharp/restsharp/restsharp.ts:36
↓ 18 callersFunctionextractParameters
( request: Request, exampleName: string, keepHeaders?: readonly string[], )
packages/postman-to-openapi/src/helpers/parameters.ts:49
↓ 18 callersFunctionfindClient
( clientGroups: CustomClientOptionGroup[], clientId?: SelectedClientId | undefined, )
packages/blocks/src/code-example/helpers/find-client.ts:47
↓ 18 callersFunctionfindScrollContainer
(element?: HTMLElement | null, direction: 'x' | 'y' = 'y')
packages/components/src/components/ScalarSidebar/findScrollContainer.ts:17
↓ 18 callersFunctionformatExample
(example: unknown)
packages/api-reference/src/components/Content/Schema/helpers/format-example.ts:13
↓ 18 callersFunctiongetCustomCodeSamples
(operation: OperationObject)
packages/blocks/src/code-example/helpers/get-custom-code-samples.ts:81
↓ 18 callersFunctiongetOpenApiFromPostman
(postmanJson: string, convertOptions?: ConvertOptions)
projects/scalar-app/src/features/command-palette/helpers/get-openapi-from-postman.ts:12
↓ 18 callersFunctiongetSecrets
(securitySchemes: SecuritySchemeObjectSecret[])
packages/blocks/src/code-example/helpers/get-secrets.ts:5
↓ 18 callersFunctiongetSecuritySchemeOptions
( security: NonNullable<OpenApiDocument['security']>, securitySchemes: NonNullable<ComponentsObject['secur
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.ts:82
↓ 18 callersFunctiongetTag
({ tagsMap, name, documentId, generateId, }: { tagsMap: TagsMap name: string documentId: string
packages/workspace-store/src/navigation/helpers/get-tag.ts:13
↓ 18 callersFunctionimportDocumentToWorkspace
({ workspaceStore, workspaceState, name, }: { workspaceStore: WorkspaceStore | null workspaceState:
projects/scalar-app/src/features/import-listener/helpers/import-document-to-workspace.ts:22
↓ 18 callersFunctionimportDocumentToWorkspace
({ workspaceStore, workspaceState, name, }: { workspaceStore: WorkspaceStore | null workspaceState:
projects/scalar-app/src/features/command-palette/helpers/import-document-to-workspace.ts:22
↓ 18 callersFunctionindent
(level: number, text: string)
packages/snippetz/src/libs/rust.ts:29
↓ 18 callersFunctionisObjectSchema
(schema: SchemaObject)
packages/workspace-store/src/schemas/v3.1/strict/type-guards.ts:4
↓ 18 callersFunctionjson2xml
( data: Record<string, any>, options: { indent?: string format?: boolean xmlDeclaration?: bool
packages/helpers/src/file/json2xml.ts:23
↓ 18 callersFunctionload
(value: AnyApiDefinitionFormat, options?: LoadOptions)
packages/openapi-parser/src/utils/load/load.ts:37
↓ 18 callersFunctionnormalizeHttpMethod
(method?: string)
packages/helpers/src/http/normalize-http-method.ts:10
↓ 18 callersFunctionnormalizeRefs
()
packages/workspace-store/src/plugins/bundler/index.ts:239
↓ 18 callersFunctionquotePhpString
(value: string)
packages/snippetz/src/plugins/php/laravel/laravel.ts:8
↓ 18 callersFunctionreadFiles
()
packages/json-magic/src/bundle/plugins/read-files/index.ts:52
↓ 18 callersFunctionrefreshOauth2Token
( flows: OAuthFlowsObjectSecret, type: RefreshableFlows, /** If we want to use the proxy */ proxyUrl:
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/oauth.ts:534
↓ 18 callersFunctiontraversePaths
({ document, tagsMap, generateId, documentId, operationTitleSource, }: { document: OpenApiDocument
packages/workspace-store/src/navigation/helpers/traverse-paths.ts:104
↓ 18 callersFunctionuseLoadingAnimation
()
packages/api-client/src/v2/blocks/scalar-address-bar-block/hooks/use-loading-animation.ts:28
↓ 17 callersFunctionapply
( document: Record<string, unknown>, diff: Difference<T>[], )
packages/json-magic/src/diff/apply.ts:39
↓ 17 callersFunctionapplyRequestHeaderTransforms
(headers: Record<string, string>)
projects/scalar-app/entrypoints/electron/helpers/custom-fetch/apply-request-header-transforms.ts:39
↓ 17 callersFunctioncomputeVersionStatus
({ isLoaded, localHash, registryHash, isDirty, conflictCheckedAgainstHash, hasConflict, }: { /**
projects/scalar-app/src/features/app/helpers/compute-version-status.ts:29
↓ 17 callersFunctioncreateApp
()
projects/galaxy-scalar-com/src/galaxy-scalar-com.ts:18
↓ 17 callersFunctioncreateDocument
()
packages/workspace-store/src/navigation/helpers/traverse-paths.test.ts:10
↓ 17 callersFunctioncreateLibEntry
(entryPaths: string[], dirname: string)
tooling/scripts/vite-lib-config.ts:91
↓ 17 callersFunctioncreateMockEchoResponse
(url: string, init: RequestInit = {}, overrides: Partial<ResponseInit> = {})
packages/api-client/src/v2/blocks/operation-block/helpers/send-request.test.ts:48
↓ 17 callersFunctioncreateMockEnvironment
( variables: Array<{ name: string; value: string | { default: string; description: string } }> = [], )
packages/api-reference/src/helpers/map-config-plugins.test.ts:13
↓ 17 callersFunctioncreateSearchIndex
(documents: OpenApiDocument[])
packages/api-client/src/v2/features/search/helpers/create-search-index.ts:11
↓ 17 callersFunctiondirname
(path: string)
packages/helpers/src/node/path.ts:189
↓ 17 callersFunctiongetEntryFileName
(name: string)
tooling/scripts/vite-lib-config.test.ts:30
↓ 17 callersFunctiongetIdFromUrl
(url: string | URL, basePath: string | undefined, slugPrefix: string | undefined)
packages/api-reference/src/helpers/id-routing.ts:102
↓ 17 callersFunctiongetNameFromRef
(ref: string, parentPath: readonly string[])
packages/workspace-store/src/helpers/get-name-from-ref.ts:18
↓ 17 callersFunctiongetOpenApiFromPostman
(postmanJson: string)
projects/scalar-app/src/loaders/postman-collection/helpers/get-openapi-from-postman.ts:10
↓ 17 callersMethodgetPath
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:327
↓ 17 callersFunctionisArraySchema
(schema: SchemaObject)
packages/workspace-store/src/schemas/v3.1/strict/type-guards.ts:10
↓ 17 callersFunctionisHidden
(entity: (XInternal & XScalarIgnore) | null | undefined)
packages/workspace-store/src/helpers/is-hidden.ts:8
↓ 17 callersMethodlist
* Get all items in a collection.
packages/mock-server/src/libs/store.ts:13
↓ 17 callersFunctionloadDocumentFromSource
( workspaceStore: WorkspaceStore, importEventData: ImportEventData, name: string, watchMode: boolean,
projects/scalar-app/src/features/command-palette/helpers/load-document-from-source.ts:58
↓ 17 callersFunctionmapConfigPlugins
( config: ComputedRef<ApiReferenceConfiguration>, environment: ComputedRef<XScalarEnvironment>, )
packages/api-reference/src/helpers/map-config-plugins.ts:28
↓ 17 callersFunctionmergeSearchParams
(...params: URLSearchParams[])
packages/helpers/src/url/merge-urls.ts:10
↓ 17 callersFunctionmountComponent
(opts?: { selected?: string[]; flow?: any })
packages/api-client/src/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.test.ts:15
↓ 17 callersFunctionoptimizeValueForDisplay
(value: SchemaObject | undefined)
packages/api-reference/src/components/Content/Schema/helpers/optimize-value-for-display.ts:11
↓ 17 callersFunctionsafeRun
(fn: () => T | Promise<T>)
packages/helpers/src/types/safe-run.ts:39
↓ 17 callersFunctionserializeCookie
(name: string, value: string, options: SerializeCookieOptions = {})
packages/helpers/src/http/serialize-cookie.ts:56
↓ 17 callersFunctionupgradeFromOneToTwo
(originalDocument: UnknownObject)
packages/asyncapi-upgrader/src/1.2-to-2.6/upgrade-from-one-to-two.ts:17
↓ 17 callersFunctionupsertScope
( store: WorkspaceStore | null, document: WorkspaceDocument | null, { name, flowType, scope, description
packages/workspace-store/src/mutators/auth.ts:489
↓ 17 callersFunctionwaitForUpdates
()
packages/api-client/src/v2/features/modal/hooks/use-modal-sidebar.test.ts:25
↓ 16 callersMethodWrite
(p []byte)
projects/proxy-scalar-com/main.go:171
↓ 16 callersFunctioncreateArgs
(overrides: Partial<Parameters<typeof useAuthHandlers>[0]> = {})
projects/scalar-app/src/hooks/use-auth-handlers.test.ts:54
↓ 16 callersFunctioncreateDocument
(initial?: Partial<OpenApiDocument>)
packages/workspace-store/src/mutators/cookie.test.ts:8
↓ 16 callersFunctioncreateFakeApp
({ documents, activeDocumentName, isTeamWorkspace = true, teamSlug = 'acme', teamUid = 'acme-team-ui
projects/scalar-app/src/features/app/components/DocumentBreadcrumb.test.ts:43
↓ 16 callersFunctioncreateMockSender
Create a mock IpcSender for testing the streaming path.
projects/scalar-app/entrypoints/electron/main/actions/handle-custom-fetch.test.ts:53
↓ 16 callersFunctioncreateParameterRows
( parameter: ParameterObject, exampleKey: string, options: { hiddenValuePaths?: readonly string[][]
packages/api-client/src/v2/blocks/request-block/helpers/create-parameter-rows.ts:362
↓ 16 callersMethoddequeue
* Removes and returns the front element of the queue. * @returns The data from the removed node, or null if the queue is empty.
packages/helpers/src/queue/queue.ts:65
↓ 16 callersFunctiondocumentWith
({ operationSecurity, globalSecurity, }: { operationSecurity?: OpenAPIV3_1.SecurityRequirementObject[]
packages/mock-server/src/utils/handle-authentication.test.ts:24
↓ 16 callersFunctionescapeString
* Escapes special characters for F# string literals
packages/snippetz/src/plugins/fsharp/httpclient/httpclient.ts:212
↓ 16 callersFunctionexampleDocument
()
packages/workspace-store/src/server.test.ts:22
↓ 16 callersFunctiongetId
(input: unknown)
packages/json-magic/src/helpers/get-schemas.ts:7
↓ 16 callersFunctiongetRaw
(obj: T)
packages/json-magic/src/magic-proxy/proxy.ts:315
↓ 16 callersMethodgetUrl
Gets the URL of the OpenAPI specification @return the url
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarSource.java:67
↓ 16 callersFunctionisObjectSchema
( schema: T, )
packages/openapi-types/src/helpers/is-object-schema.ts:23
↓ 16 callersFunctionisPlaceholderPath
(path: string, documentSlug: string)
packages/api-client/src/v2/blocks/scalar-address-bar-block/helpers/is-placeholder-path.ts:21
↓ 16 callersFunctionloadDocumentFromSource
( workspaceStore: WorkspaceStore, importEventData: ImportEventData, name: string, watchMode: boolean,
projects/scalar-app/src/features/import-listener/helpers/load-document-from-source.ts:21
↓ 16 callersFunctionmountWithProps
( custom: Partial<{ flows: any type: string selectedScopes: string[] server: any
packages/api-client/src/v2/blocks/scalar-auth-selector-block/components/OAuth2.test.ts:24
↓ 16 callersMethodmutate
Mutate an object with the new property value and run side effects
packages/object-utils/src/mutator-record/mutations.ts:93
↓ 16 callersFunctionobjectToString
(obj: Record<string, any>, indent = 0)
packages/snippetz/src/libs/javascript.ts:27
↓ 16 callersFunctionprocessFormDataSchema
(formdata: FormParameter[])
packages/postman-to-openapi/src/helpers/form-data.ts:9
↓ 16 callersFunctionprocessSecuritySchemes
( securitySchemes: SecuritySchemeObjectSecret[], )
packages/blocks/src/code-example/helpers/operation-to-har/process-security-schemes.ts:16
↓ 16 callersFunctionunknown
(options?: Documentation)
packages/validation/src/schema.ts:226
↓ 16 callersFunctionunpackDetectChangesProxy
(obj: T)
packages/workspace-store/src/helpers/detect-changes-proxy.ts:121
↓ 16 callersFunctionuseAuthHandlers
({ eventBus, onAuthenticated, }: { /** Workspace event bus, used to emit analytics events for auth butto
projects/scalar-app/src/hooks/use-auth-handlers.ts:12
← previousnext →301–400 of 4,087, ranked by callers