MCPcopy Create free account

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 4 callersFunctioncorsMiddleware
Handle preflight requests and ensures browsers can access the proxy regardless of where the request originates from. This is essential to make cross-o
projects/proxy-scalar-com/main.go:478
↓ 4 callersFunctioncreateAsyncApiDocument
* Helper to create a minimal AsyncApiDocument for testing.
packages/workspace-store/src/mutators/server.test.ts:1257
↓ 4 callersFunctioncreateAsyncApiMockServer
(options: AsyncApiMockServerOptions)
packages/mock-server/src/create-asyncapi-mock-server.ts:58
↓ 4 callersFunctioncreateCollectionVariableLookup
( variables: ReadonlyArray<{ key?: string; value?: string | number | boolean; disabled?: boolean }> | undefi
packages/postman-to-openapi/src/helpers/urls.ts:86
↓ 4 callersFunctioncreateDocument
(title: string)
packages/api-reference/src/components/ApiReference.test.ts:307
↓ 4 callersFunctioncreateDocument
(channelDescription?: string)
packages/api-reference/src/components/Content/AsyncApi/Channel.test.ts:19
↓ 4 callersFunctioncreateDocument
(servers: Record<string, unknown>)
packages/api-reference/src/components/Content/AsyncApi/helpers/get-async-api-labels.test.ts:6
↓ 4 callersFunctioncreateEmptyDocument
( store: WorkspaceStore | null, payload: DocumentEvents['document:create:empty-document'], )
packages/workspace-store/src/mutators/document.ts:93
↓ 4 callersFunctioncreateEntry
( overrides: Partial<AsyncApiServerEntry> & Pick<AsyncApiServerEntry, 'name' | 'url'>, )
packages/api-reference/src/blocks/scalar-asyncapi-server-selector-block/components/Selector.test.ts:9
↓ 4 callersFunctioncreateMockIpcResponse
({ status = 200, statusText = 'OK', headers = [], body = new ArrayBuffer(0), url = 'https://example.
projects/scalar-app/entrypoints/electron/helpers/custom-fetch/create-custom-fetch.test.ts:19
↓ 4 callersFunctioncreateMockTagGroup
(overrides: Partial<TraversedTag> = {})
packages/api-reference/src/components/Content/Operations/TraversedEntry.test.ts:169
↓ 4 callersFunctioncreateOperation
(overrides: Partial<TraversedAsyncApiOperation> = {})
packages/api-reference/src/components/Content/AsyncApi/Operation.test.ts:10
↓ 4 callersFunctioncreateProps
(overrides: Partial<Props> = {})
packages/api-client/src/v2/blocks/request-block/components/RequestCodeSnippet.test.ts:20
↓ 4 callersFunctioncreateReleaseNotesGeneratorCommand
(baseConfig: ReleaseNotesConfig = {})
packages/release-notes/src/commands/generate.ts:70
↓ 4 callersFunctioncreateStreamResponse
(c: Context)
packages/void-server/src/utils/create-stream-response.ts:4
↓ 4 callersFunctioncurrentModel
()
projects/scalar-app/src/features/editor/hooks/use-editor.ts:39
↓ 4 callersFunctiondeepMerge
(source: Record<any, any>, target: Record<any, any>)
packages/api-reference/src/helpers/openapi.ts:195
↓ 4 callersFunctiondeleteAllOperationParameters
( document: WorkspaceDocument | null, { meta, type }: OperationEvents['operation:delete-all:parameters'],
packages/workspace-store/src/mutators/operation/parameters.ts:240
↓ 4 callersFunctiondeleteHeader
(headers: Record<string, unknown>, name: string)
packages/snippetz/src/plugins/clojure/clj_http/clj_http.ts:94
↓ 4 callersFunctiondeleteOperationParameter
( document: WorkspaceDocument | null, { meta, originalParameter }: OperationEvents['operation:delete:param
packages/workspace-store/src/mutators/operation/parameters.ts:189
↓ 4 callersFunctiondereference
( input: UnknownObject, options?: Opts, )
packages/json-magic/src/dereference/dereference.ts:54
↓ 4 callersFunctiondereferenceCommand
(previousQueue: Queue<T>, options?: DereferenceOptions)
packages/openapi-parser/src/utils/openapi/commands/dereferenceCommand.ts:25
↓ 4 callersFunctiondetectDocumentFormat
(content: string)
packages/mock-server/docker/src/document-loader.ts:123
↓ 4 callersFunctiondisableConsoleError
()
packages/helpers/src/testing/console-spies.ts:27
↓ 4 callersFunctiondisableConsoleWarn
()
packages/helpers/src/testing/console-spies.ts:21
↓ 4 callersFunctiondispatchBeforeSwap
(newDocument?: Document)
integrations/astro/src/client.test.ts:89
↓ 4 callersFunctiondispose
()
projects/scalar-app/src/features/editor/hooks/use-editor.ts:179
↓ 4 callersFunctiondyn
(value: Record<string, unknown>)
packages/workspace-store/src/request-example/builder/helpers/get-example-from-schema.test.ts:2021
↓ 4 callersFunctionencodeFormComponent
(value: string)
packages/snippetz/src/plugins/ruby/native/native.ts:9
↓ 4 callersFunctionescapeJsonPointer
(str: string)
packages/json-magic/src/helpers/escape-json-pointer.ts:6
↓ 4 callersFunctionescapeRubyDoubleQuoted
(value: string)
packages/snippetz/src/plugins/ruby/native/native.ts:5
↓ 4 callersFunctionescapeString
(rawValue: string, options: EscapeOptions = {})
packages/snippetz/src/httpsnippet-lite/helpers/escape.ts:31
↓ 4 callersFunctionexampleDocument
()
integrations/fastify/src/fastifyApiReference.test.ts:26
↓ 4 callersFunctionexecuteAndCleanup
(key: string)
packages/helpers/src/general/debounce.ts:45
↓ 4 callersFunctionexecuteScript
({ script, responseBody = { success: true }, status = 200, headers = { 'content-type': 'application/js
packages/pre-post-request-scripts/src/libs/execute-scripts/execute-post-response-script.test.ts:26
↓ 4 callersFunctionexposeInRenderer
(key: K, value: Window[K])
projects/scalar-app/entrypoints/electron/preload/index.ts:7
↓ 4 callersFunctionextractBodyDescriptions
(operation: OperationObject)
packages/api-reference/src/helpers/openapi.ts:147
↓ 4 callersFunctionextractParameterDescriptions
(parameters: ReferenceType<ParameterObject>[])
packages/api-reference/src/helpers/openapi.ts:117
↓ 4 callersFunctionextractRefreshTokenSecret
( authStoreSecrets: { 'x-scalar-secret-refresh-token'?: string } = {}, )
packages/workspace-store/src/request-example/context/security/extract-security-scheme-secrets.ts:77
↓ 4 callersFunctionextractRefreshTokenSecret
( authStoreSecrets: { 'x-scalar-secret-refresh-token'?: string } = {}, )
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.ts:72
↓ 4 callersFunctionextractSchemaFieldNames
(schema: SchemaObject | undefined)
packages/api-reference/src/helpers/openapi.ts:165
↓ 4 callersFunctionfilterSecuritySchemes
(_schemes: SecurityRequirementObject[])
packages/workspace-store/src/mutators/auth.ts:632
↓ 4 callersFunctionfindById
(id: string)
packages/blocks/src/code-example/helpers/find-client.ts:51
↓ 4 callersFunctionfindDataAttributes
(doc: Document, configuration: ApiReferenceConfigurationWithSource)
packages/api-reference/src/standalone/lib/html-api.ts:195
↓ 4 callersFunctionflushDebouncedEmits
(bus: ReturnType<typeof createWorkspaceEventBus>)
packages/workspace-store/src/events/bus.test.ts:26
↓ 4 callersFunctionformatDirectoryPackageFiles
(folder: PackageType, root: string)
tooling/scripts/src/commands/packages/format.ts:192
↓ 4 callersFunctionformatReleaseLine
(changeset: NewChangesetWithCommit, githubInfo: GitHubInfo | null)
tooling/changelog-generator/src/formatter.ts:82
↓ 4 callersFunctiongenerateReleaseNote
(options: GenerateReleaseNoteOptions)
packages/release-notes/src/core/generate-release-note.ts:207
↓ 4 callersFunctiongenerateWorkspaceUid
()
packages/workspace-store/src/persistence/index.ts:45
↓ 4 callersFunctiongetActiveDocumentName
* Returns the name of the currently active document in the workspace. * The active document is determined by the 'x-scalar-active-document' metadat
packages/workspace-store/src/client.ts:912
↓ 4 callersFunctiongetActiveIndex
(workspace: Workspace)
packages/workspace-store/src/mutators/tabs.ts:35
↓ 4 callersFunctiongetChannelOperations
(document: AsyncApiDocument, channelName: string)
packages/workspace-store/src/channel-example/get-channel-operations.ts:17
↓ 4 callersFunctiongetChannelServerLabels
( document: AsyncApiDocument, channel: AsyncApiChannelObject | null | undefined, )
packages/api-reference/src/components/Content/AsyncApi/helpers/get-async-api-labels.ts:11
↓ 4 callersFunctiongetContentOfScriptTag
(html: string)
packages/import/src/resolve.ts:219
↓ 4 callersMethodgetCustomCss
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:383
↓ 4 callersFunctiongetDefaultProps
()
packages/api-client/src/v2/features/operation/Operation.test.ts:46
↓ 4 callersMethodgetDisabled
Gets whether the agent 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/ScalarAgentOptions.java:56
↓ 4 callersFunctiongetDocument
(ctx: ResolverContext)
packages/api-client/src/v2/features/modal/helpers/resolve-route-parameters.ts:34
↓ 4 callersFunctiongetDocumentName
( { name, url, document }: Partial<UrlDoc> & Partial<ObjectDoc> = {}, documents?: Record<string, OpenApiDo
packages/api-reference/src/helpers/get-document-name.ts:14
↓ 4 callersFunctiongetDomainFromUrl
(url: string)
packages/postman-to-openapi/src/helpers/urls.ts:25
↓ 4 callersFunctiongetDownloadButton
(page: Page, format: 'json' | 'yaml')
packages/api-reference/test/configuration/hide-download-button.e2e.ts:10
↓ 4 callersFunctiongetEnvironmentVariables
(environment: XScalarEnvironment)
packages/workspace-store/src/request-example/builder/helpers/get-environment-variables.ts:9
↓ 4 callersFunctiongetHeaderName
(headers: Headers<T>, name: string)
packages/snippetz/src/httpsnippet-lite/helpers/headers.ts:6
↓ 4 callersFunctiongetIdFromHashBasePath
(location: string | URL, basePath: string, slugPrefix: string | undefined)
packages/api-reference/src/helpers/id-routing.ts:68
↓ 4 callersMethodgetKey
Gets the Agent Scalar key. @return the key or null
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarAgentOptions.java:38
↓ 4 callersFunctiongetListOfReferences
(specification: AnyObject)
packages/openapi-parser/src/utils/get-list-of-references.ts:9
↓ 4 callersFunctiongetMutator
(uid: T['uid'])
packages/object-utils/src/mutator-record/handlers.ts:20
↓ 4 callersFunctiongetOAuthCallbackParam
(callbackUrl: string, paramName: string)
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/oauth-callback.ts:61
↓ 4 callersFunctiongetOperationStabilityColor
(operation: OperationStability)
packages/api-reference/src/features/Operation/helpers/operation-stability.ts:23
↓ 4 callersFunctiongetParameterSchema
(parameter: ParameterObject)
packages/api-client/src/v2/blocks/request-block/helpers/get-parameter-schema.ts:9
↓ 4 callersFunctiongetPlaceholderWorkspaceId
(teamSlug: string, slug: string)
projects/scalar-app/src/features/app/helpers/placeholder-workspace-id.ts:18
↓ 4 callersFunctiongetSchemaCacheTarget
(schema: SchemaObject)
packages/workspace-store/src/request-example/builder/helpers/get-example-from-schema.ts:104
↓ 4 callersFunctiongetSelectedAsyncApiServer
( document: WorkspaceDocument | null, servers: AsyncApiServerEntry[], _operation?: AsyncApiOperationObje
packages/workspace-store/src/channel-example/servers.ts:132
↓ 4 callersFunctiongetServerUrl
( activeServer: ServerObject | null, environmentVariables: Record<string, string> = {}, )
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/oauth.ts:76
↓ 4 callersFunctiongetSignature
(bytes: Uint8Array, offset: number)
packages/void-server/src/create-void-server.test.ts:5
↓ 4 callersFunctiongetState
()
integrations/astro/src/client.ts:58
↓ 4 callersMethodgetUrl
Gets the server URL. @return the server URL
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarServer.java:59
↓ 4 callersMethodgetVariables
Gets the server variables. @return the server variables
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarServer.java:95
↓ 4 callersFunctiongetYamlNodeRangeFromPath
(yamlText: string, path: Path)
projects/scalar-app/src/features/editor/helpers/yaml/get-yaml-node-range-from-path.ts:32
↓ 4 callersFunctionhasChildren
(currentItem: Item)
packages/sidebar/src/helpers/has-children.ts:7
↓ 4 callersFunctioninvalidateSandboxFrame
({ element, id }: SandboxFrame)
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.ts:105
↓ 4 callersFunctionisClassic
(config: Source)
packages/api-reference/test/utils/is-classic.ts:4
↓ 4 callersMethodisEnabled
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:319
↓ 4 callersFunctionisEntryType
( entry: Entry, type: Type, )
projects/scalar-app/src/helpers/drag-handle-factory.ts:80
↓ 4 callersFunctionisFilesystem
(value: any)
packages/openapi-parser/src/utils/is-filesystem.ts:6
↓ 4 callersFunctionisHashBasePath
(basePath: string)
packages/api-reference/src/helpers/id-routing.ts:5
↓ 4 callersMethodisHideDarkModeToggle
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:375
↓ 4 callersMethodisHideSearch
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:391
↓ 4 callersMethodisHideTestRequestButton
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:359
↓ 4 callersFunctionisItemGroup
(item: Item | ItemGroup)
packages/postman-to-openapi/src/convert.ts:86
↓ 4 callersFunctionisObjectLike
(value: unknown)
packages/helpers/src/object/is-object.ts:43
↓ 4 callersFunctionisOperationDeprecated
(operation: OperationStability)
packages/api-reference/src/features/Operation/helpers/operation-stability.ts:11
↓ 4 callersFunctionisRouteParamsMatch
({ documentName, path, method, exampleName, }: { documentName: string path?: string
projects/scalar-app/src/features/app/app-events.ts:44
↓ 4 callersFunctionisStringSchema
(schema: SchemaObject)
packages/workspace-store/src/schemas/v3.1/strict/type-guards.ts:14
↓ 4 callersFunctionisTeamWorkspace
()
projects/scalar-app/src/features/app/hooks/use-sidebar-documents/index.ts:131
↓ 4 callersFunctionisText
(element?: ElementContent)
packages/code-highlight/src/code/line-numbers.ts:7
↓ 4 callersFunctionisVersionLessThanOrEqual
(a: string, b: string)
packages/helpers/src/general/compare-versions.ts:98
↓ 4 callersFunctionitemsShareParent
( draggingItem: TraversedEntry & { parent?: TraversedEntry }, hoveredItem: TraversedEntry & { parent?: Tra
projects/scalar-app/src/helpers/drag-handle-factory.ts:123
↓ 4 callersFunctionloadAuthFromStorage
(store: WorkspaceStore, slug: string)
packages/api-reference/src/helpers/load-from-perssistance.ts:23
↓ 4 callersFunctionlog
(message: string)
tooling/scripts/src/commands/wait.ts:13
← previousnext →1,101–1,200 of 4,087, ranked by callers