MCPcopy Index your code

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 7 callersFunctionindent
* Generates a consistent indentation string based on the specified indentation level.
packages/snippetz/src/libs/php.ts:4
↓ 7 callersFunctioninitializeServers
( document: WorkspaceDocument | null, { meta }: ServerEvents['server:initialize:servers'], )
packages/workspace-store/src/mutators/server.ts:42
↓ 7 callersFunctionisAuthenticationRequired
(security?: OpenAPIV3.SecurityRequirementObject[])
packages/mock-server/src/utils/is-authentication-required.ts:6
↓ 7 callersFunctionisContentTypeParameterObject
(parameter: ParameterObject)
packages/workspace-store/src/schemas/v3.1/strict/type-guards.ts:40
↓ 7 callersFunctionisDynamicRef
(schema: unknown)
packages/workspace-store/src/helpers/dynamic-ref.ts:29
↓ 7 callersFunctionisNonEmptyObject
Checks if a value is a non-null, non-array object with at least one entry
packages/openapi-upgrader/src/2.0-to-3.0/upgrade-from-two-to-three.ts:25
↓ 7 callersFunctionisNullSchema
( schema: T, )
packages/openapi-types/src/helpers/is-null-schema.ts:11
↓ 7 callersFunctionisNumericSchema
( schema: T, )
packages/openapi-types/src/helpers/is-numeric-schema.ts:11
↓ 7 callersFunctionisReorder
(hoveredItem: HoveredItem)
projects/scalar-app/src/helpers/drag-handle-factory.ts:92
↓ 7 callersFunctionisXError
(x)
packages/openapi-parser/src/utils/betterAjvErrors/utils.ts:10
↓ 7 callersFunctioniterateTitle
(title: string, checkDuplicates: (title: string) => boolean, separator = ' #')
packages/helpers/src/string/iterate-title.ts:4
↓ 7 callersFunctionjoinUrlAndQuery
(url: string, queryString?: NameValuePair[])
packages/snippetz/src/libs/http.ts:69
↓ 7 callersFunctionloadDocument
* Resolves a workspace document from various input sources (URL, local file, or direct document object). * * @param workspaceDocument - The document
packages/workspace-store/src/client.ts:136
↓ 7 callersFunctionmeasureSync
( name: string, fn: ReturnType<F> extends Promise<unknown> ? never : F, )
packages/helpers/src/testing/measure.ts:15
↓ 7 callersFunctionmessageForFetchError
(code: FetchRegistryDocumentError, detail?: string)
projects/scalar-app/src/features/app/helpers/registry-error-messages.ts:37
↓ 7 callersFunctionmessageForPublishVersionError
(code: PublishRegistryVersionError, detail?: string)
projects/scalar-app/src/features/app/helpers/registry-error-messages.ts:56
↓ 7 callersFunctionmountWithProps
( custom: Partial<{ scopes: string[] scope: { name: string; description: string } | null }
packages/api-client/src/v2/blocks/scalar-auth-selector-block/components/OAuthScopesAddModal.test.ts:12
↓ 7 callersFunctionmountWithProps
( custom: Partial<{ document: any environment: any }> = {}, )
projects/scalar-app/src/features/collection/components/Servers.test.ts:49
↓ 7 callersFunctionmountWorkspaceCollection
(activeWorkspaceLabel = 'My Workspace')
projects/scalar-app/src/features/collection/WorkspaceCollection.test.ts:22
↓ 7 callersFunctionnormalizeMethod
(method?: string)
packages/snippetz/src/libs/http.ts:43
↓ 7 callersFunctionnormalizeMimeTypeObject
(content?: ResponseObject['content'])
packages/api-reference/src/features/example-responses/helpers/normalize-mime-type-object.ts:10
↓ 7 callersFunctionnote
(version: string, title = `release ${version}`)
projects/scalar-app/src/features/whats-new/hooks/use-whats-new.test.ts:7
↓ 7 callersFunctiononError
(_: Electron.IpcRendererEvent, data: { streamId: string; message: string })
projects/scalar-app/entrypoints/electron/preload/index.ts:38
↓ 7 callersFunctionpickAcceptMediaType
(value: string | undefined)
packages/postman-to-openapi/src/helpers/header-utils.ts:36
↓ 7 callersFunctionprocessContact
(collection: PostmanCollection)
packages/postman-to-openapi/src/helpers/contact.ts:23
↓ 7 callersFunctionprocessLogo
(postmanCollection: PostmanCollection)
packages/postman-to-openapi/src/helpers/logo.ts:8
↓ 7 callersFunctionprocessResponseBody
({ data, headers }: { data: unknown; headers: { name: string; value: string }[] })
packages/api-client/src/v2/blocks/response-block/helpers/process-response-body.ts:11
↓ 7 callersFunctionrebuildSidebar
(documentName: string | undefined)
projects/scalar-app/src/features/app/app-state.ts:1145
↓ 7 callersFunctionrefocusBlurTarget
(selector: string | null)
packages/api-client/src/v2/blocks/scalar-address-bar-block/helpers/refocus-blur-target.ts:15
↓ 7 callersFunctionrender
(overrides: Partial<HeaderProps> = {})
packages/api-client/src/v2/blocks/operation-block/components/Header.test.ts:41
↓ 7 callersFunctionreplacePathVariables
(path: string, variables: Record<string, string> = {})
packages/helpers/src/regex/replace-variables.ts:27
↓ 7 callersFunctionresolveRouteParameters
(store: WorkspaceStore, params: DefaultEntities)
packages/api-client/src/v2/features/modal/helpers/resolve-route-parameters.ts:153
↓ 7 callersFunctionscrollSidebarToTop
(id: string, offsetTop: number = DEFAULT_SCROLL_OFFSET_TOP)
packages/sidebar/src/helpers/scroll-sidebar-to-top.ts:53
↓ 7 callersMethodsetDisabled
Sets whether the agent is disabled. @param disabled true to disable, false or null to use default behavior
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarAgentOptions.java:65
↓ 7 callersFunctionsetFeedback
(feedback, message, type)
documentation/assets/enterprise-contact-form.js:2
↓ 7 callersFunctionsetOffsetParent
(element: HTMLElement, value: HTMLElement | null)
packages/sidebar/src/helpers/scroll-sidebar-to-top.test.ts:19
↓ 7 callersMethodsetShowDeveloperTools
(DeveloperToolsVisibility showDeveloperTools)
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:611
↓ 7 callersFunctionsetState
(next: WebSocketSessionState)
packages/api-client/src/v2/blocks/channel-operation-block/helpers/websocket-session.ts:74
↓ 7 callersMethodsetUrl
Sets the URL of the OpenAPI specification @param url the url
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarSource.java:76
↓ 7 callersFunctionsetupIpcMock
Build a window.api mock and return helpers to control the stream.
projects/scalar-app/entrypoints/electron/helpers/custom-fetch/create-ipc-transport.test.ts:14
↓ 7 callersFunctionsyntaxHighlight
( codeString: string, options: { lang: string languages: Record<string, LanguageFn> lineNumber
packages/code-highlight/src/code/highlight.ts:16
↓ 7 callersFunctiontoPathKey
(path: readonly string[])
packages/api-client/src/v2/blocks/request-block/helpers/create-parameter-rows.ts:84
↓ 7 callersFunctiontraverse
( content: UnknownObject, transform: (content: UnknownObject, path?: string[]) => UnknownObject, path: s
packages/openapi-parser/src/utils/traverse.ts:7
↓ 7 callersMethodundo
Undo the previous mutation
packages/object-utils/src/mutator-record/mutations.ts:136
↓ 7 callersFunctionupdateOperationExtension
( document: WorkspaceDocument | null, { meta, payload }: OperationEvents['operation:update:extension'], )
packages/workspace-store/src/mutators/operation/extensions.ts:20
↓ 7 callersFunctionupgrade
(value: string | UnknownObject | Filesystem)
packages/openapi-parser/src/utils/upgrade.ts:13
↓ 7 callersFunctionuseBindCx
()
packages/use-hooks/src/useBindCx/useBindCx.ts:36
↓ 7 callersFunctionuseRegistryDocuments
(options?: Omit<UseQueryOptions, 'queryKey' | 'queryFn'>)
projects/scalar-app/src/hooks/use-registry-documents.ts:15
↓ 7 callersFunctionuseRegistryNamespaces
(options?: Omit<UseQueryOptions, 'queryKey' | 'queryFn'>)
projects/scalar-app/src/hooks/use-registry-namespaces.ts:20
↓ 7 callersFunctionvalidateParameter
( schema?: SchemaObject, value?: string | File | null, )
packages/api-client/src/v2/blocks/request-block/helpers/validate-parameter.ts:6
↓ 6 callersFunctionNewProxyServer
NewProxyServer creates a new proxy server instance
projects/proxy-scalar-com/main.go:182
↓ 6 callersMethodaddPath
* Adds a value to the trie at the specified path. * Creates new nodes as needed to build the path. * * @param path - Array of strings represe
packages/json-magic/src/diff/trie.ts:49
↓ 6 callersFunctionaddToPriorityQueue
(id: string | undefined)
packages/api-reference/src/helpers/lazy-bus.ts:179
↓ 6 callersFunctionasyncApiResolvedReference
(schema: Schema)
packages/schemas/src/asyncapi/3.1/reference.ts:45
↓ 6 callersFunctionauthMutatorsFactory
({ document, store, }: { document: WorkspaceDocument | null store: WorkspaceStore | null })
packages/workspace-store/src/mutators/auth.ts:688
↓ 6 callersFunctionauthorizeOauth2
({ authorizationUrl }: AuthorizeOAuth2Params)
projects/scalar-app/entrypoints/electron/main/actions/authorize-oauth2.ts:112
↓ 6 callersFunctionbaseRequest
(overrides: Partial<SandboxExecuteRequest>)
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-frame-server.test.ts:29
↓ 6 callersFunctionbuildConnectionUrl
({ server, channel, operation = null, pathParameters = {}, queryParameters = {}, environmentVariab
packages/workspace-store/src/channel-example/build-connection-url.ts:263
↓ 6 callersFunctionbuildRequest
( request: RequestFactory, options: { envVariables: Record<string, string> /** * When true, a
packages/workspace-store/src/request-example/builder/build-request.ts:122
↓ 6 callersFunctioncleanup
(persistence: Awaited<ReturnType<typeof createWorkspaceStorePersistence>> | undefined)
packages/workspace-store/src/persistence/migrations/v2-team-to-local.test.ts:118
↓ 6 callersFunctioncollectHeaders
(headers?: NameOptionalValuePair[], cookies?: NameValuePair[])
packages/snippetz/src/libs/http.ts:86
↓ 6 callersFunctioncreateDiscovery
(overrides: Partial<OpenIDConnectDiscovery> = {})
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.test.ts:22
↓ 6 callersFunctioncreateDocumentProps
(overrides: Partial<CollectionProps> = {})
projects/scalar-app/src/features/collection/components/Cookies.test.ts:28
↓ 6 callersFunctioncreateElement
(tagName: string, attributes: Record<string, string> = {})
packages/api-client/src/v2/helpers/handle-hotkeys.test.ts:49
↓ 6 callersFunctioncreateFakeApp
({ documents, activeDocumentName, isTeamWorkspace = true, }: { documents: Record<string, FakeDocument>
projects/scalar-app/src/features/app/components/DocumentSyncIndicator.test.ts:23
↓ 6 callersFunctioncreateFakeApp
({ documents = {}, isTeamWorkspace = false, documentSlug, }: { documents?: Record<string, FakeDocument
projects/scalar-app/src/features/command-palette/hooks/use-command-palette-documents.test.ts:27
↓ 6 callersFunctioncreateHtmlResponse
(c: Context, data: Record<string, any>)
packages/void-server/src/utils/create-html-response.ts:9
↓ 6 callersFunctioncreateMicroStore
(name: string)
packages/object-utils/src/mutator-record/mutations.test.ts:7
↓ 6 callersFunctioncreateMinimalDocument
(overrides: Partial<OpenApiDocument> = {})
packages/workspace-store/src/request-example/context/get-request-example-context.test.ts:8
↓ 6 callersFunctioncreateMockDocument
(environments?: any)
projects/scalar-app/src/features/collection/components/Environment.test.ts:32
↓ 6 callersFunctioncreateMockEnvironment
(variables: any[] = [])
packages/api-client/src/v2/features/environments/components/EnvironmentVariablesTable.test.ts:10
↓ 6 callersFunctioncreateMockSelectedItem
(overrides: Partial<SelectedItem> = {})
projects/scalar-app/src/features/collection/components/Runner/hooks/use-runner-execution.test.ts:7
↓ 6 callersFunctioncreateMockWorkspaceStore
(documents: Record<string, Record<string, unknown>> = {})
projects/scalar-app/src/features/command-palette/hooks/use-command-palette-document-selection.test.ts:11
↓ 6 callersFunctioncreateModalOptions
(options: ApiClientOptions = {})
packages/api-client/src/v2/features/modal/Modal.test.ts:39
↓ 6 callersFunctioncreateParameter
(name: string, overrides?: Partial<ParameterObject>)
packages/api-reference/src/features/Operation/components/ParameterList.test.ts:18
↓ 6 callersFunctioncreatePathFromSegments
(obj: any, segments: string[])
packages/json-magic/src/helpers/json-path-utils.ts:19
↓ 6 callersFunctioncreateRegistryDocumentProps
(overrides: Partial<CollectionProps> = {})
projects/scalar-app/src/features/collection/components/Settings.test.ts:326
↓ 6 callersFunctioncreateServer
(server: Record<string, unknown> = {})
packages/oas-utils/src/migrations/migrate-to-indexdb.test.ts:121
↓ 6 callersFunctioncreateTraversedTag
(name: string, children?: Parameters<typeof editTag>[1]['tag']['children'])
packages/workspace-store/src/mutators/tag.test.ts:337
↓ 6 callersFunctioncreateWorkspaceStore
({ documents, originals, }: { documents: Record<string, FakeDocument> originals?: Record<string, Recor
projects/scalar-app/src/features/app/helpers/check-version-conflict.test.ts:20
↓ 6 callersFunctioncreateZipFileResponse
(c: Context, data: Record<string, unknown>)
packages/void-server/src/utils/create-zip-file-response.ts:6
↓ 6 callersFunctiondeleteDatabase
(name: string)
packages/workspace-store/src/persistence/indexdb.test.ts:334
↓ 6 callersFunctiondeletePathItemOperation
(pathItem: NodeInput<PathItemObject> | undefined, method: HttpMethod)
packages/workspace-store/src/helpers/for-each-path-item-operation.ts:60
↓ 6 callersFunctiondeleteSecurityScheme
( store: WorkspaceStore | null, document: WorkspaceDocument | null, { names }: AuthEvents['auth:delete:s
packages/workspace-store/src/mutators/auth.ts:600
↓ 6 callersFunctiondispatchStorageEvent
(key: string, newValue: string | null)
projects/scalar-app/src/hooks/use-auth.test.ts:664
↓ 6 callersFunctionemit
(...args: EmitParameters<E>)
packages/workspace-store/src/events/bus.ts:394
↓ 6 callersFunctionescapeObjectKeys
(value: unknown)
packages/snippetz/src/plugins/php/laravel/laravel.ts:12
↓ 6 callersFunctionevaluate
(expression: (value: unknown) => unknown, schema: S)
packages/validation/src/schema.ts:320
↓ 6 callersFunctionexecutePreRequestScript
( script: string | undefined, data: { requestBuilder: RequestFactory variablesStore?: VariablesSto
packages/pre-post-request-scripts/src/libs/execute-scripts/execute-pre-request-script.ts:14
↓ 6 callersFunctionextname
(path: string)
packages/helpers/src/node/path.ts:216
↓ 6 callersFunctionextractPathParameterNames
(path: string)
packages/postman-to-openapi/src/helpers/urls.ts:121
↓ 6 callersFunctionextractServerObjectFromUrl
( url: string | undefined, collectionVariableLookup: CollectionVariableLookup = new Map(), )
packages/postman-to-openapi/src/helpers/urls.ts:148
↓ 6 callersFunctionfetchOpenIDConnectDiscovery
( url: string, proxyUrl: string, customFetch: CustomFetch = fetch, )
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.ts:44
↓ 6 callersFunctionfilterItemsByRegistryNamespace
( items: T[], filterNamespaceId: NamespaceFilterId, isTeamWorkspace: boolean, )
projects/scalar-app/src/features/app/hooks/use-sidebar-documents/helpers/registry-namespace-filter.ts:79
↓ 6 callersFunctionfindVersionCombobox
(wrapper: ReturnType<typeof mount>)
projects/scalar-app/src/features/app/components/DocumentBreadcrumb.test.ts:20
↓ 6 callersFunctiongetAccessToken
()
projects/scalar-app/src/hooks/use-auth.ts:68
↓ 6 callersFunctiongetActiveServerBase
( activeServer: ServerObject | null, environmentVariables: Record<string, string> = {}, )
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/oauth.ts:91
↓ 6 callersMethodgetAgent
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java:431
↓ 6 callersFunctiongetBasePath
(suffix)
integrations/dotnet/aspnetcore/src/Scalar.AspNetCore/StaticAssets/scalar.aspnetcore.js:14
↓ 6 callersFunctiongetCompositionsToRender
( value: SchemaObject | undefined, document?: DocumentSchemaLookup, )
packages/api-reference/src/components/Content/Schema/helpers/get-compositions-to-render.ts:71
← previousnext →801–900 of 4,087, ranked by callers