MCPcopy Index your code

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 15 callersFunctioncanMethodHaveBody
(method: string, skipElectron: boolean = false)
packages/helpers/src/http/can-method-have-body.ts:12
↓ 15 callersFunctioncapitalize
(str = '')
packages/helpers/src/string/capitalize.ts:5
↓ 15 callersFunctioncreateDocument
(initial?: Partial<OpenApiDocument>)
packages/workspace-store/src/mutators/operation/history.test.ts:10
↓ 15 callersFunctioncreateOverridesProxy
( target: T, options?: { overrides?: DeepPartial<T> }, args: { cache: WeakMap<object, any> }
packages/workspace-store/src/helpers/overrides-proxy.ts:47
↓ 15 callersFunctioncreateWorkspaceStorePersistence
()
packages/workspace-store/src/persistence/index.ts:60
↓ 15 callersFunctionexecCallback
(result: NavigationFailure | void | undefined)
projects/scalar-app/src/features/app/app-events.ts:312
↓ 15 callersFunctionfindButtonByText
(wrapper: VueWrapper, text: string)
projects/scalar-app/src/features/settings/DocumentSettings.test.ts:10
↓ 15 callersFunctionformatMilliseconds
(ms: number, decimals = 2)
packages/helpers/src/formatters/format-milliseconds.ts:5
↓ 15 callersFunctiongetFirstServer
(...availableServers: (ServerObject[] | ServerObject | null)[])
packages/workspace-store/src/helpers/get-first-server.ts:11
↓ 15 callersMethodgetValue
Gets the string value for JSON serialization. @return the string value
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/enums/Pkce.java:53
↓ 15 callersFunctiongoString
(value: string)
packages/snippetz/src/plugins/go/native/native.ts:20
↓ 15 callersFunctionisObjectEqual
(a: unknown, b: unknown)
packages/helpers/src/object/is-object-equal.ts:9
↓ 15 callersFunctionisParamDisabled
( param: ParameterObject, example: ExampleObject | undefined, defaultDisabled: boolean = true, )
packages/workspace-store/src/request-example/builder/header/is-param-disabled.ts:14
↓ 15 callersFunctionisUntypedSchema
( schema: T, )
packages/openapi-types/src/helpers/is-untyped-schema.ts:16
↓ 15 callersFunctionisVersionLessThan
(a: string, b: string)
packages/helpers/src/general/compare-versions.ts:93
↓ 15 callersFunctionmockLocation
(search: string)
projects/scalar-app/src/features/import-listener/helpers/get-url-query-parameter.test.ts:6
↓ 15 callersFunctionnormalRef
(inner: Schema)
packages/schemas/src/openapi/3.1/reference.ts:33
↓ 15 callersFunctionnormalizeAuthSchemes
()
packages/workspace-store/src/plugins/bundler/index.ts:208
↓ 15 callersFunctionsafeLocalStorage
()
packages/helpers/src/object/local-storage.ts:50
↓ 15 callersFunctiontraverseSchemas
({ document, tagsMap, generateId, documentId, }: { document: OpenApiDocument /** Map of tagNames a
packages/workspace-store/src/navigation/helpers/traverse-schemas.ts:56
↓ 15 callersFunctionupdateDocumentExtension
( document: WorkspaceDocument | null, payload: DocumentEvents['document:update:extension'], )
packages/workspace-store/src/mutators/document.ts:11
↓ 15 callersFunctionuseTooltip
(opts: TooltipConfiguration)
packages/components/src/components/ScalarTooltip/useTooltip.ts:234
↓ 15 callersFunctionvalidatePathParameters
( parameters: ReferenceType<ParameterObject>[] = [], exampleKey: string = 'default', )
packages/api-client/src/v2/blocks/operation-block/helpers/validate-path-parameters.ts:24
↓ 14 callersFunctioncreateCustomFetch
(transport: Transport)
projects/scalar-app/entrypoints/electron/helpers/custom-fetch/create-custom-fetch.ts:15
↓ 14 callersFunctioncreateMockRunResult
(overrides: Partial<RunResult> = {})
projects/scalar-app/src/features/collection/components/Runner/hooks/use-runner-execution.test.ts:16
↓ 14 callersFunctioncreateMockTag
(overrides: Partial<TraversedTag> = {})
packages/api-reference/src/components/OperationsList/OperationsList.test.ts:46
↓ 14 callersFunctioncreateProps
()
packages/api-client/src/v2/features/modal/Modal.test.ts:73
↓ 14 callersFunctioncreateTestStore
(documentOverrides: Partial<OpenApiDocument> = {})
packages/api-client/src/v2/features/modal/hooks/use-modal-sidebar.test.ts:33
↓ 14 callersFunctionextractBodyFieldNames
(operation: OperationObject)
packages/api-reference/src/helpers/openapi.ts:134
↓ 14 callersFunctiongenerate
(request)
packages/snippetz/src/plugins/js/xhr/xhr.ts:13
↓ 14 callersFunctiongetActiveThemeStyles
( workspaceThemeSlug: string | undefined, fallbackThemeSlug: string, customThemes: Theme[], )
projects/scalar-app/src/helpers/theme/get-active-theme-styles.ts:21
↓ 14 callersFunctiongetResolvedPathItem
(pathItem: NodeInput<PathItemObject> | undefined)
packages/workspace-store/src/helpers/for-each-path-item-operation.ts:11
↓ 14 callersFunctiongetRouteParam
( paramName: ScalarClientAppRouteParams, route: RouteLocationNormalizedGeneric | null, )
projects/scalar-app/src/features/app/helpers/get-route-param.ts:13
↓ 14 callersFunctiongroupWorkspacesByTeam
( workspaces: WorkspaceItem[], currentTeamSlug: string, options?: { /** * Surfaces a synthetic
projects/scalar-app/src/features/app/helpers/group-workspaces.ts:36
↓ 14 callersFunctionhandleDragEnd
(_draggingItem: DraggingItem, _hoveredItem: HoveredItem)
projects/scalar-app/src/helpers/drag-handle-factory.ts:346
↓ 14 callersFunctioninferSchemaType
(value: any)
packages/postman-to-openapi/src/helpers/schemas.ts:36
↓ 14 callersFunctionisFeaturedClient
( clientId: string | undefined, featuredClients: AvailableClients[number][] = FEATURED_CLIENTS, )
packages/api-reference/src/blocks/scalar-client-selector-block/helpers/featured-clients.ts:14
↓ 14 callersFunctionlog
(message: string, ...args: unknown[])
packages/workspace-store/src/events/bus.ts:280
↓ 14 callersFunctionmergeObjects
( a: Record<string, unknown>, b: Record<string, unknown>, /** * By default we overwrite array indexes
packages/workspace-store/src/helpers/merge-object.ts:34
↓ 14 callersFunctionmergeOperations
( operation1: OpenAPIV3_1.OperationObject, operation2: OpenAPIV3_1.OperationObject, )
packages/postman-to-openapi/src/helpers/merge-operation.ts:72
↓ 14 callersFunctionmountWithProps
( custom: Partial<{ document: OpenApiDocument | null environment: typeof baseEnvironment collect
projects/scalar-app/src/features/collection/components/Authentication.test.ts:77
↓ 14 callersFunctionnormalizePath
(path: string)
packages/postman-to-openapi/src/helpers/urls.ts:51
↓ 14 callersFunctionoperation
(name: keyof NonNullable<AsyncApiDocument['operations']>)
packages/workspace-store/src/channel-example/get-async-api-protocols.test.ts:41
↓ 14 callersFunctionprocessAuth
(auth: Auth)
packages/postman-to-openapi/src/helpers/auth.ts:138
↓ 14 callersFunctionquote
(value: string)
packages/snippetz/src/plugins/kotlin/okhttp/okhttp.ts:13
↓ 14 callersFunctionsanitizeBasePath
(basePath: string)
packages/api-reference/src/helpers/id-routing.ts:1
↓ 14 callersFunctionschema
(value: Record<string, unknown>)
packages/workspace-store/src/helpers/dynamic-ref.test.ts:7
↓ 14 callersFunctionselectResponseExample
( mediaType: OpenAPIV3_1.MediaTypeObject | undefined, exampleName?: string, )
packages/mock-server/src/utils/select-response-example.ts:21
↓ 14 callersFunctionsetup
()
projects/scalar-app/src/features/app/hooks/use-sidebar-context-menu.test.ts:64
↓ 14 callersFunctionswiftStringLiteral
(value: string)
packages/snippetz/src/plugins/swift/nsurlsession/nsurlsession.ts:5
↓ 14 callersFunctionupdateOperationPathMethod
( document: WorkspaceDocument | null, store: WorkspaceStore | null, { meta, payload: { method, path }, b
packages/workspace-store/src/mutators/operation/operation.ts:160
↓ 14 callersFunctionupdateTheme
(workspace: Workspace | null, payload: WorkspaceEvents['workspace:update:theme'])
packages/workspace-store/src/mutators/workspace.ts:46
↓ 14 callersFunctionupgradeFromThreeToThreeOne
(originalDocument: UnknownObject)
packages/asyncapi-upgrader/src/3.0-to-3.1/upgrade-from-three-to-three-one.ts:18
↓ 14 callersFunctionuseState
()
packages/agent-chat/src/state/state.ts:395
↓ 14 callersFunctionuseThemes
({ store, ...options }: { /** The workspace store used to read the active theme slug */ store: MaybeRe
projects/scalar-app/src/hooks/use-themes.ts:31
↓ 13 callersFunctionaccumulateRepeatedValue
(data: Record<string, string | string[]>, name: string, value: string)
packages/snippetz/src/libs/http.ts:108
↓ 13 callersFunctionbuildRegistryItem
({ key, registry, loaded, activeDocumentSlug, }: { key: string registry: RegistryDocument loaded
projects/scalar-app/src/features/app/hooks/use-sidebar-documents/helpers/build-registry-item.ts:20
↓ 13 callersFunctioncreateCodeExample
(el: HTMLElement | string, options: CreateCodeExampleOptions)
packages/blocks/src/code-example/mount.ts:67
↓ 13 callersFunctioncreateError
(code: T, detail: D)
packages/agent-chat/src/entities/error/helpers.ts:3
↓ 13 callersFunctioncreateIpcTransport
()
projects/scalar-app/entrypoints/electron/helpers/custom-fetch/create-ipc-transport.ts:14
↓ 13 callersFunctioncreateMockTag
(overrides: Partial<TraversedTag> = {})
packages/api-reference/src/components/Content/Tags/components/ClassicLayout.test.ts:8
↓ 13 callersFunctioncreateMockTag
(overrides: Partial<TraversedTag> = {})
packages/api-reference/src/components/Content/Tags/components/ModernLayout.test.ts:17
↓ 13 callersFunctiondeleteServer
( document: WorkspaceDocument | null, { index, meta }: ServerEvents['server:delete:server'], )
packages/workspace-store/src/mutators/server.ts:219
↓ 13 callersFunctiondeleteTag
(workspace: WorkspaceStore | null, payload: TagEvents['tag:delete:tag'])
packages/workspace-store/src/mutators/tag.ts:124
↓ 13 callersFunctionextractStatusCodesFromTests
(item: Item)
packages/postman-to-openapi/src/helpers/status-codes.ts:10
↓ 13 callersFunctionfilterWorkspacesByTeam
( workspaces: T[], currentTeamSlug: string, )
projects/scalar-app/src/features/app/helpers/filter-workspaces.ts:24
↓ 13 callersFunctiongenerateCodeSnippet
({ clientId, customCodeSamples, includeDefaultHeaders = false, operation, method, path, example,
packages/blocks/src/code-example/helpers/generate-code-snippet.ts:42
↓ 13 callersFunctiongenerateUniqueValue
( compress: (value: string) => Promise<string> | string, value: string, compressedToValue: Record<string
packages/json-magic/src/bundle/value-generator.ts:53
↓ 13 callersFunctiongetPathFromUrl
(url: string)
packages/mock-server/src/utils/get-open-auth-token-urls.ts:7
↓ 13 callersFunctiongetSnippet
( target: T | 'javascript', client: ClientId<T>, harRequest: HarRequest, )
packages/blocks/src/code-example/helpers/get-snippet.ts:11
↓ 13 callersFunctiongetTagEntries
(document: TraversedDocument)
packages/workspace-store/src/navigation/helpers/get-tag-entries.ts:23
↓ 13 callersMethodisEmpty
* Checks whether the queue is empty. * @returns True if the queue has no elements, false otherwise.
packages/helpers/src/queue/queue.ts:93
↓ 13 callersFunctionisEmptySchemaObject
(schema: SchemaObject | undefined)
packages/api-reference/src/components/Content/Schema/helpers/is-empty-schema-object.ts:10
↓ 13 callersFunctionisRelativePath
(url: string)
packages/helpers/src/url/is-relative-path.ts:6
↓ 13 callersFunctionmakeDocumentEntry
(name = 'test-api')
packages/workspace-store/src/navigation/helpers/update-order-ids.test.ts:19
↓ 13 callersFunctionmergeWithDefaults
( defaults: T, overrides: Record<string, unknown> = {}, )
packages/oas-utils/src/migrations/migrate-to-indexdb.test.ts:15
↓ 13 callersFunctionmountOperationWithConfig
( overrides: { path?: string method?: string pathValue?: any server?: any options?: Part
packages/api-reference/src/features/Operation/Operation.test.ts:25
↓ 13 callersFunctionopenMenu
(event: MouseEvent | KeyboardEvent, item: TraversedEntry)
projects/scalar-app/src/features/app/hooks/use-sidebar-context-menu.ts:67
↓ 13 callersFunctionparseMimeType
(value: string = 'text/plain')
packages/helpers/src/http/mime-type.ts:62
↓ 13 callersFunctionserializeContentValue
(value: unknown, contentType: string)
packages/workspace-store/src/request-example/builder/header/serialize-parameter.ts:17
↓ 13 callersFunctionstringAtPath
(path: string[], key: string = path.join('.'))
packages/api-client/src/plugins/posthog/sanitize-event-payload.ts:15
↓ 13 callersFunctiontraverseAsyncApiDocument
( documentName: string, document: AsyncApiDocumentWithNavigationExtensions, options?: NavigationOptions,
packages/workspace-store/src/navigation/helpers/traverse-asyncapi-document.ts:591
↓ 13 callersFunctiontraverseTags
({ document, tagsMap, documentId, options: { generateId, tagsSorter, operationsSorter }, }: { docume
packages/workspace-store/src/navigation/helpers/traverse-tags.ts:192
↓ 13 callersFunctionupdateSelectedScopes
( store: WorkspaceStore | null, document: WorkspaceDocument | null, { id, name, scopes, meta }: AuthEven
packages/workspace-store/src/mutators/auth.ts:359
↓ 13 callersFunctionupsertOperationParameter
( document: WorkspaceDocument | null, { meta, type, payload, originalParameter }: OperationEvents['operati
packages/workspace-store/src/mutators/operation/parameters.ts:57
↓ 12 callersFunctionPostHogClientPlugin
(config: PostHogConfig)
packages/api-client/src/plugins/posthog/index.ts:27
↓ 12 callersFunctionconnectWebSocket
({ connectionUrl, protocols, session, plugins = [], callbacks, customWebSocket, }: ConnectWebSocke
packages/api-client/src/v2/blocks/channel-operation-block/helpers/connect-websocket.ts:58
↓ 12 callersFunctioncopyToClipboard
(value: unknown)
packages/use-hooks/src/useClipboard/useClipboard.ts:23
↓ 12 callersFunctioncreateApiClientModal
({ el, eventBus = createWorkspaceEventBus({ debug: import.meta.env.DEV, }), mountOnInitialize = tr
packages/api-client/src/v2/features/modal/helpers/create-api-client-modal.ts:62
↓ 12 callersFunctioncreateCodeBlock
(content: string, name: string, lang: string, mask?: string[])
packages/code-highlight/playground/main.ts:27
↓ 12 callersFunctioncreateMessage
(overrides: Partial<TraversedAsyncApiMessage> = {})
packages/api-reference/src/components/Content/AsyncApi/Message.test.ts:11
↓ 12 callersFunctioncreateMockDocument
(tagGroups?: TagGroup[])
packages/workspace-store/src/navigation/helpers/traverse-tags.test.ts:14
↓ 12 callersFunctioncreateMockOperation
(overrides: Partial<TraversedOperation> = {})
packages/api-reference/src/components/OperationsList/OperationsListItem.test.ts:16
↓ 12 callersFunctioncreateMockTag
(overrides: Partial<TraversedTag> = {})
packages/api-reference/src/components/Content/Tags/components/TagSection.test.ts:8
↓ 12 callersFunctioncreateOperation
( workspaceStore: WorkspaceStore | null, payload: OperationEvents['operation:create:operation'], )
packages/workspace-store/src/mutators/operation/operation.ts:39
↓ 12 callersFunctioncreateServerWorkspaceStore
( workspaceProps: CreateServerWorkspaceStoreProps, )
packages/workspace-store/src/server.ts:339
↓ 12 callersMethoddereference
(api: string)
packages/openapi-parser/tests/migration-layer.test.ts:55
↓ 12 callersFunctionescapeCString
(value: string)
packages/snippetz/src/plugins/c/libcurl/libcurl.ts:5
↓ 12 callersFunctionescapeJsString
(value: string)
packages/snippetz/src/plugins/shared/axios.ts:9
↓ 12 callersFunctionfindVariables
( value: string, { includePath = true, includeEnv = true }: { includePath?: boolean; includeEnv?: boolean
packages/helpers/src/regex/find-variables.ts:10
← previousnext →401–500 of 4,087, ranked by callers