MCPcopy Index your code

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 6 callersFunctiongetDownloadButton
(page: Page, format: 'json' | 'yaml')
packages/api-reference/test/configuration/document-download-type.e2e.ts:10
↓ 6 callersFunctiongetHttpMethodInfo
(methodName: string)
packages/helpers/src/http/http-info.ts:68
↓ 6 callersFunctiongetKeyLabel
(key: string)
packages/components/src/components/ScalarHotkey/formatHotkey.ts:54
↓ 6 callersFunctiongetMutators
({ collectionType }: CollectionType)
packages/api-client/src/v2/workspace-events.ts:69
↓ 6 callersFunctiongetOAuthCallbackParamWithSource
( searchParams: URLSearchParams, hashParams: URLSearchParams, paramName: string, )
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/oauth-callback.ts:73
↓ 6 callersFunctiongetQueryParams
()
packages/api-client/src/v2/blocks/request-block/RequestBlock.test.ts:408
↓ 6 callersFunctiongetRoutePrefix
(routePrefix?: string)
integrations/fastify/src/fastifyApiReference.ts:31
↓ 6 callersFunctiongetScopes
(store: ReturnType<typeof createWorkspaceStore>)
packages/workspace-store/src/mutators/auth.test.ts:1099
↓ 6 callersFunctiongetScriptTags
(configuration: Partial<ApiReferenceConfigurationWithSource>, cdn?: string)
packages/core/src/libs/html-rendering/html-rendering.ts:27
↓ 6 callersFunctiongetSegmentsFromPath
(path: string)
packages/json-magic/src/helpers/get-segments-from-path.ts:6
↓ 6 callersFunctiongetUnpackedTabs
( workspace: Workspace & { 'x-scalar-tabs': NonNullable<Workspace['x-scalar-tabs']> }, )
packages/workspace-store/src/mutators/tabs.ts:25
↓ 6 callersFunctiongetVisibleClientIds
()
packages/api-reference/src/components/ApiReference.test.ts:342
↓ 6 callersFunctionhandler
(_, reply)
integrations/fastify/src/fastifyApiReference.ts:144
↓ 6 callersFunctionhasModifier
(keydown: KeyboardEvent)
packages/helpers/src/general/has-modifier.ts:8
↓ 6 callersFunctionhasProvider
( params: UseCodeMirrorParameters, )
packages/use-codemirror/src/hooks/useCodeMirror.ts:91
↓ 6 callersFunctionhighlight
(code: string)
packages/code-highlight/src/languages/python.test.ts:11
↓ 6 callersFunctionhighlight
(code: string)
packages/code-highlight/src/languages/mojo.test.ts:12
↓ 6 callersFunctionisMultiTypeSchema
( schema: T, )
packages/openapi-types/src/helpers/is-multi-type-schema.ts:10
↓ 6 callersFunctionisNumberSchema
( schema: SchemaObject, )
packages/workspace-store/src/schemas/v3.1/strict/type-guards.ts:20
↓ 6 callersFunctionisNumberSchema
( schema: T, )
packages/openapi-types/src/helpers/is-number-schema.ts:10
↓ 6 callersFunctionisStringSchema
( schema: T, )
packages/openapi-types/src/helpers/is-string-schema.ts:11
↓ 6 callersFunctionlogout
()
projects/scalar-app/src/hooks/use-auth.ts:71
↓ 6 callersFunctionlookupVariableValue
(environment: XScalarEnvironment | undefined, name: string)
packages/api-client/src/v2/components/code-input/helpers/lookup-variable-value.ts:11
↓ 6 callersFunctionmakeOperationEntry
( overrides: Partial<WithParent<TraversedOperation>> & { parent?: WithParent<TraversedDocument> | Traver
packages/workspace-store/src/navigation/helpers/update-order-ids.test.ts:27
↓ 6 callersFunctionmakeWrapper
(options?: Partial<ServerDropdownProps>)
packages/api-client/src/v2/components/server/ServerDropdown.test.ts:7
↓ 6 callersFunctionmergeObjects
(a: Record<string, unknown>, b: Record<string, unknown>)
packages/openapi-parser/src/utils/join/merge-objects.ts:20
↓ 6 callersFunctionmessageForPublishDocumentError
(code: PublishRegistryDocumentError, detail?: string)
projects/scalar-app/src/features/app/helpers/registry-error-messages.ts:77
↓ 6 callersFunctionminimalOasDocument
(overrides: Record<string, unknown>)
packages/workspace-store/src/request-example/context/servers.test.ts:249
↓ 6 callersFunctionmockResponse
(data: unknown, versionSha?: string)
projects/scalar-app/src/helpers/fetch-registry-document.test.ts:32
↓ 6 callersFunctionmountComposable
(args: { workspaceStore: Awaited<ReturnType<typeof createMockWorkspaceStore>> documents?: CommandPalet
projects/scalar-app/src/features/command-palette/hooks/use-command-palette-document-selection.test.ts:28
↓ 6 callersFunctionmountWithRouter
(document: OpenApiDocument | null, extraProps?: Record<string, unknown>)
projects/scalar-app/src/features/collection/DocumentCollection.test.ts:45
↓ 6 callersFunctionmountWithRouter
(type: 'document' | 'workspace', initialRoute?: string)
projects/scalar-app/src/features/collection/components/Tabs.test.ts:17
↓ 6 callersFunctionnav
(name: string, title: string)
projects/scalar-app/src/features/app/hooks/use-sidebar-documents/index.test.ts:62
↓ 6 callersFunctionnavigateToWorkspace
(teamSlug?: string, slug?: string)
projects/scalar-app/src/features/app/app-state.ts:588
↓ 6 callersFunctionnormalize
(inputPath: string)
packages/helpers/src/node/path.ts:98
↓ 6 callersFunctionnormalizeResponseBody
(body: unknown, schema: Schema)
packages/mock-server/src/utils/normalize-response-body.ts:30
↓ 6 callersFunctionomitUndefinedValues
(data: T)
packages/helpers/src/object/omit-undefined-values.ts:6
↓ 6 callersFunctionopenIDDiscoveryToFlows
(discovery: OpenIDConnectDiscovery)
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.ts:8
↓ 6 callersFunctionprocessParameters
({ harRequest, parameters, example, defaultDisabled, }: { harRequest: HarRequest parameters: Opera
packages/blocks/src/code-example/helpers/operation-to-har/process-parameters.ts:120
↓ 6 callersFunctionprocessServerUrl
(server: ServerObject | null, path: string)
packages/blocks/src/code-example/helpers/operation-to-har/process-server-url.ts:8
↓ 6 callersFunctionpushUnique
(target: string[], value: string | undefined)
packages/api-reference/src/helpers/openapi.ts:27
↓ 6 callersFunctionremoveExtraScalarKeys
()
packages/workspace-store/src/plugins/bundler/index.ts:365
↓ 6 callersMethodrender
(props: Record<string, unknown>)
packages/react-renderer/src/components/ReactConnector.tsx:24
↓ 6 callersFunctionrequestScriptsPlugin
()
packages/pre-post-request-scripts/src/plugins/request-scripts/request-scripts-plugin.ts:25
↓ 6 callersFunctionresolvePath
(ctx: ResolverContext, path: string | undefined)
packages/api-client/src/v2/features/modal/helpers/resolve-route-parameters.ts:73
↓ 6 callersFunctionresolveUserPath
(input: string, cwd = process.env.INIT_CWD ?? process.cwd())
packages/release-notes/src/core/paths.ts:6
↓ 6 callersFunctionrunWithFakeCurl
(fakeCurlSource: string, options: RunOptions = {})
tooling/scripts/delete-cloudflare-pages-preview.test.ts:17
↓ 6 callersFunctionseedV1Database
( records: Array<{ namespace: string slug: string name: string teamUid:
packages/workspace-store/src/persistence/migrations/v2-team-to-local.test.ts:128
↓ 6 callersFunctionsendRequest
({ path, port }: { path: string; port: number })
projects/scalar-app/entrypoints/electron/main/actions/authorize-oauth2.test.ts:51
↓ 6 callersFunctionserializeConfigToJs
(config: Record<string, unknown>)
packages/server-side-rendering/src/ssr.ts:354
↓ 6 callersFunctionsetInputValue
(value: string)
projects/scalar-app/src/features/app/components/CreateVersionModal.test.ts:31
↓ 6 callersFunctionsetNestedValue
(obj: T, path: P, value: PathValue<T, P>)
packages/object-utils/src/nested/nested.ts:156
↓ 6 callersFunctionsetupWorkspaceStore
()
packages/api-client/src/v2/features/modal/helpers/create-api-client-modal.test.ts:49
↓ 6 callersFunctionshouldRenderArrayItemComposition
(schema: SchemaObject | undefined, composition: string)
packages/api-reference/src/components/Content/Schema/helpers/should-render-array-item-composition.ts:13
↓ 6 callersFunctionstartServer
(options: { connectionTimeoutMs?: number; path?: string } = {})
packages/void-server/src/void-websocket.test.ts:42
↓ 6 callersFunctionsubmitForm
()
projects/scalar-app/src/features/app/components/CreateVersionModal.test.ts:38
↓ 6 callersFunctionsyncParametersForPathChange
( newPath: string, oldPath: string, existingParameters: ReferenceType<T>[], resolve: (node: ReferenceT
packages/workspace-store/src/mutators/operation/helpers/sync-path-parameters.ts:55
↓ 6 callersFunctiontrackReservedKeys
( allowReservedQueryParameters: Set<string>, allowReserved: boolean, ...keys: string[] )
packages/workspace-store/src/request-example/builder/header/build-request-parameters.ts:168
↓ 6 callersFunctionupdateActiveEnvironment
( workspace: Workspace | null, payload: WorkspaceEvents['workspace:update:active-environment'], )
packages/workspace-store/src/mutators/workspace.ts:61
↓ 6 callersFunctionupdateOperationRequestBodyFormValue
( document: WorkspaceDocument | null, { meta, payload, contentType }: OperationEvents['operation:update:re
packages/workspace-store/src/mutators/operation/body.ts:116
↓ 6 callersFunctionupdateSecurityScheme
( document: WorkspaceDocument | null, { payload, name }: AuthEvents['auth:update:security-scheme'], )
packages/workspace-store/src/mutators/auth.ts:171
↓ 6 callersFunctionupdateSelectedAuthTab
( store: WorkspaceStore | null, document: WorkspaceDocument | null, { index, meta }: AuthEvents['auth:up
packages/workspace-store/src/mutators/auth.ts:261
↓ 6 callersFunctionupdateSelectedSecuritySchemes
( store: WorkspaceStore | null, document: WorkspaceDocument | null, { selectedRequirements, newSchemes,
packages/workspace-store/src/mutators/auth.ts:39
↓ 6 callersFunctionupdateSelectedServer
( document: WorkspaceDocument | null, { url, meta }: ServerEvents['server:update:selected'], )
packages/workspace-store/src/mutators/server.ts:286
↓ 6 callersFunctionuseCodeMirror
( params: UseCodeMirrorParameters, )
packages/use-codemirror/src/hooks/useCodeMirror.ts:111
↓ 6 callersFunctionuseCommandPaletteDocuments
({ app, managedDocs, }: { app: AppState managedDocs: MaybeRefOrGetter<RegistryDocument[]> })
projects/scalar-app/src/features/command-palette/hooks/use-command-palette-documents.ts:64
↓ 6 callersFunctionuseGlobalHotKeys
( eventBus: WorkspaceEventBus, layout: ClientLayout, disableListeners?: MaybeRefOrGetter<boolean>, )
packages/api-client/src/v2/hooks/use-global-hot-keys.ts:14
↓ 6 callersFunctionwaitForOpen
(client: WebSocket)
packages/void-server/src/void-websocket.test.ts:24
↓ 6 callersFunctionwaitForScalarAppShellReady
(page: Page, options?: { timeout?: number })
projects/scalar-app/test/helpers/wait-for-scalar-app-shell-ready.ts:11
↓ 6 callersFunctionwrapAsExampleObject
Wraps a value as an ExampleObject, preserving existing structure if valid
packages/openapi-upgrader/src/2.0-to-3.0/upgrade-from-two-to-three.ts:145
↓ 5 callersFunctionAUTH_KEY
(slug: string)
packages/api-reference/src/plugins/persistence-plugin.test.ts:6
↓ 5 callersFunctionadaptAsyncApiParameters
(parameters: AsyncApiChannelObject['parameters'])
packages/api-reference/src/components/Content/AsyncApi/helpers/adapt-async-api-parameters.ts:15
↓ 5 callersFunctionattachVoidWebSocket
( httpServer: HttpServer | ServerType, options: VoidWebSocketOptions = {}, )
packages/void-server/src/void-websocket.ts:94
↓ 5 callersFunctionauthStorage
()
packages/api-reference/src/helpers/storage.ts:36
↓ 5 callersFunctionbasename
(path: string, ext?: string)
packages/helpers/src/node/path.ts:207
↓ 5 callersFunctionbeforePayload
(requestBuilder: RequestFactory)
packages/oas-utils/src/helpers/client-plugins.test.ts:21
↓ 5 callersFunctionbuildPillContext
(variableName: string, environment: XScalarEnvironment | undefined)
packages/api-client/src/v2/components/code-input/helpers/build-pill-context.ts:18
↓ 5 callersFunctionbuildRegistryDoc
(version: string, commitHash?: string)
projects/scalar-app/src/features/collection/components/Settings.test.ts:296
↓ 5 callersFunctionbuildReleaseNotesPreamble
(displayName?: string)
packages/helpers/src/markdown/release-notes.ts:110
↓ 5 callersFunctionbuildWsQueryParams
( wsBinding: AsyncApiWsBindingObject | undefined, queryParameters?: Record<string, string>, )
packages/workspace-store/src/channel-example/build-connection-url.ts:228
↓ 5 callersFunctionclientStorage
()
packages/api-reference/src/helpers/storage.ts:12
↓ 5 callersFunctioncollectDynamicAnchors
(resource: SchemaObject)
packages/workspace-store/src/helpers/dynamic-ref.ts:54
↓ 5 callersFunctioncollectRequestPathKeysUnderFolder
(node: PostmanTreeNode)
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:173
↓ 5 callersFunctioncompileSchema
( ajv: Ajv2020, schema: Record<string, unknown> | null, label: string, )
packages/mock-server/src/utils/validate-request.ts:184
↓ 5 callersFunctioncreateChain
(method: string, ...args: string[])
packages/snippetz/src/libs/rust.ts:38
↓ 5 callersFunctioncreateDocument
(initial?: Partial<OpenApiDocument>)
packages/workspace-store/src/mutators/operation/extensions.test.ts:9
↓ 5 callersFunctioncreateIndexDbConnection
({ name = 'scalar-workspace-store', tables, migrations, }: { name: string tables: T migrations: re
packages/workspace-store/src/persistence/indexdb.ts:86
↓ 5 callersFunctioncreateJsonResponse
(c: Context, data: Record<string, any>)
packages/void-server/src/utils/create-json-response.ts:6
↓ 5 callersFunctioncreateLocationMock
(overrides: Partial<Location> = {})
packages/api-reference/src/helpers/id-routing.test.ts:596
↓ 5 callersFunctioncreateMockDocument
(overrides?: Partial<OpenApiDocument>)
projects/scalar-app/src/features/collection/DocumentCollection.test.ts:17
↓ 5 callersFunctioncreateMockWebhook
(overrides: Partial<TraversedWebhook> = {})
packages/api-reference/src/components/Content/Operations/TraversedEntry.test.ts:149
↓ 5 callersFunctioncreateMockWebhook
(overrides: Partial<TraversedWebhook> = {})
packages/api-reference/src/components/OperationsList/OperationsListItem.test.ts:26
↓ 5 callersFunctioncreateParameter
( overrides: Partial<ExtendedParameter> & Pick<ExtendedParameter, 'name' | 'in' | 'value'>, examples?: Rec
packages/workspace-store/src/request-example/builder/request-factory.test.ts:15
↓ 5 callersFunctioncreateSchemes
(overrides: Partial<MergedSecuritySchemes> = {})
packages/workspace-store/src/request-example/context/security/get-security-schemes.test.ts:8
↓ 5 callersFunctioncreateTestDocument
(overrides: Partial<OpenApiDocument> = {})
packages/api-client/src/v2/features/modal/helpers/create-api-client-modal.test.ts:29
↓ 5 callersFunctioncreateWorkspaceStoreInstance
()
projects/scalar-app/src/features/collection/components/Cookies.test.ts:23
↓ 5 callersFunctioncreateXmlResponse
(c: Context, data: Record<string, any>)
packages/void-server/src/utils/create-xml-response.ts:7
↓ 5 callersFunctiondeleteDocument
(store: WorkspaceStore | null, payload: DocumentEvents['document:delete:document'])
packages/workspace-store/src/mutators/document.ts:132
↓ 5 callersFunctiondeleteEnvironment
( workspace: Workspace | null, collection: WorkspaceDocument | Workspace | null, { environmentName }: Ev
packages/workspace-store/src/mutators/environment.ts:74
↓ 5 callersFunctiondeleteEnvironmentVariable
( collection: WorkspaceDocument | Workspace | null, { environmentName, index }: Event<'environment:delete:
packages/workspace-store/src/mutators/environment.ts:130
← previousnext →901–1,000 of 4,087, ranked by callers