MCPcopy Index your code

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 12 callersFunctionformatLanguage
(lang?: string)
packages/blocks/src/code-example/helpers/format-language.ts:64
↓ 12 callersFunctiongetEntryByLocation
(location)
packages/api-client/src/v2/features/modal/hooks/use-modal-sidebar.ts:102
↓ 12 callersFunctiongetFeaturedClients
( clientOptions: ClientOptionGroup[], featuredClients: AvailableClients[number][] = FEATURED_CLIENTS, )
packages/api-reference/src/blocks/scalar-client-selector-block/helpers/featured-clients.ts:24
↓ 12 callersFunctiongetOpenapiObject
({ store, entry, }: { store: WorkspaceStore entry: Entry })
packages/workspace-store/src/navigation/helpers/get-openapi-object.ts:46
↓ 12 callersMethodgetPageTitle
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:335
↓ 12 callersFunctioninitialize
(path, useDynamicBaseServerUrl, configuration = { sources: [] }, modulePath)
integrations/dotnet/aspnetcore/src/Scalar.AspNetCore/StaticAssets/scalar.aspnetcore.js:33
↓ 12 callersFunctionisArraySchema
(schema: Record<string, unknown> | undefined)
packages/mock-server/src/utils/deserialize-parameter.ts:60
↓ 12 callersFunctionisDroppable
(_draggingItem: DraggingItem, _hoveredItem: HoveredItem)
projects/scalar-app/src/helpers/drag-handle-factory.ts:405
↓ 12 callersFunctionisObjectSchema
(schema: Record<string, unknown> | undefined)
packages/mock-server/src/utils/deserialize-parameter.ts:73
↓ 12 callersFunctionmakeHarRequest
(overrides: Partial<HarRequest> = {})
packages/blocks/src/code-example/helpers/get-snippet.test.ts:9
↓ 12 callersFunctionmockFetch
(body: unknown, ok = true, status = 200)
projects/scalar-app/src/hooks/use-auth.test.ts:167
↓ 12 callersFunctionmountWithProps
( custom: Partial<{ selectedSchemeOptions: any[] securitySchemes: any isStatic: boolean
packages/api-client/src/v2/blocks/scalar-auth-selector-block/components/RequestAuthDataTable.test.ts:34
↓ 12 callersFunctionnormalizeError
(e: unknown, defaultMessage: string = ERRORS.DEFAULT)
packages/helpers/src/errors/normalize-error.ts:51
↓ 12 callersFunctionopenDisclosure
(wrapper: ReturnType<typeof mountComponent>)
packages/api-client/src/v2/blocks/scalar-auth-selector-block/components/OAuthScopesInput.test.ts:26
↓ 12 callersFunctionparse
(v: any)
packages/object-utils/src/parse/json.ts:12
↓ 12 callersFunctionparsePreferHeader
(header: string | null | undefined)
packages/mock-server/src/utils/parse-prefer-header.ts:25
↓ 12 callersFunctionrouteMetadata
(appState: Awaited<ReturnType<typeof createAppState>>, teamSlug: string, teamUid = teamSlug)
projects/scalar-app/src/features/app/app-state.test.ts:66
↓ 12 callersFunctionserializeReleaseNotes
( entries: readonly ReleaseNoteEntry[], options: { preamble?: string } = {}, )
packages/helpers/src/markdown/release-notes.ts:123
↓ 12 callersFunctionstartMockServer
(config: ServerConfig)
packages/mock-server/docker/src/server.ts:25
↓ 12 callersFunctiontabs
()
packages/api-reference/src/blocks/scalar-sdk-installation-instructions/components/SdkInstallationInstructions.test.ts:102
↓ 12 callersFunctiontraverseDescription
({ generateId, parentId, info, }: { generateId: TraverseSpecOptions['generateId'] parentId: string
packages/workspace-store/src/navigation/helpers/traverse-description.ts:53
↓ 12 callersFunctionupdateColorMode
( workspace: Workspace | null, payload: WorkspaceEvents['workspace:update:color-mode'], )
packages/workspace-store/src/mutators/workspace.ts:28
↓ 12 callersFunctionupsertCookie
( collection: WorkspaceDocument | Workspace | null, { payload, index }: Event<'cookie:upsert:cookie'>, )
packages/workspace-store/src/mutators/cookie.ts:19
↓ 12 callersFunctionuseClipboard
(opts: UseClipboardOptions = {})
packages/use-hooks/src/useClipboard/useClipboard.ts:19
↓ 11 callersFunctionaddServer
( document: WorkspaceDocument | null, { url, select, meta }: ServerEvents['server:add:server'], )
packages/workspace-store/src/mutators/server.ts:62
↓ 11 callersFunctionaddToMapArray
(map: Map<string, unknown[]>, key: string, value: unknown)
packages/helpers/src/array/add-to-map-array.ts:4
↓ 11 callersFunctionapiReference
(givenConfiguration: Partial<ApiReferenceConfiguration>)
integrations/express/src/apiReference.ts:16
↓ 11 callersFunctionbeforePayload
(requestBuilder: RequestFactory)
packages/api-reference/src/helpers/map-config-plugins.test.ts:36
↓ 11 callersFunctioncamelToTitleWords
(camelStr = '')
packages/helpers/src/string/camel-to-title.ts:6
↓ 11 callersFunctioncreateChannel
(overrides: Partial<TraversedAsyncApiChannel> = {})
packages/api-reference/src/components/Content/AsyncApi/Channel.test.ts:8
↓ 11 callersFunctioncreateDocument
(initial?: Partial<OpenApiDocument>)
packages/workspace-store/src/mutators/operation/body.test.ts:12
↓ 11 callersFunctioncreateDocumentProps
(overrides: Partial<CollectionProps> = {})
projects/scalar-app/src/features/collection/components/Settings.test.ts:41
↓ 11 callersFunctioncreateMockDocument
(overrides: Partial<OpenApiDocument> = {})
projects/scalar-app/src/features/command-palette/hooks/use-command-palette-document-selection.test.ts:19
↓ 11 callersFunctioncreateMockDragEvent
(overrides: Partial<DragEvent> = {})
projects/scalar-app/src/features/collection/components/Runner/hooks/use-runner-selection.test.ts:14
↓ 11 callersFunctioncreateMockOperation
(overrides: Partial<TraversedOperation> = {})
packages/api-reference/src/components/OperationsList/OperationsList.test.ts:26
↓ 11 callersFunctioncreateMockOriginalResponse
()
packages/api-client/src/v2/blocks/operation-block/OperationBlock.test.ts:129
↓ 11 callersFunctioncreateMockWebSocket
()
packages/api-client/src/v2/blocks/channel-operation-block/helpers/connect-websocket.test.ts:17
↓ 11 callersFunctioncustomFetch
()
packages/workspace-store/src/client.test.ts:4195
↓ 11 callersFunctiondeleteCookie
( collection: WorkspaceDocument | Workspace | null, { index }: Event<'cookie:delete:cookie'>, )
packages/workspace-store/src/mutators/cookie.ts:63
↓ 11 callersFunctiondeleteOperation
( workspace: WorkspaceStore | null, { meta, documentName }: OperationEvents['operation:delete:operation'],
packages/workspace-store/src/mutators/operation/operation.ts:277
↓ 11 callersFunctiondeleteOperationExample
( workspace: WorkspaceStore | null, { meta: { path, method, exampleKey }, documentName }: OperationEvents[
packages/workspace-store/src/mutators/operation/operation.ts:338
↓ 11 callersFunctionforEachPathItemOperation
( pathItem: NodeInput<PathItemObject> | undefined, callback: (method: HttpMethod, operation: NodeInput<Ope
packages/workspace-store/src/helpers/for-each-path-item-operation.ts:81
↓ 11 callersFunctionformatPythonValue
(value: unknown, indentation = 4)
packages/snippetz/src/plugins/python/requestsLike.ts:27
↓ 11 callersFunctiongetDefaultResponse
(overrides: Partial<ResponseInstance> = {})
packages/api-client/src/v2/blocks/response-block/ResponseBlock.test.ts:14
↓ 11 callersFunctiongetHtmlDocument
(givenConfiguration: Partial<HtmlRenderingConfiguration>, customTheme = '')
packages/core/src/libs/html-rendering/html-rendering.ts:16
↓ 11 callersFunctiongetOperationExamples
(path: OpenAPIV3_1.PathItemObject)
packages/postman-to-openapi/src/helpers/get-operation-examples.ts:41
↓ 11 callersFunctiongetRenderableSdks
(xScalarSdkInstallation: SdkInstallationList | undefined)
packages/api-reference/src/blocks/scalar-sdk-installation-instructions/helpers/renderable-sdks.ts:43
↓ 11 callersFunctiongetScriptTags
(configuration: Record<string, unknown>, cdn?: string, nonce?: string)
packages/client-side-rendering/src/html-rendering.ts:193
↓ 11 callersFunctiongetSecuritySchemes
( securitySchemes: MergedSecuritySchemes, selectedSecurity: SecurityRequirementObject, )
packages/workspace-store/src/request-example/context/security/get-security-schemes.ts:12
↓ 11 callersFunctiongetSelectedServer
( document: WorkspaceDocument | null, operation: OperationObject | null, configServers: ServerObject[] |
packages/workspace-store/src/request-example/context/servers.ts:105
↓ 11 callersFunctiongetXKeysFromObject
(object?: Record<string, unknown>)
packages/workspace-store/src/navigation/helpers/get-x-keys.ts:7
↓ 11 callersFunctionhonoRouteFromPath
(path: string)
packages/mock-server/src/utils/hono-route-from-path.ts:5
↓ 11 callersFunctionisDereferenced
( value: T, )
packages/openapi-types/src/helpers/is-dereferenced.ts:24
↓ 11 callersFunctionmakeTagEntry
(overrides: Partial<WithParent<TraversedTag>> = {})
packages/workspace-store/src/navigation/helpers/update-order-ids.test.ts:43
↓ 11 callersFunctionmapHiddenClientsConfig
(hiddenClients: ApiReferenceConfiguration['hiddenClients'])
packages/api-client/src/v2/features/modal/helpers/map-hidden-clients-config.ts:10
↓ 11 callersFunctionnullable
(options?: Documentation)
packages/validation/src/schema.ts:208
↓ 11 callersFunctionobjectKeys
(obj: T)
packages/helpers/src/object/object-keys.ts:5
↓ 11 callersFunctionparseMdTable
(md: string)
packages/postman-to-openapi/src/helpers/markdown.ts:8
↓ 11 callersFunctionparseVariableValue
(value: string)
packages/helpers/src/theme/load-css-variables.ts:46
↓ 11 callersMethodpeek
* Returns the front element of the queue without removing it. * @returns The front data, or null if the queue is empty.
packages/helpers/src/queue/queue.ts:82
↓ 11 callersFunctionpillSignature
(text: string, withVariables: boolean)
packages/api-client/src/v2/components/code-input/helpers/pill-signature.ts:14
↓ 11 callersFunctionreduceQueryParams
(query: HarRequest['queryString'] = [])
packages/snippetz/src/libs/http.ts:123
↓ 11 callersFunctionregistryDocument
( overrides: Partial<RegistryDocument> & Pick<RegistryDocument, 'namespace' | 'slug' | 'versions'>, )
projects/scalar-app/src/features/app/hooks/use-sidebar-documents/helpers/build-registry-item.test.ts:14
↓ 11 callersFunctionreloadOperationHistory
( store: WorkspaceStore | null, document: WorkspaceDocument | null, { meta, index, callback }: Operation
packages/workspace-store/src/mutators/operation/history.ts:63
↓ 11 callersFunctionresetConsoleSpies
()
packages/helpers/src/testing/console-spies.ts:12
↓ 11 callersFunctionsendCallbackRequest
({ host = '127.0.0.1', method = 'POST', path, port, }: { host?: string method?: string path: str
projects/scalar-app/entrypoints/electron/main/actions/get-exchange-token.test.ts:70
↓ 11 callersFunctionsetValueAtPath
(target: Record<string, unknown>, path: readonly string[], value: unknown)
packages/helpers/src/object/set-value-at-path.ts:21
↓ 11 callersFunctionstopLoading
()
packages/api-client/src/v2/blocks/scalar-address-bar-block/hooks/use-loading-animation.ts:94
↓ 11 callersFunctiontoArrayBufferBody
(body: BodyInit | null | undefined)
projects/scalar-app/entrypoints/electron/helpers/custom-fetch/to-array-buffer-body.ts:5
↓ 11 callersFunctiontraverseDocument
(documentName: string, document: OpenApiDocument, options?: NavigationOptions)
packages/workspace-store/src/navigation/helpers/traverse-document.ts:22
↓ 11 callersFunctionupdateDocumentIcon
(document: WorkspaceDocument | null, icon: string)
packages/workspace-store/src/mutators/document.ts:71
↓ 11 callersFunctionuseDraggable
(options: UseDraggableOptions)
packages/sidebar/src/hooks/use-draggable.ts:112
↓ 11 callersFunctionwaitForNavigation
()
projects/scalar-app/src/features/app/app-state.test.ts:72
↓ 11 callersFunctionworkspaceEntry
( overrides: Partial<WorkspaceDocumentEntry> & Pick<WorkspaceDocumentEntry, 'documentName' | 'title'>, )
projects/scalar-app/src/features/app/hooks/use-sidebar-documents/helpers/build-registry-item.test.ts:7
↓ 10 callersFunctioncreateDocument
(message: Record<string, unknown>)
packages/api-reference/src/components/Content/AsyncApi/Message.test.ts:22
↓ 10 callersFunctioncreateHash
(input?: string)
packages/helpers/src/string/create-hash.ts:8
↓ 10 callersFunctioncreateLimiter
(maxConcurrent: number)
packages/helpers/src/general/create-limiter.ts:22
↓ 10 callersFunctioncreateMockTestResult
(overrides: Partial<TestResult> = {})
projects/scalar-app/src/features/collection/components/Runner/hooks/use-runner-execution.test.ts:24
↓ 10 callersFunctioncreatePathParam
(name: string, value: unknown)
packages/api-client/src/v2/blocks/operation-block/helpers/validate-path-parameters.test.ts:7
↓ 10 callersFunctioncreateTestEventBus
()
packages/api-client/src/v2/features/modal/helpers/create-api-client-modal.test.ts:46
↓ 10 callersFunctionemitSchema
(schema: Schema, depth: number, ctx: TypeGenContext, braceIndent: string)
packages/validation/src/typegen.ts:162
↓ 10 callersFunctionescapeCSharpString
(text: string)
packages/snippetz/src/plugins/csharp/httpclient/httpclient.ts:239
↓ 10 callersFunctionextractServerFromUrl
(url: string | undefined)
packages/postman-to-openapi/src/helpers/urls.ts:141
↓ 10 callersFunctiongetAsyncApiServers
( document: AsyncApiDocument, options: AsyncApiServerListOptions = {}, )
packages/workspace-store/src/channel-example/servers.ts:78
↓ 10 callersFunctiongetConfigurationFromDataAttributes
(doc: Document)
packages/api-reference/src/standalone/lib/html-api.ts:78
↓ 10 callersFunctiongetExchangeToken
(flow: 'login' | 'register')
projects/scalar-app/entrypoints/electron/main/actions/get-exchange-token.ts:184
↓ 10 callersFunctiongetHeadingId
(heading: { value: string })
packages/workspace-store/src/navigation/helpers/traverse-description.test.ts:6
↓ 10 callersFunctiongetOpenAuthTokenUrls
(schema?: OpenAPI.Document)
packages/mock-server/src/utils/get-open-auth-token-urls.ts:36
↓ 10 callersFunctiongetRequestData
(c: Context)
packages/void-server/src/utils/get-request-data.ts:10
↓ 10 callersFunctiongetXKeysFromObject
(object?: Record<string, unknown>)
packages/api-reference/src/features/specification-extension/helpers.ts:7
↓ 10 callersFunctioninferSchemaFromExample
(example: any)
packages/postman-to-openapi/src/helpers/schemas.ts:8
↓ 10 callersFunctioninstallScalar
(cdn: string = DEFAULT_CDN)
integrations/astro/src/client.test.ts:36
↓ 10 callersFunctionisBooleanJsonSchema
(schema: unknown)
packages/openapi-types/src/helpers/is-boolean-json-schema.ts:14
↓ 10 callersFunctionisContextFunctionName
(name: string)
packages/workspace-store/src/request-example/functions.ts:683
↓ 10 callersFunctionisNonOptionalSecurityRequirement
( securityRequirement: SecurityRequirementObject | undefined, )
packages/workspace-store/src/helpers/is-non-optional-security-requirement.ts:4
↓ 10 callersFunctionisSchemaPath
(path: string[] | undefined)
packages/openapi-upgrader/src/3.0-to-3.1/upgrade-from-three-to-three-one.ts:19
↓ 10 callersFunctionisTokenExpired
( token: string, /** current current time in unix milliseconds */ current: number = Date.now(), )
projects/scalar-app/src/helpers/auth/is-token-expired.ts:4
↓ 10 callersFunctionmakeJwt
(payload: object)
projects/scalar-app/src/hooks/use-auth.test.ts:17
↓ 10 callersFunctionmountComponent
(props: Parameters<typeof mount>[1])
packages/api-reference/src/components/ApiReference.config.test.ts:90
↓ 10 callersFunctionnext
()
packages/helpers/src/general/create-limiter.ts:26
← previousnext →501–600 of 4,087, ranked by callers