MCPcopy Create free account

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 3 callersFunctioncountOccurrences
(haystack: string, needle: string)
packages/api-reference/src/components/Content/Schema/Schema.test.ts:1327
↓ 3 callersFunctioncountPostmanRequestLeaves
(items: unknown)
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:143
↓ 3 callersFunctioncreateAnthropicProvider
(options: AnthropicProviderOptions = {})
packages/release-notes/src/providers/anthropic.ts:27
↓ 3 callersFunctioncreateAutoGeneratedHeader
()
packages/snippetz/scripts/generate-dotnet-enums.ts:287
↓ 3 callersFunctioncreateDocument
(operation: Record<string, unknown>)
packages/api-reference/src/components/Content/AsyncApi/Operation.test.ts:23
↓ 3 callersFunctioncreateDocumentWithChannel
(channel: Record<string, unknown>)
packages/api-reference/src/components/Content/AsyncApi/Channel.test.ts:33
↓ 3 callersFunctioncreateEntry
( overrides: Partial<AsyncApiServerEntry> & Pick<AsyncApiServerEntry, 'name' | 'url'>, )
packages/api-reference/src/blocks/scalar-asyncapi-server-selector-block/components/AsyncApiServerSelector.test.ts:9
↓ 3 callersFunctioncreateJsonModel
(value?: string)
projects/scalar-app/src/features/editor/helpers/json/create-json-model.ts:17
↓ 3 callersFunctioncreateMockApi
()
packages/agent-chat/src/registry/add-documents-to-store.test.ts:23
↓ 3 callersFunctioncreateMockDocument
()
packages/api-reference/src/features/Operation/Operation.test.ts:104
↓ 3 callersFunctioncreateMockItem
(overrides: Partial<SelectedItem> = {})
projects/scalar-app/src/features/collection/components/Runner/hooks/use-runner-selection.test.ts:5
↓ 3 callersFunctioncreateMockOperation
(overrides: Partial<OperationObject> = {})
packages/api-client/src/v2/blocks/operation-block/OperationBlock.test.ts:108
↓ 3 callersFunctioncreateMockWorkspaceStore
()
packages/agent-chat/src/registry/add-documents-to-store.test.ts:28
↓ 3 callersFunctioncreateOpenAIProvider
(options: OpenAIProviderOptions = {})
packages/release-notes/src/providers/openai.ts:31
↓ 3 callersFunctioncreateRawStringLiteral
* Create a C# raw string literal with minimal quote count
packages/snippetz/src/plugins/csharp/httpclient/httpclient.ts:228
↓ 3 callersFunctioncreateReachabilityContext
(document: AsyncApiDocument)
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:94
↓ 3 callersFunctioncreateTabFromRoute
(to: RouteLocationNormalizedGeneric | null)
projects/scalar-app/src/features/app/app-state.ts:1202
↓ 3 callersFunctioncreateTrackingContext
()
projects/scalar-app/entrypoints/web/src/tracking.ts:30
↓ 3 callersFunctioncreateWorkspace
(initial?: Partial<Workspace>)
packages/workspace-store/src/mutators/cookie.test.ts:17
↓ 3 callersFunctioncreateWorkspaceProps
(overrides: Partial<CollectionProps> = {})
projects/scalar-app/src/features/collection/components/Cookies.test.ts:52
↓ 3 callersFunctioncreateWorkspaceStore
(documents: Record<string, FakeDocument>, activeDocumentName?: string)
projects/scalar-app/src/features/app/components/DocumentBreadcrumb.test.ts:161
↓ 3 callersFunctioncreateWrapper
()
packages/components/src/components/ScalarCodeBlock/ScalarCodeBlock.test.ts:28
↓ 3 callersFunctiondebounce
(func, timeout = 300)
documentation/assets/landing.js:2
↓ 3 callersFunctiondfs
(value: any, currentDepth: number = 0)
packages/workspace-store/src/helpers/unpack-proxy.ts:24
↓ 3 callersFunctiondispatchExecute
(overrides: Partial<MessageEventInit<unknown>> = {})
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-frame-server.test.ts:204
↓ 3 callersFunctiondocumentWithOperation
()
packages/api-reference/src/components/Content/AsyncApi/Channel.test.ts:158
↓ 3 callersFunctionencodeBasePath
(sanitized: string)
packages/api-reference/src/helpers/id-routing.ts:33
↓ 3 callersFunctionensureDir
(dir: string)
packages/postman-to-openapi/scripts/evaluate/run.ts:203
↓ 3 callersFunctionescapeEdnString
(value: string)
packages/snippetz/src/plugins/clojure/clj_http/clj_http.ts:9
↓ 3 callersFunctionescapeForMultipartHeader
(value: string)
packages/snippetz/src/plugins/swift/nsurlsession/nsurlsession.ts:26
↓ 3 callersFunctionescapeJsonForInlineScript
* 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 callersFunctionescapePaths
( paths: Record<string, Record<string, OperationObject>>, )
packages/workspace-store/src/server.ts:112
↓ 3 callersFunctionescapeXml
* Escapes special XML characters to prevent injection attacks.
packages/helpers/src/file/json2xml.ts:15
↓ 3 callersFunctionexecuteInPostmanSandbox
({ script, type, context: { requestBuilder, response, variablesStore, scriptConsole }, onTestResultsUp
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.ts:309
↓ 3 callersFunctionexecuteWebSocketHook
( payload: WebSocketHookPayloadMap[K], hookName: K, plugins: ClientPlugin[], )
packages/oas-utils/src/helpers/client-plugins.ts:293
↓ 3 callersFunctionexplodedArray
(single: string | undefined, multi: string[] | undefined)
packages/mock-server/src/utils/deserialize-parameter.ts:137
↓ 3 callersFunctionexternalValueResolver
()
packages/workspace-store/src/plugins/bundler/index.ts:50
↓ 3 callersFunctionexternalizeComponentReferences
( document: OpenApiDocument, meta: { mode: 'ssr'; name: string; baseUrl: string } | { mode: 'static'; name
packages/workspace-store/src/server.ts:129
↓ 3 callersFunctionextractCredentialsLocation
( 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 callersFunctionextractCredentialsLocation
( 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 callersFunctionextractSchemaDescriptions
(schema: SchemaObject | undefined)
packages/api-reference/src/helpers/openapi.ts:178
↓ 3 callersFunctionfail
(response: http.ServerResponse, message: string, statusCode: number)
projects/scalar-app/entrypoints/electron/main/actions/get-exchange-token.ts:137
↓ 3 callersFunctionfilterCommand
(previousQueue: Queue<T>, options?: FilterCallback)
packages/openapi-parser/src/utils/openapi/commands/filterCommand.ts:27
↓ 3 callersFunctionfilterDisabledDefaultHeaders
( operation: OperationObject, exampleName: string, headers: Record<string, string>, )
packages/workspace-store/src/request-example/context/headers.ts:87
↓ 3 callersFunctionfindByTeamSlugAndSlug
(teamSlug: string, slug: string)
packages/workspace-store/src/persistence/index.ts:132
↓ 3 callersFunctionfindOrCreateParameter
( parameters: ReferenceType<ParameterObject>[], name: string, inValue: 'query' | 'header' | 'path' | 'co
packages/workspace-store/src/mutators/operation/helpers/har-to-operation.ts:208
↓ 3 callersFunctionfindVariable
* Finds a specific variable in the collection by its key
packages/postman-to-openapi/src/helpers/contact.ts:15
↓ 3 callersFunctionfinish
(result: ExchangeTokenResult)
projects/scalar-app/entrypoints/electron/main/actions/get-exchange-token.ts:117
↓ 3 callersFunctionflattenDeepObjectQueryParameter
(parameter: ParameterObject)
packages/api-reference/src/features/Operation/helpers/flatten-deep-object-query-parameter.ts:80
↓ 3 callersFunctionflush
(key: string)
packages/helpers/src/general/debounce.ts:100
↓ 3 callersFunctionfocusEditorRange
( diffEditor: monaco.editor.IStandaloneDiffEditor | undefined, range: monaco.Range | undefined, )
projects/scalar-app/src/features/editor/hooks/use-three-way-merge-editor.ts:175
↓ 3 callersFunctionfocusLastTab
(workspace: Workspace | null, _payload: TabEvents['tabs:focus:tab-last'])
packages/workspace-store/src/mutators/tabs.ts:214
↓ 3 callersFunctionfocusTab
(workspace: Workspace | null, payload: TabEvents['tabs:focus:tab'])
packages/workspace-store/src/mutators/tabs.ts:186
↓ 3 callersFunctionfolderHasPartialSelection
(node: PostmanTreeNode, selected: ReadonlySet<string>)
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:227
↓ 3 callersFunctiongenerateId
({ document, path, method, example, }: { document: string path?: string method?:
projects/scalar-app/src/features/app/app-state.ts:945
↓ 3 callersFunctiongenerateLocationId
({ document, path, method, example, }: { document: string path?: string method?: HttpMethod ex
packages/api-client/src/v2/helpers/generate-location-id.ts:15
↓ 3 callersFunctiongenerateMessage
(channel: ResolvedChannel, messageId?: string)
packages/mock-server/src/utils/generate-message.ts:24
↓ 3 callersFunctiongenerateResponses
(node: Node | undefined, typeChecker: TypeChecker)
packages/ts-to-openapi/src/responses.ts:88
↓ 3 callersFunctiongenerateSchema
(maybeRef: (inner: Schema) => Schema)
packages/workspace-store/src/schemas/v3.1/openapi/index.ts:60
↓ 3 callersFunctiongetActiveEnvironment
( workspace: WorkspaceStore | null, document: WorkspaceDocument | null, )
packages/workspace-store/src/request-example/context/environment.ts:20
↓ 3 callersFunctiongetAsyncApiServerVariables
(server: AsyncApiServerObject | null)
packages/workspace-store/src/channel-example/build-connection-url.ts:37
↓ 3 callersFunctiongetChannelConnectionContext
( workspaceStore: WorkspaceStore, documentName: string, channelConnectionMeta: ChannelConnectionMeta,
packages/workspace-store/src/channel-example/get-channel-connection-context.ts:31
↓ 3 callersFunctiongetChannelParameters
( channel: AsyncApiChannelObject, operation?: AsyncApiOperationObject | null, overrides: Partial<Pick<Ch
packages/workspace-store/src/channel-example/get-channel-parameters.ts:53
↓ 3 callersMethodgetClientKey
Gets the client key. @return the client key
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/DefaultHttpClient.java:65
↓ 3 callersFunctiongetCompositionSelectionIndex
( schemaPath: string[], composition: CompositionKeyword, options: GetExampleFromSchemaOptions | undefine
packages/workspace-store/src/request-example/builder/helpers/get-example-from-schema.ts:354
↓ 3 callersFunctiongetConflictRange
( editorModel: EditorModel, index: number, path: string[], )
projects/scalar-app/src/features/editor/hooks/use-three-way-merge-editor.ts:424
↓ 3 callersFunctiongetCursorPos
()
packages/use-codemirror/src/hooks/useDropdown.ts:14
↓ 3 callersFunctiongetDefaultProxyUrl
(layout: Layout)
packages/workspace-store/src/request-example/context/proxy.ts:11
↓ 3 callersFunctiongetDefaultScopes
(scheme: DefaultScopeScheme | undefined)
packages/workspace-store/src/request-example/context/security/get-selected-security.ts:17
↓ 3 callersMethodgetDefaultValue
Gets the default value. @return the default value
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarServer.java:148
↓ 3 callersMethodgetDescription
Gets the server description. @return the server description
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarServer.java:77
↓ 3 callersMethodgetDisabled
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 callersFunctiongetDockerServer
(opts: Partial<GetDockerServerOptions> = {})
packages/helpers/src/playwright/docker.ts:28
↓ 3 callersMethodgetDocs
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 callersMethodgetDocs
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 callersMethodgetDocumentDownloadType
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java:391
↓ 3 callersFunctiongetEntryById
(id: string)
packages/sidebar/src/helpers/create-sidebar-state.ts:198
↓ 3 callersFunctiongetEntryByLocation
(location)
projects/scalar-app/src/features/app/app-state.ts:1001
↓ 3 callersFunctiongetErrors
(node)
packages/openapi-parser/src/utils/betterAjvErrors/utils.ts:18
↓ 3 callersFunctiongetExplode
(param: ParameterObject, defaultValue: boolean)
packages/workspace-store/src/request-example/builder/header/build-request-parameters.ts:26
↓ 3 callersFunctiongetHeader
(headers: Headers<T>, name: string)
packages/snippetz/src/httpsnippet-lite/helpers/headers.ts:12
↓ 3 callersFunctiongetHeadingsFromMarkdown
(input: string)
packages/api-reference/src/helpers/markdown.ts:16
↓ 3 callersFunctiongetKey
(requirement: SecurityRequirementObject)
packages/api-reference/src/features/Operation/helpers/filter-selected-security.ts:15
↓ 3 callersMethodgetLayout
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java:335
↓ 3 callersFunctiongetOpenApiDocumentEndpoints
( openApiDocumentEndpoints: FastifyApiReferenceOptions['openApiDocumentEndpoints'], )
integrations/fastify/src/fastifyApiReference.ts:41
↓ 3 callersFunctiongetOperationProtocols
( document: AsyncApiDocument, operation: AsyncApiOperationObject, context?: AsyncApiReachabilityContext,
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:141
↓ 3 callersFunctiongetOperationServerNames
( document: AsyncApiDocument, operation: AsyncApiOperationObject, context?: AsyncApiReachabilityContext,
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:150
↓ 3 callersFunctiongetParameterExamples
({ parameter, schemaExamples, contentExamples, }: GetParameterExamplesArgs)
packages/api-reference/src/features/Operation/components/helpers/get-parameter-examples.ts:16
↓ 3 callersFunctiongetPostmanItemAtIndexPath
(itemRoot: unknown, path: readonly number[])
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:61
↓ 3 callersFunctiongetSandboxOrigins
()
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-origins.ts:13
↓ 3 callersFunctiongetScreenshotOptions
(page: Page)
packages/api-reference/test/snapshots/sidebar.e2e.ts:19
↓ 3 callersFunctiongetSegmentsFromPath
(path: string)
packages/openapi-parser/src/utils/get-segments-from-path.ts:6
↓ 3 callersFunctiongetServerVariables
(server: ServerObject | null)
packages/workspace-store/src/request-example/builder/helpers/get-server-variables.ts:12
↓ 3 callersMethodgetShowDeveloperTools
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/ScalarConfiguration.java:423
↓ 3 callersMethodgetSlug
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 callersMethodgetSources
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:303
↓ 3 callersFunctiongetState
(open: boolean)
packages/api-client/src/v2/blocks/scalar-auth-selector-block/components/DeleteRequestAuthModal.test.ts:7
↓ 3 callersFunctiongetSystemModePreference
Gets the system mode preference.
packages/use-hooks/src/useColorMode/useColorMode.ts:61
↓ 3 callersFunctiongetTarget
()
packages/workspace-store/src/mutators/auth.ts:53
↓ 3 callersMethodgetTargetKey
Gets the target key. @return the target key
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/DefaultHttpClient.java:47
← previousnext →1,301–1,400 of 4,087, ranked by callers