Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scalar/scalar
/ functions
Functions
4,087 in github.com/scalar/scalar
⨍
Functions
4,087
◇
Types & classes
253
↳
Endpoints
19
↓ 3 callers
Function
countOccurrences
(haystack: string, needle: string)
packages/api-reference/src/components/Content/Schema/Schema.test.ts:1327
↓ 3 callers
Function
countPostmanRequestLeaves
(items: unknown)
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:143
↓ 3 callers
Function
createAnthropicProvider
(options: AnthropicProviderOptions = {})
packages/release-notes/src/providers/anthropic.ts:27
↓ 3 callers
Function
createAutoGeneratedHeader
()
packages/snippetz/scripts/generate-dotnet-enums.ts:287
↓ 3 callers
Function
createDocument
(operation: Record<string, unknown>)
packages/api-reference/src/components/Content/AsyncApi/Operation.test.ts:23
↓ 3 callers
Function
createDocumentWithChannel
(channel: Record<string, unknown>)
packages/api-reference/src/components/Content/AsyncApi/Channel.test.ts:33
↓ 3 callers
Function
createEntry
( overrides: Partial<AsyncApiServerEntry> & Pick<AsyncApiServerEntry, 'name' | 'url'>, )
packages/api-reference/src/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.test.ts:9
↓ 3 callers
Function
createJsonModel
(value?: string)
projects/scalar-app/src/features/editor/helpers/json/create-json-model.ts:17
↓ 3 callers
Function
createMockApi
()
packages/agent-chat/src/registry/add-documents-to-store.test.ts:23
↓ 3 callers
Function
createMockDocument
()
packages/api-reference/src/features/Operation/Operation.test.ts:104
↓ 3 callers
Function
createMockItem
(overrides: Partial<SelectedItem> = {})
projects/scalar-app/src/features/collection/components/Runner/hooks/use-runner-selection.test.ts:5
↓ 3 callers
Function
createMockOperation
(overrides: Partial<OperationObject> = {})
packages/api-client/src/v2/blocks/operation-block/OperationBlock.test.ts:108
↓ 3 callers
Function
createMockWorkspaceStore
()
packages/agent-chat/src/registry/add-documents-to-store.test.ts:28
↓ 3 callers
Function
createOpenAIProvider
(options: OpenAIProviderOptions = {})
packages/release-notes/src/providers/openai.ts:31
↓ 3 callers
Function
createRawStringLiteral
* Create a C# raw string literal with minimal quote count
packages/snippetz/src/plugins/csharp/httpclient/httpclient.ts:228
↓ 3 callers
Function
createReachabilityContext
(document: AsyncApiDocument)
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:94
↓ 3 callers
Function
createTabFromRoute
(to: RouteLocationNormalizedGeneric | null)
projects/scalar-app/src/features/app/app-state.ts:1202
↓ 3 callers
Function
createTrackingContext
()
projects/scalar-app/entrypoints/web/src/tracking.ts:30
↓ 3 callers
Function
createWorkspace
(initial?: Partial<Workspace>)
packages/workspace-store/src/mutators/cookie.test.ts:17
↓ 3 callers
Function
createWorkspaceProps
(overrides: Partial<CollectionProps> = {})
projects/scalar-app/src/features/collection/components/Cookies.test.ts:52
↓ 3 callers
Function
createWorkspaceStore
(documents: Record<string, FakeDocument>, activeDocumentName?: string)
projects/scalar-app/src/features/app/components/DocumentBreadcrumb.test.ts:161
↓ 3 callers
Function
createWrapper
()
packages/components/src/components/ScalarCodeBlock/ScalarCodeBlock.test.ts:28
↓ 3 callers
Function
debounce
(func, timeout = 300)
documentation/assets/landing.js:2
↓ 3 callers
Function
dfs
(value: any, currentDepth: number = 0)
packages/workspace-store/src/helpers/unpack-proxy.ts:24
↓ 3 callers
Function
dispatchExecute
(overrides: Partial<MessageEventInit<unknown>> = {})
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-frame-server.test.ts:204
↓ 3 callers
Function
documentWithOperation
()
packages/api-reference/src/components/Content/AsyncApi/Channel.test.ts:158
↓ 3 callers
Function
encodeBasePath
(sanitized: string)
packages/api-reference/src/helpers/id-routing.ts:33
↓ 3 callers
Function
ensureDir
(dir: string)
packages/postman-to-openapi/scripts/evaluate/run.ts:203
↓ 3 callers
Function
escapeEdnString
(value: string)
packages/snippetz/src/plugins/clojure/clj_http/clj_http.ts:9
↓ 3 callers
Function
escapeForMultipartHeader
(value: string)
packages/snippetz/src/plugins/swift/nsurlsession/nsurlsession.ts:26
↓ 3 callers
Function
escapeJsonForInlineScript
* Escape a JSON string so it is safe to embed inside an inline script tag. * This prevents user content from closing the script tag.
packages/server-side-rendering/src/ssr.ts:229
↓ 3 callers
Function
escapePaths
( paths: Record<string, Record<string, OperationObject>>, )
packages/workspace-store/src/server.ts:112
↓ 3 callers
Function
escapeXml
* Escapes special XML characters to prevent injection attacks.
packages/helpers/src/file/json2xml.ts:15
↓ 3 callers
Function
executeInPostmanSandbox
({ script, type, context: { requestBuilder, response, variablesStore, scriptConsole }, onTestResultsUp
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.ts:309
↓ 3 callers
Function
executeWebSocketHook
( payload: WebSocketHookPayloadMap[K], hookName: K, plugins: ClientPlugin[], )
packages/oas-utils/src/helpers/client-plugins.ts:293
↓ 3 callers
Function
explodedArray
(single: string | undefined, multi: string[] | undefined)
packages/mock-server/src/utils/deserialize-parameter.ts:137
↓ 3 callers
Function
externalValueResolver
()
packages/workspace-store/src/plugins/bundler/index.ts:50
↓ 3 callers
Function
externalizeComponentReferences
( document: OpenApiDocument, meta: { mode: 'ssr'; name: string; baseUrl: string } | { mode: 'static'; name
packages/workspace-store/src/server.ts:129
↓ 3 callers
Function
extractCredentialsLocation
( configSecrets: Record<string, unknown>, authStoreSecrets: { 'x-scalar-credentials-location'?: XScala
packages/workspace-store/src/request-example/context/security/extract-security-scheme-secrets.ts:89
↓ 3 callers
Function
extractCredentialsLocation
( configSecrets: Record<string, unknown>, authStoreSecrets: { 'x-scalar-credentials-location'?: XScala
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.ts:84
↓ 3 callers
Function
extractSchemaDescriptions
(schema: SchemaObject | undefined)
packages/api-reference/src/helpers/openapi.ts:178
↓ 3 callers
Function
fail
(response: http.ServerResponse, message: string, statusCode: number)
projects/scalar-app/entrypoints/electron/main/actions/get-exchange-token.ts:137
↓ 3 callers
Function
filterCommand
(previousQueue: Queue<T>, options?: FilterCallback)
packages/openapi-parser/src/utils/openapi/commands/filterCommand.ts:27
↓ 3 callers
Function
filterDisabledDefaultHeaders
( operation: OperationObject, exampleName: string, headers: Record<string, string>, )
packages/workspace-store/src/request-example/context/headers.ts:87
↓ 3 callers
Function
findByTeamSlugAndSlug
(teamSlug: string, slug: string)
packages/workspace-store/src/persistence/index.ts:132
↓ 3 callers
Function
findOrCreateParameter
( parameters: ReferenceType<ParameterObject>[], name: string, inValue: 'query' | 'header' | 'path' | 'co
packages/workspace-store/src/mutators/operation/helpers/har-to-operation.ts:208
↓ 3 callers
Function
findVariable
* Finds a specific variable in the collection by its key
packages/postman-to-openapi/src/helpers/contact.ts:15
↓ 3 callers
Function
finish
(result: ExchangeTokenResult)
projects/scalar-app/entrypoints/electron/main/actions/get-exchange-token.ts:117
↓ 3 callers
Function
flattenDeepObjectQueryParameter
(parameter: ParameterObject)
packages/api-reference/src/features/Operation/helpers/flatten-deep-object-query-parameter.ts:80
↓ 3 callers
Function
flush
(key: string)
packages/helpers/src/general/debounce.ts:100
↓ 3 callers
Function
focusEditorRange
( diffEditor: monaco.editor.IStandaloneDiffEditor | undefined, range: monaco.Range | undefined, )
projects/scalar-app/src/features/editor/hooks/use-three-way-merge-editor.ts:175
↓ 3 callers
Function
focusLastTab
(workspace: Workspace | null, _payload: TabEvents['tabs:focus:tab-last'])
packages/workspace-store/src/mutators/tabs.ts:214
↓ 3 callers
Function
focusTab
(workspace: Workspace | null, payload: TabEvents['tabs:focus:tab'])
packages/workspace-store/src/mutators/tabs.ts:186
↓ 3 callers
Function
folderHasPartialSelection
(node: PostmanTreeNode, selected: ReadonlySet<string>)
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:227
↓ 3 callers
Function
generateId
({ document, path, method, example, }: { document: string path?: string method?:
projects/scalar-app/src/features/app/app-state.ts:945
↓ 3 callers
Function
generateLocationId
({ document, path, method, example, }: { document: string path?: string method?: HttpMethod ex
packages/api-client/src/v2/helpers/generate-location-id.ts:15
↓ 3 callers
Function
generateMessage
(channel: ResolvedChannel, messageId?: string)
packages/mock-server/src/utils/generate-message.ts:24
↓ 3 callers
Function
generateResponses
(node: Node | undefined, typeChecker: TypeChecker)
packages/ts-to-openapi/src/responses.ts:88
↓ 3 callers
Function
generateSchema
(maybeRef: (inner: Schema) => Schema)
packages/workspace-store/src/schemas/v3.1/openapi/index.ts:60
↓ 3 callers
Function
getActiveEnvironment
( workspace: WorkspaceStore | null, document: WorkspaceDocument | null, )
packages/workspace-store/src/request-example/context/environment.ts:20
↓ 3 callers
Function
getAsyncApiServerVariables
(server: AsyncApiServerObject | null)
packages/workspace-store/src/channel-example/build-connection-url.ts:37
↓ 3 callers
Function
getChannelConnectionContext
( workspaceStore: WorkspaceStore, documentName: string, channelConnectionMeta: ChannelConnectionMeta,
packages/workspace-store/src/channel-example/get-channel-connection-context.ts:31
↓ 3 callers
Function
getChannelParameters
( channel: AsyncApiChannelObject, operation?: AsyncApiOperationObject | null, overrides: Partial<Pick<Ch
packages/workspace-store/src/channel-example/get-channel-parameters.ts:53
↓ 3 callers
Method
getClientKey
Gets the client key. @return the client key
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/DefaultHttpClient.java:65
↓ 3 callers
Function
getCompositionSelectionIndex
( schemaPath: string[], composition: CompositionKeyword, options: GetExampleFromSchemaOptions | undefine
packages/workspace-store/src/request-example/builder/helpers/get-example-from-schema.ts:354
↓ 3 callers
Function
getConflictRange
( editorModel: EditorModel, index: number, path: string[], )
projects/scalar-app/src/features/editor/hooks/use-three-way-merge-editor.ts:424
↓ 3 callers
Function
getCursorPos
()
packages/use-codemirror/src/hooks/useDropdown.ts:14
↓ 3 callers
Function
getDefaultProxyUrl
(layout: Layout)
packages/workspace-store/src/request-example/context/proxy.ts:11
↓ 3 callers
Function
getDefaultScopes
(scheme: DefaultScopeScheme | undefined)
packages/workspace-store/src/request-example/context/security/get-selected-security.ts:17
↓ 3 callers
Method
getDefaultValue
Gets the default value. @return the default value
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarServer.java:148
↓ 3 callers
Method
getDescription
Gets the server description. @return the server description
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarServer.java:77
↓ 3 callers
Method
getDisabled
Gets whether the MCP integration is disabled. @return true if disabled, false if enabled, null if not set
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarMcpOptions.java:77
↓ 3 callers
Function
getDockerServer
(opts: Partial<GetDockerServerOptions> = {})
packages/helpers/src/playwright/docker.ts:28
↓ 3 callers
Method
getDocs
Serves the main API Reference interface. <p> This endpoint returns an HTML page that displays the Scalar API Reference interface. The page is configu
integrations/java/scalar-webmvc/src/main/java/com/scalar/maven/webmvc/ScalarWebMvcController.java:60
↓ 3 callers
Method
getDocs
Serves the main API Reference interface. <p> This endpoint returns an HTML page that displays the Scalar API Reference interface. The page is configu
integrations/java/scalar-webflux/src/main/java/com/scalar/maven/webflux/ScalarWebFluxController.java:63
↓ 3 callers
Method
getDocumentDownloadType
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java:391
↓ 3 callers
Function
getEntryById
(id: string)
packages/sidebar/src/helpers/create-sidebar-state.ts:198
↓ 3 callers
Function
getEntryByLocation
(location)
projects/scalar-app/src/features/app/app-state.ts:1001
↓ 3 callers
Function
getErrors
(node)
packages/openapi-parser/src/utils/betterAjvErrors/utils.ts:18
↓ 3 callers
Function
getExplode
(param: ParameterObject, defaultValue: boolean)
packages/workspace-store/src/request-example/builder/header/build-request-parameters.ts:26
↓ 3 callers
Function
getHeader
(headers: Headers<T>, name: string)
packages/snippetz/src/httpsnippet-lite/helpers/headers.ts:12
↓ 3 callers
Function
getHeadingsFromMarkdown
(input: string)
packages/api-reference/src/helpers/markdown.ts:16
↓ 3 callers
Function
getKey
(requirement: SecurityRequirementObject)
packages/api-reference/src/features/Operation/helpers/filter-selected-security.ts:15
↓ 3 callers
Method
getLayout
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java:335
↓ 3 callers
Function
getOpenApiDocumentEndpoints
( openApiDocumentEndpoints: FastifyApiReferenceOptions['openApiDocumentEndpoints'], )
integrations/fastify/src/fastifyApiReference.ts:41
↓ 3 callers
Function
getOperationProtocols
( document: AsyncApiDocument, operation: AsyncApiOperationObject, context?: AsyncApiReachabilityContext,
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:141
↓ 3 callers
Function
getOperationServerNames
( document: AsyncApiDocument, operation: AsyncApiOperationObject, context?: AsyncApiReachabilityContext,
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:150
↓ 3 callers
Function
getParameterExamples
({ parameter, schemaExamples, contentExamples, }: GetParameterExamplesArgs)
packages/api-reference/src/features/Operation/components/helpers/get-parameter-examples.ts:16
↓ 3 callers
Function
getPostmanItemAtIndexPath
(itemRoot: unknown, path: readonly number[])
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:61
↓ 3 callers
Function
getSandboxOrigins
()
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-origins.ts:13
↓ 3 callers
Function
getScreenshotOptions
(page: Page)
packages/api-reference/test/snapshots/sidebar.e2e.ts:19
↓ 3 callers
Function
getSegmentsFromPath
(path: string)
packages/openapi-parser/src/utils/get-segments-from-path.ts:6
↓ 3 callers
Function
getServerVariables
(server: ServerObject | null)
packages/workspace-store/src/request-example/builder/helpers/get-server-variables.ts:12
↓ 3 callers
Method
getShowDeveloperTools
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java:423
↓ 3 callers
Method
getSlug
Gets the url slug of the OpenAPI specification @return the url slug or null
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarSource.java:103
↓ 3 callers
Method
getSources
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:303
↓ 3 callers
Function
getState
(open: boolean)
packages/api-client/src/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.test.ts:7
↓ 3 callers
Function
getSystemModePreference
Gets the system mode preference.
packages/use-hooks/src/useColorMode/useColorMode.ts:61
↓ 3 callers
Function
getTarget
()
packages/workspace-store/src/mutators/auth.ts:53
↓ 3 callers
Method
getTargetKey
Gets the target key. @return the target key
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/DefaultHttpClient.java:47
← previous
next →
1,301–1,400 of 4,087, ranked by callers