MCPcopy Create free account

hub / github.com/scalar/scalar / functions

Functions4,087 in github.com/scalar/scalar

↓ 2 callersFunctioncreateStubFileLoader
(content: string)
projects/scalar-app/src/features/command-palette/components/CommandPaletteImport.test.ts:717
↓ 2 callersFunctioncreateSyncReleaseNotesMarkdownCommand
(baseConfig: ReleaseNotesConfig = {})
packages/release-notes/src/commands/sync-markdown.ts:17
↓ 2 callersFunctioncreateTagEntry
({ tag, generateId, children, isGroup = false, parentId, }: { tag: TagObject generateId: Travers
packages/workspace-store/src/navigation/helpers/traverse-tags.ts:23
↓ 2 callersFunctioncreateTagEntry
* Helper to create a tag entry.
packages/api-client/src/v2/features/search/hooks/use-search-index.test.ts:45
↓ 2 callersFunctioncreateTestApp
({ fastify }: { fastify?: boolean } = {})
integrations/nestjs/test/app.factory.ts:8
↓ 2 callersFunctioncreateUrl
(path: string)
packages/agent-chat/src/hooks/use-upload-tmp-document.ts:52
↓ 2 callersFunctioncreateWebhookEntry
({ ref, method, name, title, generateId, parentTag, webhook, isDeprecated, parentId, }: {
packages/workspace-store/src/navigation/helpers/traverse-webhooks.ts:24
↓ 2 callersFunctioncreateWindow
({ isDev }: { isDev?: boolean })
projects/scalar-app/entrypoints/electron/main/application/window.ts:18
↓ 2 callersFunctioncreateWorkspace
({ teamUid, teamSlug, slug, name, }: { teamUid?: string teamSlug?: string slug?:
projects/scalar-app/src/features/app/app-state.ts:760
↓ 2 callersFunctioncurrentContext
()
packages/blocks/src/code-example/mount.ts:133
↓ 2 callersFunctiondeSerializeSchemaValue
(example: unknown, schema: ParameterWithSchemaObject['schema'])
packages/workspace-store/src/request-example/builder/header/de-serialize-parameter.ts:90
↓ 2 callersFunctiondecodeHtmlEntities
* Decode HTML entities in a string
packages/import/src/resolve.ts:341
↓ 2 callersFunctiondedupe
(...lists: string[][])
packages/code-highlight/src/languages/mojo.ts:90
↓ 2 callersFunctiondefaultWorkspaceProxyMeta
()
projects/scalar-app/src/features/app/app-state.ts:268
↓ 2 callersFunctiondereference
* Resolves the circular reference to an object and deletes the $ref properties (in-place).
packages/openapi-parser/src/utils/resolve-references.ts:98
↓ 2 callersFunctiondevLocalhostCspPlugin
()
projects/scalar-app/dev-localhost-csp-plugin.ts:9
↓ 2 callersFunctiondocumentMutators
(document: WorkspaceDocument | null)
packages/workspace-store/src/mutators/index.ts:27
↓ 2 callersFunctiondocumentWithServers
(message: Record<string, unknown>)
packages/api-reference/src/components/Content/AsyncApi/Message.test.ts:179
↓ 2 callersFunctiondocumentWithServers
(channel: Record<string, unknown> = { address: 'user/signedup' })
packages/api-reference/src/components/Content/AsyncApi/Channel.test.ts:214
↓ 2 callersFunctionemitNavigation
(target: string, slug: string)
projects/scalar-app/src/features/app/app-state.ts:639
↓ 2 callersFunctionenableConsoleError
()
packages/helpers/src/testing/console-spies.ts:24
↓ 2 callersFunctionenableConsoleWarn
()
packages/helpers/src/testing/console-spies.ts:18
↓ 2 callersFunctionencodeFormComponent
(value: string)
packages/snippetz/src/plugins/swift/nsurlsession/nsurlsession.ts:24
↓ 2 callersFunctionensureJsonPointerLinkSupport
(navigate: (pointer: string) => Promise<void> | void)
projects/scalar-app/src/features/editor/helpers/json/json-pointer-links.ts:77
↓ 2 callersFunctionensureSandboxFrame
()
packages/pre-post-request-scripts/src/libs/execute-scripts/postman-adapter/sandbox-adapter.ts:139
↓ 2 callersFunctionensureUniqueExampleName
(baseName: string, usedNames: Set<string>)
packages/oas-utils/src/migrations/migrate-to-indexdb.ts:479
↓ 2 callersFunctionenvironmentMutatorsFactory
({ workspace, collection, }: { workspace: Workspace | null collection: WorkspaceDocument | Workspace |
packages/workspace-store/src/mutators/environment.ts:144
↓ 2 callersFunctionescapeFunctionSourceForInlineScript
* Escape a function's source code so it is safe to embed inside an inline script tag. * * Unlike escapeJsonForInlineScript (which escapes all `<` an
packages/server-side-rendering/src/ssr.ts:249
↓ 2 callersFunctionescapeHtml
(str: string)
packages/client-side-rendering/src/html-rendering.ts:11
↓ 2 callersFunctionescapeHtml
* Escapes HTML special characters to prevent XSS when rendering user-controlled scope values.
packages/mock-server/src/routes/respond-with-authorize-page.ts:11
↓ 2 callersFunctionescapeHtmlAttribute
(str: string)
packages/client-side-rendering/src/html-rendering.ts:21
↓ 2 callersFunctionescapeRegex
(value: string)
packages/api-reference/src/helpers/id-routing.ts:161
↓ 2 callersFunctionexecute
()
projects/scalar-app/src/hooks/use-auth.ts:171
↓ 2 callersFunctionexpectCommonResponseHandling
(result: string)
packages/snippetz/src/plugins/python/python3/python3.test.ts:5
↓ 2 callersFunctionextractChangelogSection
(markdown: string, version: string)
packages/release-notes/src/core/extract-changelog-section.ts:4
↓ 2 callersFunctionextractOAuthFlowSecrets
( flows: Record<string, unknown> | undefined, storeSecrets?: Partial<SecretsOAuthFlows> | Partial<SecretsO
packages/workspace-store/src/request-example/context/security/extract-security-scheme-secrets.ts:106
↓ 2 callersFunctionextractOAuthFlowSecrets
( flows: Record<string, unknown> | undefined, storeSecrets?: Partial<SecretsOAuthFlows> | Partial<SecretsO
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.ts:101
↓ 2 callersFunctionextractPullRequestNumbers
(markdown: string, repo?: string)
packages/release-notes/src/core/fetch-pull-requests.ts:28
↓ 2 callersFunctionextractRequestMethod
(request: unknown)
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:86
↓ 2 callersFunctionextractStoredEntry
(bytes: Uint8Array)
packages/void-server/src/create-void-server.test.ts:9
↓ 2 callersFunctionextractTitle
(info: ParsedApiDocument['info'])
projects/scalar-app/src/features/command-palette/helpers/get-openapi-document-details.ts:34
↓ 2 callersFunctionextractXExampleExtensions
Extracts and removes x-example and x-examples extensions from an object
packages/openapi-upgrader/src/2.0-to-3.0/upgrade-from-two-to-three.ts:14
↓ 2 callersFunctionfakeBundle
(name: string)
integrations/astro/src/client.test.ts:201
↓ 2 callersFunctionfilter
(specification: AnyApiDefinitionFormat, callback: FilterCallback)
packages/openapi-parser/src/utils/filter.ts:11
↓ 2 callersFunctionfilterChildrenByType
( children: TraversedEntry[] | undefined, type: T['type'], )
packages/api-reference/src/components/Content/AsyncApi/helpers/filter-children-by-type.ts:9
↓ 2 callersFunctionfilterDefaultHeadersByVisibility
( operation: OperationObject, exampleName: string, headers: Record<string, string>, flags: { hideOverr
packages/workspace-store/src/request-example/context/headers.ts:53
↓ 2 callersFunctionfilterHttpMethodsOnly
(paths: PathsObject)
packages/workspace-store/src/server.ts:82
↓ 2 callersFunctionfindHeaderName
(headers: Record<string, unknown>, name: string)
packages/snippetz/src/plugins/clojure/clj_http/clj_http.ts:90
↓ 2 callersMethodfindMatch
* Finds all matches along a given path in the trie. * This method traverses both the exact path and all deeper paths, * executing a callback for
packages/json-magic/src/diff/trie.ts:81
↓ 2 callersFunctionfindOperationByPathAndMethod
( document: OpenApiDocument, selector: Extract<OperationSelector, { path: string }>, )
packages/openapi-to-markdown/src/create-markdown-from-openapi.ts:151
↓ 2 callersFunctionfindOptionsList
(wrapper: ReturnType<typeof mount>)
projects/scalar-app/src/features/command-palette/components/CommandPaletteDocumentSelect.test.ts:19
↓ 2 callersFunctionfindOrCreateRequestBodyExample
( document: WorkspaceDocument | null, contentType: string, meta: OperationEvents['operation:update:reque
packages/workspace-store/src/mutators/operation/body.ts:10
↓ 2 callersFunctionfindPackageJsonFiles
(dir: string)
tooling/scripts/src/commands/generate-readme.ts:263
↓ 2 callersFunctionfindPlugin
(target: T | string, client: ClientId<T> | string)
packages/snippetz/src/snippetz.ts:9
↓ 2 callersFunctionfindVariable
* Finds a specific variable in the collection by its key
packages/postman-to-openapi/src/helpers/license.ts:14
↓ 2 callersFunctionfindVariable
* Finds a specific variable in the collection by its key
packages/postman-to-openapi/src/helpers/external-docs.ts:14
↓ 2 callersFunctionfinish
(value: AuthorizeOAuth2Result)
projects/scalar-app/entrypoints/electron/main/actions/authorize-oauth2.ts:134
↓ 2 callersFunctionflatten
(obj: Record<string, unknown>, prefix: string)
packages/workspace-store/src/request-example/builder/header/serialize-parameter.ts:260
↓ 2 callersFunctionflushAll
()
packages/helpers/src/general/debounce.ts:108
↓ 2 callersFunctionfolderFullySelected
(node: PostmanTreeNode, selected: ReadonlySet<string>)
projects/scalar-app/src/features/command-palette/helpers/postman-request-tree.ts:221
↓ 2 callersFunctionforEachRequestBodyProperty
* Walks the request body schemas of an operation and yields each property schema with its key.
packages/api-reference/src/helpers/openapi.ts:76
↓ 2 callersFunctionformatBanner
(at: string)
packages/schemas/scripts/generate-types.ts:62
↓ 2 callersFunctionformatCaughtError
(error: unknown)
packages/helpers/src/types/safe-run.ts:3
↓ 2 callersFunctionformatJsonBody
(text?: string)
packages/snippetz/src/plugins/c/libcurl/libcurl.ts:59
↓ 2 callersFunctionformatSecurityRequirement
( requirement: SecurityRequirementObject, securitySchemes: NonNullable<ComponentsObject['securitySchemes']
packages/api-client/src/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.ts:54
↓ 2 callersFunctionformatSecurityValue
( security: BuildRequestSecurityResult, replace: (value: string) => string | null, )
packages/workspace-store/src/request-example/builder/build-request.ts:36
↓ 2 callersFunctionformatTypeCommentAsJsDoc
(comment: string)
packages/validation/src/typegen.ts:108
↓ 2 callersFunctionfromSnippetMap
(snippets: Record<string, string> | undefined, label?: string)
packages/blocks/src/code-example/helpers/get-custom-code-samples.ts:9
↓ 2 callersMethodfromValue
Creates a DocumentDownloadType from a string value. @param value the string value @return the corresponding DocumentDownloadType @throws IllegalArgum
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/enums/DocumentDownloadType.java:48
↓ 2 callersMethodfromValue
Creates a ScalarLayout from a string value. @param value the string value @return the corresponding ScalarLayout @throws IllegalArgumentException if
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/enums/ScalarLayout.java:33
↓ 2 callersMethodfromValue
Creates a ScalarTheme from a string value. @param value the string value @return the corresponding ScalarTheme @throws IllegalArgumentException if th
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/enums/ScalarTheme.java:83
↓ 2 callersFunctiongenerateClientMutators
(store: WorkspaceStore | null)
packages/workspace-store/src/mutators/index.ts:20
↓ 2 callersFunctiongenerateErrorHtml
(title: string, message: string)
packages/mock-server/src/routes/respond-with-authorize-page.ts:179
↓ 2 callersFunctiongenerateParameterId
(param: OpenAPIV3_1.ParameterObject)
packages/postman-to-openapi/src/helpers/merge-operation.ts:85
↓ 2 callersFunctiongeneratePowershellConvert
(command: string)
packages/snippetz/src/httpsnippet-lite/targets/powershell/common.ts:6
↓ 2 callersFunctiongenerateTypes
* Generate type from the icon file names * We are actually generating an array as well for easier consumption in storybook
packages/components/src/scripts/typegen.ts:8
↓ 2 callersFunctionget
(schema: AnyObject, path: (string | number)[])
packages/openapi-parser/tests/diff.test.ts:144
↓ 2 callersFunctiongetAllChannelMessages
( _document: AsyncApiDocument, channel: AsyncApiChannelObject, )
packages/workspace-store/src/channel-example/get-all-channel-messages.ts:14
↓ 2 callersFunctiongetApiKey
(provider: BuiltInProviderName, apiKeyEnv?: string)
packages/release-notes/src/config/read-config.ts:67
↓ 2 callersFunctiongetAsyncApiMessageHeadersSchema
(message: AsyncApiMessageObject)
packages/api-reference/src/helpers/get-async-api-message-payload-schema.ts:42
↓ 2 callersFunctiongetAsyncApiMessagePayloadSchema
(message: AsyncApiMessageObject)
packages/api-reference/src/helpers/get-async-api-message-payload-schema.ts:38
↓ 2 callersFunctiongetAsyncApiProtocols
(document: AsyncApiDocument)
packages/workspace-store/src/channel-example/get-async-api-protocols.ts:46
↓ 2 callersFunctiongetChannelAddress
(channelName: string, channel: AsyncApiChannelObject)
packages/workspace-store/src/navigation/helpers/traverse-asyncapi-document.ts:86
↓ 2 callersFunctiongetChannelServerNames
( document: AsyncApiDocument, channel: AsyncApiChannelObject | null, )
packages/workspace-store/src/channel-example/servers.ts:57
↓ 2 callersFunctiongetChildEntry
( type: Type, node: TraversedEntry, )
packages/sidebar/src/helpers/get-child-entry.ts:12
↓ 2 callersFunctiongetChildren
(node)
packages/openapi-parser/src/utils/betterAjvErrors/utils.ts:21
↓ 2 callersFunctiongetCodeMirrorExtensions
Generate the list of extension from parameters
packages/use-codemirror/src/hooks/useCodeMirror.ts:270
↓ 2 callersFunctiongetContainingBlockOffset
(t)
documentation/assets/landing.js:22
↓ 2 callersFunctiongetContainingBlockOffset
(element)
documentation/assets/company.js:34
↓ 2 callersFunctiongetContent
()
packages/api-reference/src/standalone/lib/html-api.ts:134
↓ 2 callersFunctiongetCoordsAtPos
(pos: number)
packages/use-codemirror/src/hooks/useDropdown.ts:18
↓ 2 callersFunctiongetCustomCookie
(response: Response)
packages/api-client/src/v2/blocks/operation-block/helpers/send-request.ts:162
↓ 2 callersFunctiongetDarkLightMode
(mode: ColorMode)
projects/scalar-app/src/hooks/use-color-mode.ts:30
↓ 2 callersFunctiongetDefaultDescriptionEntry
( generateId: TraverseSpecOptions['generateId'], parentId: string, info: InfoObject | AsyncApiInfoObject
packages/workspace-store/src/navigation/helpers/traverse-description.ts:13
↓ 2 callersFunctiongetDefaultResponseDescription
(statusCode: string)
packages/postman-to-openapi/src/helpers/responses.ts:142
↓ 2 callersMethodgetDescription
Gets the description. @return the description
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/config/ScalarServer.java:166
↓ 2 callersFunctiongetDocument
(overrides: Partial<OpenApiDocument> = {})
packages/api-client/src/v2/features/modal/Modal.test.ts:31
↓ 2 callersFunctiongetDocument
()
packages/galaxy/tests/yaml.test.ts:26
↓ 2 callersFunctiongetDocument
()
projects/scalar-app/src/helpers/drag-handle-factory.test.ts:12
↓ 2 callersMethodgetDocumentDownloadType
()
integrations/java/scalar-core/src/main/java/com/scalar/maven/core/ScalarProperties.java:559
← previousnext →1,601–1,700 of 4,087, ranked by callers