MCPcopy Create free account

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 2 callersFunctionmatchesComposedSchema
( schema: Record<string, unknown>, predicate: (schema: Record<string, unknown>) => boolean, )
packages/mock-server/src/utils/deserialize-parameter.ts:42
↓ 2 callersFunctionmatchesOption
(option: CustomOrDefaultClientOption, query: string)
packages/blocks/src/code-example/helpers/filter-clients-by-query.ts:8
↓ 2 callersFunctionmatrixSegments
(value: string)
packages/mock-server/src/utils/deserialize-parameter.ts:156
↓ 2 callersFunctionmenuWithLink
(attrs: Record<string, unknown> = {}, slotText = 'My Link')
packages/components/src/components/ScalarMenu/ScalarMenuLink.test.ts:8
↓ 2 callersFunctionmergeExamples
(baseValue: unknown, newValue: unknown)
packages/workspace-store/src/request-example/builder/helpers/get-example-from-schema.ts:213
↓ 2 callersFunctionmergeItemsInner
( existing: SchemaObject, incoming: SchemaObject, seenRefs: Set<string> = new Set(), )
packages/api-reference/src/components/Content/Schema/helpers/merge-all-of-schemas.ts:362
↓ 2 callersFunctionmergePaths
(inputs: PathsObject[])
packages/openapi-parser/src/utils/join/join.ts:64
↓ 2 callersFunctionmigrateBodyParameter
( bodyParameter: OpenAPIV2.ParameterObject, consumes: string[], )
packages/openapi-upgrader/src/2.0-to-3.0/upgrade-from-two-to-three.ts:837
↓ 2 callersFunctionmigrateFormDataParameter
( parameters: OpenAPIV2.ParameterObject[], consumes: string[] | undefined = ['multipart/form-data'], )
packages/openapi-upgrader/src/2.0-to-3.0/upgrade-from-two-to-three.ts:915
↓ 2 callersFunctionmigrateParameters
(parameters: OpenAPIV2.ParameterObject[], consumes: string[])
packages/openapi-upgrader/src/2.0-to-3.0/upgrade-from-two-to-three.ts:962
↓ 2 callersFunctionmockLazyTimers
(page: Page)
packages/api-reference/test/features/parameter-linking.e2e.ts:10
↓ 2 callersFunctionmockRejection
(error: unknown)
projects/scalar-app/src/helpers/fetch-registry-document.test.ts:43
↓ 2 callersFunctionmountCodeMirror
()
packages/use-codemirror/src/hooks/useCodeMirror.ts:176
↓ 2 callersFunctionnonceAttribute
(nonce?: string)
packages/client-side-rendering/src/html-rendering.ts:27
↓ 2 callersFunctionnormalizeArray
(parts: Array<string>, allowAboveRoot: boolean)
packages/helpers/src/node/path.ts:32
↓ 2 callersFunctionnormalizeLeafTagSegment
(segment: string)
packages/postman-to-openapi/src/convert.ts:110
↓ 2 callersFunctionnormalizeProtocol
(protocol: string | undefined)
packages/workspace-store/src/channel-example/build-connection-url.ts:75
↓ 2 callersFunctionnormalizeRequest
(request: Partial<HarRequest>)
packages/snippetz/src/libs/http.ts:21
↓ 2 callersFunctionobjectFromArray
(data: T[], keyGenerator: (val: T) => string)
packages/object-utils/src/transforms/object-from-array.ts:15
↓ 2 callersFunctionobjectToFormParams
( obj: object | { name: string; value: unknown; isDisabled: boolean }[], encoding?: MultipartEncodingMap,
packages/blocks/src/code-example/helpers/operation-to-har/process-body.ts:46
↓ 2 callersFunctionoff
(event: E, listener: EventListener<E>)
packages/workspace-store/src/events/bus.ts:308
↓ 2 callersMethodonEnd
(result: FullResult)
packages/api-reference/test/utils/ci-reporter.ts:9
↓ 2 callersFunctionopen
()
packages/api-client/src/hooks/use-file-dialog.ts:35
↓ 2 callersFunctionopenAppLink
(appLink?: string)
projects/scalar-app/entrypoints/electron/main/actions/open-app-link.ts:8
↓ 2 callersFunctionoperationKey
Reuses 2.x `operationId` when present; otherwise generates `${action}-${channelId}`.
packages/asyncapi-upgrader/src/2.6-to-3.0/upgrade-from-two-to-three.ts:268
↓ 2 callersFunctionparseDarkMode
(config: Record<string, unknown>)
packages/server-side-rendering/src/ssr.ts:33
↓ 2 callersFunctionparseDocument
Parse the raw document just enough to tell whether it is an AsyncAPI definition.
packages/mock-server/docker/src/server.ts:13
↓ 2 callersFunctionparseEssence
(value: string)
packages/helpers/src/http/mime-type.ts:40
↓ 2 callersFunctionparseForceDarkModeState
(config: Record<string, unknown>)
packages/server-side-rendering/src/ssr.ts:23
↓ 2 callersFunctionparsePlaceholderWorkspaceId
(id: string)
projects/scalar-app/src/features/app/helpers/placeholder-workspace-id.ts:26
↓ 2 callersFunctionparseQueryParameters
Get the ?query=parameters from a curl command
projects/scalar-app/src/features/command-palette/helpers/parse-curl.ts:111
↓ 2 callersFunctionparseReleaseNoteEntries
(parsed: readonly unknown[], pathForLogs: string)
packages/release-notes/src/writers/write-release-notes-json.ts:8
↓ 2 callersFunctionparseRules
* Parses a given css string for the variables we want
packages/components/src/components/ScalarThemeSwatches/useThemeSwatches.ts:49
↓ 2 callersFunctionparseUrl
Get the URL from a curl command
projects/scalar-app/src/features/command-palette/helpers/parse-curl.ts:75
↓ 2 callersFunctionparsed
(input: string)
packages/helpers/src/general/compare-versions.ts:18
↓ 2 callersFunctionpathKeysToRequestIndexPaths
(keys: readonly string[])
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:39
↓ 2 callersFunctionperformEmit
( event: E, payload: ApiReferenceEvents[E] | undefined, options?: { skipUnpackProxy?: boolean },
packages/workspace-store/src/events/bus.ts:339
↓ 2 callersFunctionpickWords
(pool: readonly string[], min: number, max: number)
packages/workspace-store/src/request-example/functions.ts:134
↓ 2 callersFunctionpost
(message: SandboxOutboundMessage)
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-frame-server.ts:219
↓ 2 callersFunctionprefixInternalRefRecursive
(input: unknown, prefix: string[])
packages/json-magic/src/bundle/bundle.ts:108
↓ 2 callersFunctionprettifyJsoncString
(content: string)
packages/api-client/src/v2/blocks/response-block/helpers/prettify-jsonc-string.ts:13
↓ 2 callersFunctionprocessArrayType
(value: Extract<SchemaObject, { type: 'array' }>, isUnionType: boolean = false)
packages/api-reference/src/components/Content/Schema/helpers/get-schema-type.ts:20
↓ 2 callersFunctionprocessExport
(exportValue: any)
tooling/scripts/vite-lib-config.ts:129
↓ 2 callersFunctionqueryInput
()
projects/scalar-app/src/features/app/components/CreateVersionModal.test.ts:15
↓ 2 callersFunctionreadAsArray
(descriptor: ParameterDescriptor)
packages/mock-server/src/utils/validate-request.ts:337
↓ 2 callersFunctionreadAsObject
(descriptor: ParameterDescriptor)
packages/mock-server/src/utils/validate-request.ts:326
↓ 2 callersFunctionreadBlobBody
(blob: Blob)
packages/api-reference/src/helpers/download.test.ts:9
↓ 2 callersFunctionreadDirSafe
(dirPath: string)
tooling/scripts/check-dist-dts-aliases.ts:10
↓ 2 callersFunctionreadFile
(path: string)
packages/json-magic/src/bundle/plugins/read-files/index.ts:19
↓ 2 callersFunctionreadFiles
()
projects/scalar-app/src/loaders/read-files/index.ts:12
↓ 2 callersFunctionreadLastSeen
()
projects/scalar-app/src/features/whats-new/hooks/use-whats-new.ts:36
↓ 2 callersFunctionreadLegacyChunkRecords
( transaction: IDBTransaction, tableName: string, )
packages/workspace-store/src/persistence/migrations/v2-team-to-local.ts:206
↓ 2 callersFunctionreadPackageJsonNextToChangelog
(changelogPath: string)
packages/release-notes/src/core/run-release-notes-generator.ts:40
↓ 2 callersFunctionreadReleaseNotesConfig
( overrides: CliConfigOverrides = {}, baseConfig: ReleaseNotesConfig = {}, cwd = process.env.INIT_CWD ??
packages/release-notes/src/config/read-config.ts:94
↓ 2 callersFunctionreadSSEEvent
(reader *bufio.Reader)
projects/proxy-scalar-com/main_test.go:668
↓ 2 callersFunctionreconcileTeamSlug
(teamUid: string, teamSlug: string)
projects/scalar-app/src/features/app/app-state.ts:433
↓ 2 callersFunctionrefreshConflictRangesAndDecorations
()
projects/scalar-app/src/features/editor/hooks/use-three-way-merge-editor.ts:448
↓ 2 callersFunctionremoveEmptySchemaOnlyContentEntries
* Removes content entries that only have an empty schema (no example/examples) * when other entries with actual examples exist. This prevents the UI
packages/openapi-upgrader/src/2.0-to-3.0/upgrade-from-two-to-three.ts:96
↓ 2 callersFunctionremoveStickerFilterEffects
()
documentation/assets/company.js:150
↓ 2 callersFunctionrenameParameters
( parameters: OpenAPIV3_1.ParameterObject[] | OpenAPIV3_1.ReferenceObject[] | undefined, renameMap: Map<st
packages/postman-to-openapi/src/convert.ts:582
↓ 2 callersFunctionrenameSectionSegment
(from: string)
packages/api-reference/src/helpers/id-routing.ts:303
↓ 2 callersFunctionrenderApiReferenceApp
(options: { configuration: AnyApiReferenceConfiguration pageTitle?: string })
packages/server-side-rendering/src/ssr.ts:126
↓ 2 callersFunctionrenderStory
({ component }: { component: Component })
packages/components/src/docs/useBindCx/useBindCx.stories.ts:12
↓ 2 callersFunctionreorderArray
(array: T[], fromIndex: number, toIndex: number, offset: DragOffset)
projects/scalar-app/src/helpers/drag-handle-factory.ts:31
↓ 2 callersFunctionreplaceVariables
( value: string, variablesOrCallback: Record<string, string | number> | ((match: string) => string), )
packages/helpers/src/regex/replace-variables.ts:7
↓ 2 callersFunctionrequestAsPromise
(req: IDBRequest<T>)
packages/workspace-store/src/persistence/migrations/v2-team-to-local.ts:195
↓ 2 callersFunctionrequirementSignature
(requirement: SecurityRequirementObject)
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.ts:27
↓ 2 callersFunctionreset
()
packages/helpers/src/string/slugger.ts:34
↓ 2 callersFunctionresetVueBundlerGlobals
()
packages/api-reference-react/src/ApiReferenceReact.test.ts:3
↓ 2 callersFunctionresolveAsyncApiMessage
( document: AsyncApiDocument, channelName: string, messageName: string, )
packages/api-reference/src/components/Content/AsyncApi/helpers/resolve-async-api-nodes.ts:28
↓ 2 callersFunctionresolveAsyncApiOperation
( document: AsyncApiDocument, operationName: string, )
packages/api-reference/src/components/Content/AsyncApi/helpers/resolve-async-api-nodes.ts:44
↓ 2 callersFunctionresolveChannel
(document: AsyncApiDocument, channelName: string)
packages/workspace-store/src/channel-example/resolve-channel.ts:14
↓ 2 callersFunctionresolveContents
* Resolves a string by finding and executing the appropriate plugin. * @param value - The string to resolve (URL, file path, etc) * @param plugins -
packages/json-magic/src/bundle/bundle.ts:51
↓ 2 callersFunctionresolveContext
()
packages/blocks/src/code-example/mount.ts:105
↓ 2 callersFunctionresolveExecutableRequestUrl
( request: RequestFactory, envVariables: Record<string, string>, resolveOptions?: { allowMissingRequestS
packages/workspace-store/src/request-example/builder/build-request.ts:69
↓ 2 callersFunctionresolveFetch
()
projects/scalar-app/src/hooks/use-auth.test.ts:334
↓ 2 callersFunctionresolveLazy
(schema: { schema: () => Schema }, lazyCache: LazyCache)
packages/validation/src/coerce.ts:17
↓ 2 callersFunctionresolveNamespaceFilterTriggerLabel
( filterNamespaceId: NamespaceFilterId, options: NamespaceFilterOption[], )
projects/scalar-app/src/features/app/hooks/use-sidebar-documents/helpers/registry-namespace-filter.ts:70
↓ 2 callersFunctionresolveOAuthFlow
(document: WorkspaceDocument, name: string, flowType: keyof OAuth2Object['flows'])
packages/workspace-store/src/mutators/auth.ts:419
↓ 2 callersFunctionresolveSchema
(schema: unknown)
packages/api-reference/src/features/Operation/helpers/flatten-deep-object-query-parameter.ts:17
↓ 2 callersFunctionresolveSchemaRef
* Resolves a schema reference from workspace-store to a SchemaObject. * Returns undefined when a reference exists but has not been resolved yet.
packages/api-reference/src/helpers/openapi.ts:19
↓ 2 callersFunctionresolveSchemaRenderOptions
( options?: Partial<AsyncApiSchemaRenderOptions>, )
packages/api-reference/src/components/Content/AsyncApi/helpers/async-api-render-options.ts:18
↓ 2 callersFunctionresolveWsBinding
( bindings: AsyncApiChannelObject['bindings'] | AsyncApiOperationObject['bindings'] | undefined, )
packages/workspace-store/src/channel-example/build-connection-url.ts:106
↓ 2 callersFunctionrespondWithOpenApiDocument
( c: Context, input?: string | Record<string, any>, format: 'json' | 'yaml' = 'json', )
packages/mock-server/src/routes/respond-with-openapi-document.ts:8
↓ 2 callersFunctionresponseBinding
(itemSchema: Record<string, unknown>)
packages/workspace-store/src/request-example/builder/helpers/get-example-from-schema.test.ts:2036
↓ 2 callersFunctionresponseExampleValueToString
(value: unknown)
packages/api-reference/src/features/Search/helpers/create-search-index.ts:50
↓ 2 callersFunctionrestoreOriginalRefs
()
packages/workspace-store/src/plugins/bundler/index.ts:158
↓ 2 callersFunctionrewriteMessageList
* Rewrites every `#/components/messages/{name}` entry in `messageList` in-place, given the channel * reference that the surrounding operation/reply p
packages/asyncapi-upgrader/src/3.0-to-3.1/upgrade-from-three-to-three-one.ts:62
↓ 2 callersFunctionroute
(payload: RoutePayload)
packages/api-client/src/v2/features/modal/helpers/create-api-client-modal.ts:87
↓ 2 callersFunctionrunOnce
()
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.test.ts:148
↓ 2 callersMethodrunSideEffects
Runs all side effects that match the path trigger
packages/object-utils/src/mutator-record/mutations.ts:80
↓ 2 callersFunctionrun_specific_test
Run a specific test file or function
integrations/fastapi/run_tests.py:47
↓ 2 callersFunctionrun_specific_test
Run a specific test file or function
integrations/django-ninja/run_tests.py:53
↓ 2 callersMethodscalarUi
Serves the Scalar API Reference interface as an actuator endpoint. <p> This method returns the same HTML content as the regular ScalarWebMvcControlle
integrations/java/scalar-webmvc/src/main/java/com/scalar/maven/webmvc/ScalarWebMvcActuatorEndpoint.java:54
↓ 2 callersMethodscalarUi
Serves the Scalar API Reference interface as an actuator endpoint. <p> This method returns the same HTML content as the regular ScalarWebFluxControll
integrations/java/scalar-webflux/src/main/java/com/scalar/maven/webflux/ScalarWebFluxActuatorEndpoint.java:57
↓ 2 callersFunctionscriptFor
(src: string)
integrations/astro/src/client.test.ts:196
↓ 2 callersFunctionscrollToElement
(element: HTMLElement)
packages/helpers/src/dom/scroll-to-id.ts:7
↓ 2 callersFunctionsearch
(query: string)
packages/agent-chat/src/api.ts:113
↓ 2 callersFunctionselectionMatches
(reachable: Set<string>, selected: string | undefined)
packages/api-reference/src/blocks/scalar-asyncapi-sidebar-filters-block/helpers/filter-async-api-navigation.ts:24
↓ 2 callersMethodserialize
Serializes the given value to a JSON string. @param value the value to serialize @return the JSON representation of the value @throws IllegalStateExc
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/internal/JacksonJsonSerializer.java:63
← previousnext →1,801–1,900 of 4,087, ranked by callers