MCPcopy Create free account

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 5 callersFunctiondetails
(queue: Queue<T>)
packages/openapi-parser/src/utils/openapi/actions/details.ts:9
↓ 5 callersFunctionescapeHtml
(value: string)
tooling/scripts/src/commands/generate-blog.ts:357
↓ 5 callersFunctionexternalizePathReferences
( document: OpenApiDocument, meta: { mode: 'ssr'; name: string; baseUrl: string } | { mode: 'static'; name
packages/workspace-store/src/server.ts:161
↓ 5 callersFunctionfiles
(queue: Queue<T>)
packages/openapi-parser/src/utils/openapi/actions/files.ts:7
↓ 5 callersFunctionfilterAsyncApiNavigation
( entries: TraversedEntry[], document: AsyncApiDocument, filter: AsyncApiNavigationFilter, )
packages/api-reference/src/blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.ts:88
↓ 5 callersFunctionformatComplexScheme
(scheme: NonNullable<OpenApiDocument['security']>[number])
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.ts:44
↓ 5 callersFunctionformatHotkeySymbols
(hotkey: string, modifier: HotKeyModifier[])
packages/components/src/components/ScalarHotkey/formatHotkey.ts:45
↓ 5 callersFunctionget
(queue: Queue<T>)
packages/openapi-parser/src/utils/openapi/actions/get.ts:7
↓ 5 callersFunctiongetActiveProxyUrl
(activeProxyUrl: Workspace['x-scalar-active-proxy'], layout: Layout)
packages/workspace-store/src/request-example/context/proxy.ts:25
↓ 5 callersMethodgetAgent
Gets the Agent Scalar options for this source. @return the agent options or null
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarSource.java:139
↓ 5 callersFunctiongetBody
(c: Context)
packages/void-server/src/utils/get-body.ts:6
↓ 5 callersFunctiongetCollidingPostmanRequestPathKeys
( itemRoot: unknown, selectedPathKeys: readonly string[], baseDocument?: OpenApiDocument, )
projects/scalar-app/src/features/command-palette/helpers/postman-request-collisions.ts:14
↓ 5 callersFunctiongetColorModesFromSelectors
(text: string)
packages/helpers/src/theme/load-css-variables.ts:23
↓ 5 callersFunctiongetConfiguration
( givenConfiguration: Partial<ApiReferenceConfigurationWithSource>, )
packages/core/src/libs/html-rendering/html-rendering.ts:36
↓ 5 callersFunctiongetConfiguration
()
packages/api-reference/src/standalone/lib/html-api.ts:83
↓ 5 callersFunctiongetContextFunctionComment
(name: ContextFunctionName)
packages/workspace-store/src/request-example/functions.ts:667
↓ 5 callersFunctiongetDocumentType
(value: unknown)
packages/workspace-store/src/schemas/type-guards.ts:30
↓ 5 callersFunctiongetFetch
( config: Partial<Pick<ApiReferenceConfigurationRaw, 'fetch' | 'proxyUrl'>>, )
packages/workspace-store/src/helpers/get-fetch.ts:11
↓ 5 callersFunctiongetHeadings
( markdown: string, depth: number = 1, )
packages/code-highlight/src/markdown/markdown.ts:210
↓ 5 callersFunctiongetImportFromQuery
({ darkMode }: ImportFromQueryOptions)
projects/scalar-app/src/features/import-listener/helpers/get-import-from-query.ts:35
↓ 5 callersFunctiongetModelNameFromSchema
( schemaOrRef: SchemaObject | SchemaReferenceType<SchemaObject>, )
packages/api-reference/src/components/Content/Schema/helpers/schema-name.ts:11
↓ 5 callersFunctiongetOperationReachability
( document: AsyncApiDocument, operation: AsyncApiOperationObject, context: AsyncApiReachabilityContext =
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:115
↓ 5 callersFunctiongetParameterContentValue
(parameter: ParameterObject)
packages/api-client/src/v2/blocks/request-block/helpers/get-parameter-content.ts:8
↓ 5 callersFunctiongetPropertyDescription
(value: SchemaObject | undefined)
packages/api-reference/src/components/Content/Schema/helpers/get-property-description.ts:27
↓ 5 callersMethodgetScalarJsContent
Gets the JavaScript bundle content. @return the JavaScript bundle content as bytes @throws IOException if the JavaScript file cannot be loaded
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarHtmlRenderer.java:119
↓ 5 callersFunctiongetScript
(...args: (string | undefined | null)[])
packages/pre-post-request-scripts/src/helpers/get-script.ts:7
↓ 5 callersFunctiongetSelectedBodyContentType
( requestBody: RequestBodyObject | undefined, exampleKey: string = 'default', )
packages/workspace-store/src/request-example/builder/body/get-selected-body-content-type.ts:10
↓ 5 callersMethodgetShowDeveloperTools
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:607
↓ 5 callersFunctiongetSpecScriptTag
(doc: Document)
packages/api-reference/src/standalone/lib/html-api.ts:12
↓ 5 callersFunctiongetVisibleTabCount
( /** The natural width of each tab, in order */ tabWidths: number[], /** The width available to render
packages/api-reference/src/blocks/scalar-sdk-installation-instructions/helpers/visible-tab-count.ts:9
↓ 5 callersFunctionhandleSelectItem
(id: string)
packages/api-client/src/v2/features/modal/hooks/use-modal-sidebar.ts:133
↓ 5 callersFunctioninitializeWebsiteTrackers
(context: TrackingContext = createTrackingContext())
projects/scalar-app/entrypoints/web/src/tracking.ts:111
↓ 5 callersFunctionisAsyncApiDocument
(document: unknown)
packages/mock-server/src/utils/process-asyncapi-document.ts:62
↓ 5 callersFunctionisAuthOptional
(securityRequirements: NonNullable<OpenApiDocument['security']>)
packages/workspace-store/src/request-example/context/security/is-auth-optional.ts:4
↓ 5 callersMethodisDarkMode
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:367
↓ 5 callersMethodisDefault
Gets whether this is the default source @return whether this is the default source or null
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarSource.java:121
↓ 5 callersFunctionisFilePath
(value: string)
packages/json-magic/src/helpers/is-file-path.ts:19
↓ 5 callersMethodisHideModels
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:351
↓ 5 callersFunctionisIntegerSchema
( schema: T, )
packages/openapi-types/src/helpers/is-integer-schema.ts:10
↓ 5 callersMethodisShowSidebar
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:343
↓ 5 callersFunctionisValidUrl
(url: string)
packages/helpers/src/url/is-valid-url.ts:11
↓ 5 callersFunctionmakeJwtWithExp
(exp: number)
projects/scalar-app/src/helpers/auth/is-token-expired.test.ts:8
↓ 5 callersFunctionmergeObjects
(a: Record<string, unknown>, b: Record<string, unknown>)
packages/json-magic/src/diff/utils.ts:65
↓ 5 callersFunctionmergeSchemaIntoResult
( result: SchemaObject, schema: SchemaObject, override: boolean = false, seenRefs: Set<string> = new S
packages/api-reference/src/components/Content/Schema/helpers/merge-all-of-schemas.ts:85
↓ 5 callersFunctionmergeWsBindings
( channel: AsyncApiChannelObject, operation?: AsyncApiOperationObject | null, )
packages/workspace-store/src/channel-example/build-connection-url.ts:118
↓ 5 callersFunctionmessageForDeleteDocumentError
(code: DeleteRegistryDocumentError, detail?: string)
projects/scalar-app/src/features/app/helpers/registry-error-messages.ts:115
↓ 5 callersFunctionmockFetch
(body: unknown, ok = true, status = 200)
projects/scalar-app/src/helpers/auth/exchange-token.test.ts:14
↓ 5 callersFunctionmockLocation
(search: string)
projects/scalar-app/src/features/import-listener/helpers/get-import-from-query.test.ts:6
↓ 5 callersFunctionmountWithSlotCapture
( props: Parameters<typeof mount<typeof CommandPaletteImport>>[1] extends infer P ? P extends { prop
projects/scalar-app/src/features/command-palette/components/CommandPaletteImport.test.ts:733
↓ 5 callersFunctionnetworkMessage
(detail?: string)
projects/scalar-app/src/features/app/helpers/registry-error-messages.ts:24
↓ 5 callersFunctionnormalizeHeaders
(_headers: Headers, removeProxyHeaders = false)
packages/helpers/src/http/normalize-headers.ts:13
↓ 5 callersFunctionparseJsonOrYaml
(value: string | UnknownObject)
packages/oas-utils/src/helpers/parse.ts:74
↓ 5 callersFunctionpickUniqueSlug
(desired: string, taken: ReadonlySet<string>)
packages/workspace-store/src/persistence/migrations/v2-team-to-local.ts:97
↓ 5 callersFunctionprefixInternalRef
(input: string, prefix: string[])
packages/json-magic/src/bundle/bundle.ts:75
↓ 5 callersFunctionprocessAsyncApiDocument
( document: string | Record<string, any> | undefined, )
packages/mock-server/src/utils/process-asyncapi-document.ts:21
↓ 5 callersFunctionprocessLicense
(collection: PostmanCollection)
packages/postman-to-openapi/src/helpers/license.ts:22
↓ 5 callersMethodredo
Roll forward to the next available mutation if its exists
packages/object-utils/src/mutator-record/mutations.ts:155
↓ 5 callersFunctionreduceNamesToObject
(names: string[], properties: Properties)
packages/api-reference/src/components/Content/Schema/helpers/sort-property-names.ts:18
↓ 5 callersFunctionrelative
(from: string, to: string)
packages/helpers/src/node/path.ts:139
↓ 5 callersFunctionrender
(overrides: Partial<OperationProps> = {})
packages/api-client/src/v2/features/operation/Operation.test.ts:65
↓ 5 callersFunctionrequestAsPromise
(req: IDBRequest<T>)
packages/workspace-store/src/persistence/indexdb.ts:338
↓ 5 callersFunctionrequestBuiltPayload
( requestBuilder: RequestFactory, request: Request = new Request('https://example.com/api/test'), )
packages/api-reference/src/helpers/map-config-plugins.test.ts:42
↓ 5 callersFunctionresolveChannels
(document: AsyncApiDocument)
packages/mock-server/src/utils/resolve-channels.ts:86
↓ 5 callersFunctionresolveDefaultOAuth2RedirectUri
(config: Pick<ApiClientConfiguration, 'oauth2RedirectUri'>)
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/resolve-default-oauth2-redirect-url.ts:11
↓ 5 callersFunctionresolveRequestFactoryUrl
( request: RequestFactory, options: { envVariables: Record<string, string> | ((value: string) => strin
packages/workspace-store/src/request-example/builder/resolve-request-factory-url.ts:32
↓ 5 callersFunctionresolveResponseContentType
(contentType: string | null | undefined)
packages/api-client/src/v2/blocks/response-block/helpers/resolve-response-content-type.ts:12
↓ 5 callersFunctionsandboxFrameUrl
()
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.ts:56
↓ 5 callersFunctionserializeConfigToJs
(configuration: Record<string, unknown>)
packages/client-side-rendering/src/html-rendering.ts:154
↓ 5 callersFunctionsetElectron
(present: boolean)
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.test.ts:87
↓ 5 callersMethodsetTheme
(ScalarTheme theme)
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:547
↓ 5 callersFunctionsetupAbortMock
Minimal window.api mock that records calls to customFetchAbort.
projects/scalar-app/entrypoints/electron/helpers/custom-fetch/create-ipc-transport.test.ts:158
↓ 5 callersFunctionshouldDisplayHeading
(schema: SchemaObject | undefined, name?: string, required = false)
packages/api-reference/src/components/Content/Schema/helpers/should-display-heading.ts:11
↓ 5 callersFunctionsnapshotMain
( page: Page, basename: string, screenshotOptions?: PageAssertionsToHaveScreenshotOptions, )
projects/scalar-app/test/scalar-app-page-tour.e2e.ts:83
↓ 5 callersFunctiontoJson
(queue: Queue<T>)
packages/openapi-parser/src/utils/openapi/actions/toJson.ts:9
↓ 5 callersFunctiontoPostmanResponse
(response: Response)
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.ts:26
↓ 5 callersFunctiontoYaml
(queue: Queue<T>)
packages/openapi-parser/src/utils/openapi/actions/toYaml.ts:9
↓ 5 callersFunctiontoggleFilter
()
projects/scalar-app/src/features/app/hooks/use-sidebar-documents/index.ts:103
↓ 5 callersFunctiontransformErrors
(specification: AnyObject, errors: any)
packages/openapi-parser/src/utils/transform-errors.ts:8
↓ 5 callersFunctionunknownMessage
(detail?: string)
projects/scalar-app/src/features/app/helpers/registry-error-messages.ts:27
↓ 5 callersFunctionupdateDocumentInfo
( document: WorkspaceDocument | null, payload: DocumentEvents['document:update:info'], )
packages/workspace-store/src/mutators/document.ts:48
↓ 5 callersFunctionupdateOperationRequestBodyContentType
( document: WorkspaceDocument | null, { meta, payload }: OperationEvents['operation:update:requestBody:con
packages/workspace-store/src/mutators/operation/body.ts:55
↓ 5 callersFunctionupgrade
(value: UnknownObject)
packages/asyncapi-upgrader/src/upgrade.ts:15
↓ 5 callersFunctionuseDocumentWatcher
({ documentName, store, initialTimeout = DEFAULT_INITIAL_TIMEOUT, }: { documentName: MaybeRefOrGetter<
projects/scalar-app/src/features/app/hooks/use-document-watcher.ts:120
↓ 5 callersFunctionuseNetworkStatus
()
projects/scalar-app/src/features/app/hooks/use-network-status.ts:37
↓ 5 callersFunctionuseSidebarGroups
(options: SidebarGroupOptions = {})
packages/components/src/components/ScalarSidebar/useSidebarGroups.ts:30
↓ 5 callersFunctionuseUser
(options?: Omit<UseQueryOptions, 'queryKey' | 'queryFn'>)
projects/scalar-app/src/hooks/use-user.ts:15
↓ 5 callersFunctionvalidatePathParameters
(specification: AnyObject)
packages/openapi-parser/src/utils/validate-path-parameters.ts:14
↓ 5 callersFunctionwithMeasurementAsync
(name: string, fn: () => Promise<T>)
packages/workspace-store/src/client.ts:650
↓ 5 callersFunctionwrapperOf
(el: HTMLElement)
packages/blocks/src/code-example/mount.test.ts:92
↓ 4 callersFunctionApiReference
(givenConfiguration: Partial<ApiReferenceConfiguration>)
integrations/nextjs/src/ApiReference.ts:21
↓ 4 callersFunctionaddInMemoryDocument
( input: ObjectDoc & { initialize?: boolean; documentSource?: string; documentHash: string }, navigati
packages/workspace-store/src/client.ts:962
↓ 4 callersFunctionasMessage
(message: unknown)
packages/api-reference/src/helpers/get-async-api-message-payload-schema.test.ts:10
↓ 4 callersFunctionbuildAsyncApiServerBaseUrl
( server: AsyncApiServerObject, environmentVariables?: BuildConnectionUrlInput['environmentVariables'], )
packages/workspace-store/src/channel-example/build-connection-url.ts:89
↓ 4 callersFunctionbuildParameterSchema
( parameters: OpenAPIV3_1.OperationObject['parameters'], location: ParameterLocation, )
packages/mock-server/src/utils/validate-request.ts:91
↓ 4 callersFunctionbuildVisibleNotes
(entries: ReleaseNote[], currentVersion?: string)
projects/scalar-app/src/features/whats-new/hooks/use-whats-new.ts:28
↓ 4 callersFunctioncleanupAbort
()
projects/scalar-app/entrypoints/electron/main/actions/handle-custom-fetch.ts:55
↓ 4 callersFunctioncleanupTooltipElement
()
packages/components/src/components/ScalarTooltip/useTooltip.ts:151
↓ 4 callersFunctionclearActiveFrame
(id: number)
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.ts:98
↓ 4 callersFunctionclearTimer
Clears the current timer
packages/components/src/components/ScalarTooltip/useTooltip.ts:193
↓ 4 callersFunctionconfigureApiReference
(app: Hono)
projects/galaxy-scalar-com/src/galaxy-scalar-com.ts:62
← previousnext →1,001–1,100 of 4,087, ranked by callers