fumadocs-openapi 12.5.1 → 12.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/css/generated/shared.css +1 -1
  2. package/dist/.translations/index.d.ts +0 -29
  3. package/dist/.translations/keys.js +1 -30
  4. package/dist/generate-file.js +4 -4
  5. package/dist/packages/shared-api/dist/.translations/index.d.ts +18 -0
  6. package/dist/packages/shared-api/dist/.translations/keys.js +19 -1
  7. package/dist/packages/shared-api/dist/components/defaults.js +13 -19
  8. package/dist/{ui → packages/shared-api/dist}/components/dialog.js +2 -2
  9. package/dist/packages/shared-api/dist/components/example.js +51 -0
  10. package/dist/{ui/playground/components → packages/shared-api/dist/components/playground}/fields.js +11 -8
  11. package/dist/packages/shared-api/dist/components/playground/panels.js +247 -0
  12. package/dist/packages/shared-api/dist/components/playground/param-input.js +54 -0
  13. package/dist/packages/shared-api/dist/components/playground/schema.js +5 -3
  14. package/dist/packages/shared-api/dist/components/playground/server-select.js +130 -0
  15. package/dist/packages/shared-api/dist/components/schema/client.js +1 -1
  16. package/dist/{ui → packages/shared-api/dist}/components/segmented.js +2 -2
  17. package/dist/requests/string-utils.js +7 -1
  18. package/dist/ui/operation/index.js +2 -2
  19. package/dist/ui/operation/usage-tabs.js +6 -47
  20. package/dist/ui/playground/client.js +7 -4
  21. package/dist/ui/playground/components/oauth-panel.js +2 -2
  22. package/dist/ui/playground/components/request-panel.js +12 -195
  23. package/dist/ui/playground/components/response-panel.js +5 -3
  24. package/dist/ui/playground/components/result-display.d.ts +0 -1
  25. package/dist/ui/playground/components/result-display.js +3 -18
  26. package/dist/ui/playground/components/server-select.js +24 -122
  27. package/dist/ui/playground/components/url-bar.js +6 -47
  28. package/dist/utils/pages/builder.js +2 -2
  29. package/dist/utils/pages/preset-auto.js +15 -4
  30. package/dist/utils/pages/to-static-data.js +2 -7
  31. package/dist/utils/pages/to-text.js +2 -2
  32. package/package.json +4 -4
@@ -1 +1 @@
1
- @source inline("!collapsed !isDefined !readOnly !renderBodyField !required !returned *:data-[collapsible=true]:order-last *:flex-1 *:justify-center *:min-w-0 --- --accordion-panel-height --active-tab-height --active-tab-left --active-tab-top --active-tab-width --anchor-width --available-height --collapsible-panel-height --fd-docs-height --fd-docs-row-3 --spacing --transform-origin -mode -ms-0.5 -ms-2 -mt-1 -my-1 -translate-x-1/2 -translate-y-1/2 -z-1 @4xl:flex @4xl:flex-col @4xl:flex-row @4xl:items-start @4xl:max-h-[calc(var(--fd-docs-height,100dvh)-var(--fd-docs-row-3,0px)-2rem)] @4xl:sticky @4xl:top-[calc(var(--fd-docs-row-3,0px)+1rem)] @4xl:w-[400px] @container @default @defaultValue @deprecated @fuma-translate/react @fumadocs/json-schema @fumari/stf @max-sm:bg-fd-secondary/50 @max-sm:border @max-sm:empty:w-2 @max-sm:mx-4 @max-sm:overflow-hidden @max-sm:pb-1.5 @max-sm:pb-3 @max-sm:pe-2 @max-sm:rounded-lg @max-xl:basis-full @max-xl:border-t @max-xl:flex-1 @max-xl:ps-1.5 @md:block @md:grid-cols-2 @param @returns @scalar/api-client-react @see @sm:-me-2 @sm:-me-2.5 @sm:border-s @sm:grid-cols-[minmax(9rem,1fr)_minmax(0,2fr)] @sm:min-h-10 @sm:pe-7.5 @sm:pe-8 @typescript-eslint/no-explicit-any @xl:w-40 [&[hidden]:not([hidden='until-found'])]:hidden [&_a]:underline [&_code]:font-mono [&_svg]:size-3 [&_svg]:size-3.5 [--fd-docs-row-3:0px] [grid-area:1/1] [scrollbar-width:none] a abort above absolute accept access access_token accordion actions active:scale-[0.97] actual adapter adapters add added additional additionalProperties after again against alias align aligns all allOf allow allowJson allowed already also alt among an anchor anchorSegments and animate-spin animates any anyFields anyOf apiExample apiKey apiPlayground appearance-none application/javascript application/json application/x-javascript application/x-www-form-urlencoded application/xml applies apply are aria-checked aria-current aria-expanded aria-expanded:decoration-solid aria-expanded:text-fd-accent-foreground aria-hidden aria-label aria-live aria-pressed aria-pressed:bg-fd-background aria-pressed:ring-1 aria-pressed:ring-fd-border aria-pressed:shadow-sm aria-pressed:text-fd-foreground arkdown array arrow as async at audience auth authNode authProviders authSchemes authenticate authorization authorizationCode authorizationUrl authorization_code authorization_pending authorization_url authorize authorized authorizes auto-cols-[minmax(0,max-content)] autoComplete available avoid await away back backdrop-blur-[1px] backdrop-blur-sm backdrop-blur-xs background badgeVariants bar base baseDir basic basis-full be bearer before behavior below between bg-amber-500 bg-amber-500/10 bg-black/30 bg-black/40 bg-blue-500 bg-current/10 bg-fd-accent bg-fd-background bg-fd-background/50 bg-fd-card bg-fd-card/70 bg-fd-muted bg-fd-muted-foreground bg-fd-popover bg-fd-primary bg-fd-primary/10 bg-fd-secondary bg-green-500 bg-linear-to-b bg-linear-to-t bg-red-500 bg-transparent binary block blocks blue body bodyMediaType bodyNode bodyUrlRef boolean border border-0 border-b border-b-0 border-current border-dashed border-fd-muted-foreground/50 border-fd-primary border-fd-primary/20 border-s border-t bottom bottom-0 box box-content breadcrumbs break-all browser built-in builtinProviders bundled but button buttonVariants by bytes cache cached cachedDocFiles callbacks callbacksNode can cancel cancelled candidates cannot caption captioned captionedCodeBlock card cardCodeBlock case catch cause cell center certificate ch challenge change changes charset check checkbox checked chevron chevronClassName children class class-variance-authority className cleanup clearResponse click client client-rendered clientAuth clientCredentials clientId clientSecret clientWidth client_auth client_credentials client_error client_id client_secret clients cloned close closeDelay closest cn code codeProps codeUsages code_challenge code_challenge_method code_verifier codeblock col-span-2 col-span-full collapse collapses collapsible color come compiler component components compute confidential config configUrl configuration configurations const constraints container content contentTypes contents control controller controllerRef cookie cookies copy copyable copying core count createContext createOAuthHandler createOpenAPIPageBase createProxy credentials cross-origin crumbClassName crumbs css csv ctx current currentValue cursor-pointer cursor-text custom customise customization cva dark dark:aria-pressed:bg-fd-accent dark:bg-fd-accent dark:text-amber-400 dark:text-blue-400 dark:text-green-400 dark:text-orange-400 dark:text-red-400 dark:text-yellow-400 data data-[disabled]:opacity-50 data-[disabled]:pointer-events-none data-[highlighted]:bg-fd-accent data-[highlighted]:text-fd-accent-foreground data-active:text-fd-foreground data-checked:bg-fd-primary data-checked:bg-fd-primary-foreground data-checked:translate-x-3 data-closed:animate-fd-dialog-out data-closed:animate-fd-fade-out data-collapsible data-ending-style:duration-150 data-ending-style:h-0 data-ending-style:opacity-0 data-ending-style:scale-95 data-ending-style:scale-[0.97] data-ending-style:scale-[0.98] data-highlighted:bg-fd-accent data-highlighted:text-fd-accent-foreground data-open:animate-fd-dialog-in data-open:animate-fd-fade-in data-placeholder:text-fd-muted-foreground data-popup-open:bg-fd-accent data-popup-open:text-fd-accent-foreground data-popup-open:text-fd-foreground data-starting-style:h-0 data-starting-style:opacity-0 data-starting-style:scale-95 data-starting-style:scale-[0.98] dataEngine decimal declare decode decoration-dotted default defaultMdxComponents defaultShikiFactory defaultShikiOptions defaultValue defaultValues defaults define definitions delay delay-150 delete deprecated depth dereference dereferenced described describes description descriptionNode descriptions development device deviceAuthorization deviceAuthorizationUrl device_authorization_url device_code devices dialog didn direction directories disable disableCache disabled disabled:cursor-not-allowed disabled:opacity-50 disabled:opacity-80 discovered discovering display displayNames disposition div doc docCache docFilesCache docRoot docs document documents does doesn domain don download downloaded drives drop duplicated duration duration-150 duration-200 duration-250 during dynamic dynamicSource e each eading early ease-[cubic-bezier(0.16,1,0.3,1)] ease-[cubic-bezier(0.22,1,0.36,1)] ease-out edge edited editing editor edits element elements else empty empty:hidden enabled encode encodeRequestData encoded end end-2 ending endpoint endpoints ends enforce engine enter entries entry enum err error error_description errors eslint-disable eslint-disable-next-line even every example examples exclusiveMax exclusiveMin expand expected expiresAt expires_in export exported expressions extended extends fades failed fallback false fast-content-type-parse fd-page-tree-item-name fd-scroll-container fetch fetchOptions fetcher field field-sizing-content fieldData fieldLabelVariants fieldName fields file fileName filePath files fill-current filled filling fills filter filterable finally finishes finishing first first:border-t-0 first:mt-0 fixed flex flex-1 flex-col flex-col-reverse flex-row flex-wrap flow flow-root flowInfo flowReturned flows flushSync focus-visible:bg-fd-accent focus-visible:bg-fd-accent/40 focus-visible:bg-fd-primary/15 focus-visible:bg-fd-secondary focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-2 focus-visible:ring-fd-primary/30 focus-visible:ring-fd-ring focus-visible:ring-fd-ring/50 focus-visible:ring-inset focus-visible:text-fd-accent-foreground focus-within:ring-1 focus-within:ring-fd-ring focus:outline-none focus:ring focus:ring-0 focus:ring-fd-ring folder folderStyle follow font-light font-medium font-mono font-normal font-sans font-semibold for form form-encoded format forward fragment from from-fd-popover full fumadocs-core/source fumadocs-core/toc fumadocs-openapi-flow fumadocs-openapi-oauth fumadocs-ui/mdx fumadocs:openapi fumadocs_openapi_requests function gap-0.5 gap-1 gap-1.5 gap-2 gap-2.5 gap-24 gap-3 gap-4 gap-x-2 gap-x-3 gap-x-6 gap-y-1 gap-y-4 generate generateDefault generateSchemaUI generateTypeScriptDefinitions generated generators get getLink getOpenAPIPageProps getPreferredType getRaw getSchema getSchemas gets ghost github-dark github-light given go goes going grant_type grant_types_supported grants gray green grid grid-cols-1 grid-cols-[auto_minmax(0,1fr)] grid-cols-[auto_minmax(0,1fr)_auto] grid-cols-[minmax(0,2fr)_minmax(0,3fr)] grid-flow-col group group-data-[panel-open]/accordion:rotate-90 group-data-popup-open:rotate-180 group-hover/nav:translate-x-0.5 group-hover/property:opacity-100 group-hover:translate-x-0.5 group-hover:translate-x-px group/accordion group/nav group/property group/row h-(--accordion-panel-height) h-(--active-tab-height) h-(--collapsible-panel-height) h-10 h-12 h-4 h-5 h-6 h-7 h-8 h-9 h-[240px] h-auto h-full h-px h1 handle handled handles has has-focus-visible:bg-fd-secondary has-focus-visible:border-fd-ring hash hast-util-to-jsx-runtime have headNode header headerRef headers heading headingLevel headless here hidden hiddenKeys hiddenProperties highlighted highlighter hint holding holds hook hover hover:bg-fd-accent hover:bg-fd-accent/40 hover:bg-fd-primary/15 hover:bg-transparent hover:text-fd-accent-foreground hover:text-fd-foreground how href html htmlFor http hydration i icon icon-sm icon-xs iconButtonClassName id idx if img implicit import imports in including index indicator info infoTags init initAuth initial inline inline-flex input inputMode inputs inset-0 inset-x-0 inside installed instanceof instead integer interface interval into invalid invisible is isCopied isDefined isDynamic isExpanded isHighlighted isLazy isLoading isMac isNumber isRequired isSending isn issues it item itemSchema items items-baseline items-center items-start items-stretch its itself js json json-schema-typed justify-between justify-center justify-end kB keep keeping keeps kept key keyed keyof keys kind label labelClassName labelled lang languages larger last last:border-b-0 last:shrink-0 layout layouts lazy leading-5 leading-none leading-relaxed leave leaving left left-0 left-1/2 length let light like line-through link links list listed listener listeners load loadDocument loaderPlugin loading loads location long longer lucide-react make map mapValues margin margins marked match matching max max-age max-h-(--available-height) max-h-[min(18rem,30vh)] max-h-none max-md:hidden max-w-1/2 max-w-40 max-w-60 max-w-64 max-w-72 max-w-80 max-w-[calc(100vw-2rem)] max-w-full max-w-lg max-w-none may mb-3 mb-4 md md:border-s md:grid-cols-[minmax(0,11fr)_minmax(0,9fr)] md:hidden mdxComponents me-1 me-2 me-auto measure measured media mediaAdapters mediaType member members menu menuItems merge message meta metaData metaKey method methods milliseconds mime min min-h-0 min-h-10 min-h-11 min-h-60 min-h-9 min-h-full min-w-0 min-w-16 min-w-40 min-w-[calc(var(--anchor-width)+--spacing(2))] mode motion motion-reduce:transition-none motion-reduce:transition-opacity motion-safe:-translate-x-6 motion-safe:duration-300 motion-safe:ease-[cubic-bezier(0.16,1,0.3,1)] motion-safe:starting:-translate-x-6 motion-safe:starting:-translate-y-4 motion-safe:starting:opacity-0 motion-safe:starting:scale-0 motion-safe:starting:translate-x-6 motion-safe:starting:translate-y-1 motion-safe:starting:translate-y-4 motion-safe:transition-[opacity,translate] motion-safe:transition-opacity motion-safe:transition-transform motionClassNames mounted ms ms-1 ms-1.5 ms-auto mt-0! mt-0.5 mt-1 mt-1.5 mt-10 mt-2.5 mt-px multipart/form-data multiple must mutual mutualTLS mutualTLSProvider mx-1 mx-3 mx-px my-0! my-1 my-3 name name! named names namespace narrow nav navigator nearest needs nested never new next next/previous no no-cache noValidate node node:path noop noreferrer normalizes not not-prose note null number oauth oauth2 oauthPanelProvider oauthRedirectUrl object objectGet objects observer obtain of off ok omit omitted on onAppend onAuthorize onBack onCancel onChange onCheckedChange onClick onCopy onKeyDown onLink onNavigate onOpenChange onRemove onReset onReturn onRoot onSelect onSubmit onUserCode onValueChange once one oneOf ones only opacity-0 opacity-80 open openApiData openIdConnect openIdConnectUrl openOnHover openapi openapiMeta opened opening opens operation options or orange order-last origin origin-(--transform-origin) other otherwise out outline outline-none output outside over overflow-auto overflow-clip overflow-hidden overflow-x-auto overflow-y-auto override overview own p-0 p-0.5 p-1 p-1.5 p-2 p-2.5 p-3 p-4 p-5 p-6 packages padding page pageData pages panel panelCodeBlock panelKey panels param parameter parameterLabel parameterNode parameters params parent parentIndex parents parsed parts party pass password path pathItem pathnameFromRequest pattern patternProperties payload pb-1 pb-2 pb-2.5 pb-3 pe-1 pe-1.5 pe-2 pe-3 pe-4 peer-disabled:cursor-not-allowed peer-disabled:opacity-70 pendingFlowKey persisted pill place placed placeholder placeholder:text-fd-muted-foreground placeholder:text-fd-muted-foreground/70 placeholder:text-fd-primary/50 playground playgrounds please plugins pointer-coarse:opacity-100 polite poll polling popup postForm pre preferred prefers prefixed preloadOpenAPIPage preloaded presents prev preventDefault preview previous primary primitive private processor prop properties property props prose prose-no-margin prose-sm prose-xs provider providers proxied proxy proxyForwardCookie proxyUrl ps-1 ps-1.5 ps-3 ps-3.5 ps-4 ps-6 pt-1.5 pt-2 pt-2.5 pt-3 public px-1 px-1.5 px-2 px-2.5 px-3 px-4 py-0 py-0.5 py-1 py-1.5 py-2 py-2.5 py-3 py-6 py-8 query quiet random range raw react react-dom react-hooks/exhaustive-deps react/jsx-runtime read read-only readOnly readonly record red redirect redirectUrl redirect_uri redirected redirects ref reference refs regenerated rehype-react rejects rel relative relativePath remark remark-rehype remarkGfm remarkRehype remounted removable removal remove removeItem removed render renderAPIExampleUsageTabs renderBodyField renderCodeblock renderMarkdown renderParameterField rendered renderers renders replace replaces represents request request-body requestBody requestData requestInit requestTimeout requestUrl requested requesting requests required requirement requirements res reserved reset resize-none resized resolve resolveMediaAdapter resolveUrl resolved resolvedInput resolvedTheme resolves respond response response-body responseNode responseTabs response_type responses rest restore restored result return returned returnedFlow returnedScheme returning returns revoked right ring-1 ring-fd-border role room root rootId rotate-90 rounded rounded-[5px] rounded-full rounded-lg rounded-md rounded-none rounded-sm rounded-xl route row row-span-2 rowButtonClassName rows run runtime s safeParse same satisfies scalar scan schema schemaId schemaKeys schemaPropKeys schemaUI schemas scheme schemeId schemes scope scopeOptions scopes scopes_supported screen screens scroll scroll-m-20 scroll-mt-[calc(var(--fd-docs-row-3,0px)+1rem)] scrollArrowClassName scrollMarginClassName search secondary seconds secret secrets section sectionIcons sectionNames sections security see segments segs select select-all select-none selectExample selectable selected selectedType selector selectors selects self-center send sending sends separator server server-to-server serverSchema serverUrl servers services session sessionStorage set setAuthorizing setClientAuth setCode setCollapsed setDraft setError setFilter setIndex setInfo setMode setMotion setName setNextName setOpen setResponse setScopes setSelected setSelectedFor setSending setServerVariables setShow setShowSchema setStack setType setUserCode setValue setView several shadow-lg shadow-md shadow-none shadow-sm share shared shared-api/auto-anchor shiki shikiOptions shorten show showDescription showExample showResponseSchema showSelect showTitle shown shrink shrink-0 sibling siblings side sideOffset signal signing single size size-2 size-3 size-3.5 size-4 size-5 skipNonRequired skipReadOnly slashes slides sliding slot slotClassName slotType slots slow_down sm sm:-translate-x-1/2 sm:-translate-y-1/2 sm:border sm:flex-row sm:gap-2 sm:h-[min(52rem,calc(100dvh-3rem))] sm:inline sm:inset-auto sm:justify-end sm:left-1/2 sm:max-h-[min(52rem,calc(100dvh-3rem))] sm:mb-4 sm:mx-4 sm:ps-5 sm:px-4 sm:rounded-2xl sm:shadow-2xl sm:text-start sm:top-1/2 sm:w-[min(64rem,calc(100vw-3rem))] sm:w-[min(80rem,calc(100vw-3rem))] smaller smooth so some something space spellCheck sr-only src stable stack stacked start started starting starting:opacity-0 starts state staticSource status statusInfo stays step stf sticky stops storageKey storageKeyPrefix store stored string stringSchema stringify stringifyFieldKey structuredData style styles submit subscribeNever such suspends svg switch switches sync syncExample synced t tPlayground tab tables tabs tabular-nums tagClassName taken takes target tell text text-4xl text-[0.8125rem] text-amber-600 text-blue-600 text-center text-end text-fd-card-foreground text-fd-foreground text-fd-muted-foreground text-fd-muted-foreground/60 text-fd-muted-foreground/70 text-fd-popover-foreground text-fd-primary text-fd-primary-foreground text-fd-primary-foreground/60 text-fd-secondary-foreground text-green-600 text-lg text-nowrap text-orange-600 text-red-400 text-red-400/80 text-red-600 text-sm text-start text-xl text-xs text-yellow-600 text/css text/csv text/html text/plain texts than that the their them themes then there they this through throw timeout timer timerRef tips title tls to to-transparent toJsxRuntime toStaticData toc toggle toggled token tokenUrl token_type token_url toolbar top top-(--active-tab-top) top-0 top-1/2 top-2 total tracking-tight tracking-widest transform transformPageTree transition-[background-color,scale] transition-[height,opacity] transition-[height] transition-[opacity,scale] transition-[translate,background-color] transition-[translate,width] transition-colors transition-opacity transition-shadow transition-transform transitionClassName translate-x-(--active-tab-left) translations tree trigger true truncate try type typeClassName typeof types undefined under underline underline-offset-4 union unionField unions unique unit unknown unset until update updateInfo updated updating url urn:ietf:params:oauth:grant-type:device_code usage usageTabs usages use useAnchorId useAnchorLink useApiClient useComponents useCopyButton useFieldValue useMemo useNamespace useObject useOnChange useOpenAPI useOperation useQuery useRef useRenderContext useResolvedSchema useResponseExamples useServer useState useStatusInfo useStf useSyncExternalStore useTheme useTranslations used userCode user_code username users using v value valueSchema values variable variables variant variants verification verificationUri verificationUriComplete verification_uri verifier via view viewportClassName viewportProps virtual void w-(--active-tab-width) w-0 w-7 w-72 w-[min(26rem,calc(100vw-2rem))] w-auto w-fit w-full w-max warn was we webhook webhooks what when where while whitespace-pre why width widths will window with without would wrap-anywhere wrap-break-word wrapping write writeOnly written x-exclusiveCodeSample x-playground-lazy xml yellow your z-0 z-10 z-50");
1
+ @source inline("!collapsed !isDefined !readOnly !renderBodyField !required !returned *:data-[collapsible=true]:order-last *:flex-1 *:justify-center *:min-w-0 --- --accordion-panel-height --active-tab-height --active-tab-left --active-tab-top --active-tab-width --anchor-width --available-height --collapsible-panel-height --fd-docs-height --fd-docs-row-3 --spacing --transform-origin -mode -ms-0.5 -ms-2 -mt-1 -my-1 -z-1 @4xl:flex @4xl:flex-col @4xl:flex-row @4xl:items-start @4xl:max-h-[calc(var(--fd-docs-height,100dvh)-var(--fd-docs-row-3,0px)-2rem)] @4xl:sticky @4xl:top-[calc(var(--fd-docs-row-3,0px)+1rem)] @4xl:w-[400px] @container @default @defaultValue @deprecated @fuma-translate/react @fumadocs/json-schema @fumari/stf @max-sm:bg-fd-secondary/50 @max-sm:border @max-sm:empty:w-2 @max-sm:mx-4 @max-sm:overflow-hidden @max-sm:pb-1.5 @max-sm:pb-3 @max-sm:pe-2 @max-sm:rounded-lg @max-xl:basis-full @max-xl:border-t @max-xl:flex-1 @max-xl:ps-1.5 @md:block @md:grid-cols-2 @param @returns @scalar/api-client-react @see @sm:-me-2 @sm:-me-2.5 @sm:border-s @sm:grid-cols-[minmax(9rem,1fr)_minmax(0,2fr)] @sm:min-h-10 @sm:pe-7.5 @sm:pe-8 @xl:w-40 [&[hidden]:not([hidden='until-found'])]:hidden [&_a]:underline [&_code]:font-mono [&_svg]:size-3 [&_svg]:size-3.5 [--fd-docs-row-3:0px] [grid-area:1/1] [scrollbar-width:none] a abort above absolute accept access access_token accordion accordions actions active:scale-[0.97] actual adapter adapters add added additional additionalProperties after again against alias align aligns all allOf allow allowJson allowed already also alt among an anchor anchorSegments and animate-spin animates any anyFields anyOf apiExample apiKey apiPlayground appearance-none application/javascript application/json application/x-javascript application/x-www-form-urlencoded application/xml applied applies apply are aria-checked aria-current aria-expanded aria-expanded:decoration-solid aria-expanded:text-fd-accent-foreground aria-hidden aria-label aria-live aria-pressed aria-pressed:bg-fd-background aria-pressed:ring-1 aria-pressed:ring-fd-border aria-pressed:shadow-sm aria-pressed:text-fd-foreground arkdown array arrow as async at audience auth authNode authProviders authSchemes authenticate authorization authorizationCode authorizationUrl authorization_code authorization_pending authorization_url authorize authorized authorizes auto-cols-[minmax(0,max-content)] autoComplete available avoid await away back backdrop-blur-[1px] backdrop-blur-xs background badgeVariants bar base baseDir basic basis-full be bearer before behavior below between bg-amber-500 bg-amber-500/10 bg-black/40 bg-blue-500 bg-current/10 bg-fd-accent bg-fd-background bg-fd-background/50 bg-fd-card bg-fd-card/70 bg-fd-muted bg-fd-muted-foreground bg-fd-popover bg-fd-primary bg-fd-primary/10 bg-fd-secondary bg-green-500 bg-linear-to-b bg-linear-to-t bg-red-500 bg-transparent binary block blocks blue body bodyMediaType bodyNode bodyUrlRef boolean border border-0 border-b border-b-0 border-current border-dashed border-fd-muted-foreground/50 border-fd-primary border-fd-primary/20 border-s border-t bottom bottom-0 box box-content breadcrumbs break-all browser built-in builtinProviders bundled but button buttonVariants by bytes cache cached cachedDocFiles callbacks callbacksNode can cancel cancelled candidates cannot caption captioned captionedCodeBlock card cardCodeBlock case catch cause cell center certificate ch challenge change changes charset check checkbox checked chevron chevronClassName children class class-variance-authority className cleanup clearResponse click client client-rendered clientAuth clientCredentials clientId clientSecret clientWidth client_auth client_credentials client_error client_id client_secret clients cloned close closeDelay closest cn code codeProps codeUsages code_challenge code_challenge_method code_verifier codeblock col-span-2 col-span-full collapse collapses collapsible color come component components compute confidential config configUrl configuration configurations const constraints container content contentTypes contents control controller controllerRef controls cookie cookies copy copyable copying core count covered createContext createOAuthHandler createOpenAPIPageBase createProxy credentials cross-origin crumbClassName crumbs css csv ctx current currentValue cursor-pointer cursor-text custom customise customization cva dark dark:aria-pressed:bg-fd-accent dark:bg-fd-accent dark:text-amber-400 dark:text-blue-400 dark:text-green-400 dark:text-orange-400 dark:text-red-400 dark:text-yellow-400 data data-[disabled]:opacity-50 data-[disabled]:pointer-events-none data-[highlighted]:bg-fd-accent data-[highlighted]:text-fd-accent-foreground data-active:text-fd-foreground data-checked:bg-fd-primary data-checked:bg-fd-primary-foreground data-checked:translate-x-3 data-collapsible data-ending-style:duration-150 data-ending-style:h-0 data-ending-style:opacity-0 data-ending-style:scale-95 data-ending-style:scale-[0.97] data-ending-style:scale-[0.98] data-highlighted:bg-fd-accent data-highlighted:text-fd-accent-foreground data-placeholder:text-fd-muted-foreground data-popup-open:bg-fd-accent data-popup-open:text-fd-accent-foreground data-popup-open:text-fd-foreground data-starting-style:h-0 data-starting-style:opacity-0 data-starting-style:scale-95 data-starting-style:scale-[0.98] dataEngine decimal declare decode decoration-dotted default defaultMdxComponents defaultShikiFactory defaultShikiOptions defaultValue defaultValues defaults define definitions delay delay-150 delete deprecated depth dereference dereferenced described describes description descriptionNode descriptions device deviceAuthorization deviceAuthorizationUrl device_authorization_url device_code devices dialog didn direction directories disable disableCache disabled disabled:cursor-not-allowed disabled:opacity-50 disabled:opacity-80 discovered discovering display displayNames disposition div doc docCache docFilesCache docRoot docs document documents does doesn domain don download downloaded drives drop duplicated duration duration-150 duration-200 duration-250 during dynamic dynamicSource e each eading early ease-[cubic-bezier(0.16,1,0.3,1)] ease-[cubic-bezier(0.22,1,0.36,1)] ease-out edge edit edited editing editor edits element elements else empty empty:hidden enabled encode encodeRequestData encoded end ending endpoint endpoints ends enforce engine enter entries entry enum err error error_description errors eslint-disable-next-line even every example exampleCardClassName examples exclusiveMax exclusiveMin expand expected expiresAt expires_in export exported expressions extended extends fades failed fallback false fast-content-type-parse fd-page-tree-item-name fd-scroll-container fetch fetchOptions fetcher field field-sizing-content fieldData fieldLabelVariants fieldName fields file fileName files fill-current filled filling fills filter filterable finally finishes finishing first first:border-t-0 first:mt-0 fixed flex flex-1 flex-col flex-col-reverse flex-row flex-wrap flow flow-root flowInfo flowReturned flows flushSync focus-visible:bg-fd-accent/40 focus-visible:bg-fd-primary/15 focus-visible:bg-fd-secondary focus-visible:opacity-100 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-2 focus-visible:ring-fd-primary/30 focus-visible:ring-fd-ring focus-visible:ring-fd-ring/50 focus-visible:ring-inset focus-visible:text-fd-accent-foreground focus-within:ring-1 focus-within:ring-fd-ring focus:outline-none focus:ring focus:ring-0 focus:ring-fd-ring folder folderStyle follow font-light font-medium font-mono font-normal font-sans font-semibold for form form-encoded format forward fragment from from-fd-popover full fumadocs-core/source fumadocs-core/toc fumadocs-openapi-flow fumadocs-openapi-oauth fumadocs-ui/mdx fumadocs:openapi fumadocs_openapi_requests function gap-0.5 gap-1 gap-1.5 gap-2 gap-2.5 gap-24 gap-3 gap-4 gap-x-2 gap-x-3 gap-x-6 gap-y-1 gap-y-4 generate generateDefault generateSchemaUI generateTypeScriptDefinitions generated generators get getLink getOpenAPIPageProps getPreferredType getRaw getSchema getSchemas gets ghost github-dark github-light given go goes going grant_type grant_types_supported grants gray green grid grid-cols-1 grid-cols-[auto_minmax(0,1fr)] grid-cols-[auto_minmax(0,1fr)_auto] grid-cols-[minmax(0,2fr)_minmax(0,3fr)] grid-flow-col group group-data-[panel-open]/accordion:rotate-90 group-data-popup-open:rotate-180 group-hover/nav:translate-x-0.5 group-hover/property:opacity-100 group-hover:translate-x-0.5 group-hover:translate-x-px group/accordion group/nav group/property group/row h-(--accordion-panel-height) h-(--active-tab-height) h-(--collapsible-panel-height) h-10 h-12 h-4 h-5 h-6 h-7 h-8 h-9 h-[240px] h-auto h-full h-px h1 handle handled handles has has-focus-visible:bg-fd-secondary has-focus-visible:border-fd-ring hasVariables hash hast-util-to-jsx-runtime have headNode header headerRef headers heading headingLevel headless here hidden hiddenKeys hiddenProperties highlighted highlighter hint holding holds hook hover hover:bg-fd-accent hover:bg-fd-accent/40 hover:bg-fd-accent/50 hover:bg-fd-primary/15 hover:bg-transparent hover:text-fd-accent-foreground hover:text-fd-foreground how href html htmlFor http hydration i icon icon-sm icon-xs iconButtonClassName id idx if img implicit import imports in including index indicator info infoTags init initAuth initial inline inline-flex input inputMode inputs inset-0 inset-x-0 inside installed instanceof instead integer interface interval into invalid invisible is isCopied isDefined isDynamic isExpanded isHighlighted isLazy isLoading isMac isNumber isRequired isSending isn issues it item itemSchema items items-baseline items-center items-start items-stretch its itself js json json-schema-typed justify-between justify-center justify-end kB keep keeps kept key keyed keyof keys kind label labelClassName labelled lang languages larger last last:border-b-0 last:shrink-0 layout layouts lazy leading-5 leading-relaxed leave leaving left left-0 length let light like line-through link links list listed listener listeners load loadDocument loaderPlugin loading loads location lock locked long longer lucide-react make map mapValues margin margins marked match matching max max-age max-h-(--available-height) max-h-[min(18rem,30vh)] max-h-none max-md:hidden max-w-1/2 max-w-40 max-w-60 max-w-64 max-w-72 max-w-80 max-w-[calc(100vw-2rem)] max-w-full max-w-none may mb-3 mb-4 md md:border-s md:grid-cols-[minmax(0,11fr)_minmax(0,9fr)] md:hidden me-1 me-2 me-auto measure measured media mediaAdapters mediaType member members menu menuItems merge message meta metaData metaKey method methods milliseconds mime min min-h-0 min-h-10 min-h-11 min-h-60 min-h-9 min-h-full min-w-0 min-w-16 min-w-40 min-w-[calc(var(--anchor-width)+--spacing(2))] mode motion motion-reduce:transition-none motion-reduce:transition-opacity motion-safe:-translate-x-6 motion-safe:duration-300 motion-safe:ease-[cubic-bezier(0.16,1,0.3,1)] motion-safe:starting:-translate-x-6 motion-safe:starting:-translate-y-4 motion-safe:starting:opacity-0 motion-safe:starting:scale-0 motion-safe:starting:translate-x-6 motion-safe:starting:translate-y-1 motion-safe:starting:translate-y-4 motion-safe:transition-[opacity,translate] motion-safe:transition-opacity motion-safe:transition-transform motionClassNames mounted ms ms-1 ms-1.5 ms-auto mt-0! mt-0.5 mt-1 mt-1.5 mt-10 mt-2.5 mt-px multipart/form-data multiple must mutual mutualTLS mutualTLSProvider mx-1 mx-3 mx-px my-0! my-1 my-3 name name! named names namespace narrow nav navigate navigator nearest needs nested never new next next/previous no no-cache noValidate node node:path noop noreferrer normalizes not not-prose note null number oauth oauth2 oauthPanelProvider oauthRedirectUrl object objectGet objects observer obtain of off ok omit omitted on onAppend onAuthorize onBack onCancel onChange onCheckedChange onClick onCopy onKeyDown onLink onNavigate onOpenChange onRemove onReset onReturn onRoot onSelect onSubmit onUserCode onValueChange once one oneOf ones only opacity-0 opacity-80 open openApiData openIdConnect openIdConnectUrl openNested openOnHover openapi openapiMeta opened opening opens operation options or orange order-last origin origin-(--transform-origin) other others otherwise out outline outline-none output outside over overflow-auto overflow-clip overflow-hidden overflow-x-auto overflow-y-auto override overview own p-0 p-0.5 p-1 p-1.5 p-2 p-2.5 p-3 p-4 p-5 p-6 packages padding page pageData pages panel panelCodeBlock panelKey panels param parameter parameterLabel parameterNode parameters params parent parentIndex parents parsed parts party pass password path pathItem pathnameFromRequest pattern patternProperties payload pb-1 pb-2 pb-2.5 pb-3 pe-1 pe-1.5 pe-2 pe-3 pe-4 peer-disabled:cursor-not-allowed peer-disabled:opacity-70 pendingFlowKey persisted pill place placed placeholder placeholder:font-sans placeholder:text-fd-muted-foreground placeholder:text-fd-muted-foreground/70 placeholder:text-fd-primary/50 playground playgrounds please plugins pointer-coarse:opacity-100 polite poll polling popover popup position postForm pre preferred prefers prefixed preloadOpenAPIPage preloaded presents prev preventDefault preview previous primary primitive private processor prop properties property props prose prose-no-margin prose-sm prose-xs provider providers proxied proxy proxyForwardCookie proxyUrl ps-1 ps-1.5 ps-3 ps-3.5 ps-4 ps-6 pt-1.5 pt-2 pt-2.5 pt-3 public px-1 px-1.5 px-2 px-2.5 px-3 px-4 py-0 py-0.5 py-1 py-1.5 py-2 py-2.5 py-3 py-6 py-8 query quiet random range raw react react-dom react-hooks/exhaustive-deps react/jsx-runtime read read-only readOnly readonly reads record red redirect redirectUrl redirect_uri redirected redirects ref reference refs regenerated rejects rel relative relativePath remark remark-rehype remarkGfm remarkRehype remounted removable removal remove removeItem removed render renderAPIExampleUsageTabs renderBodyField renderCodeblock renderMarkdown renderParameterField rendered renderers renders replace replaces represents request request-body requestBody requestData requestInit requestTimeout requestUrl requested requesting requests required requirement requirements res reserved reset resize-none resized resolve resolveMediaAdapter resolveUrl resolved resolvedInput resolvedTheme resolves respond response response-body responseNode responseTabs response_type responses rest restore restored result return returned returnedFlow returnedScheme returning returns revoked right ring-1 ring-fd-border role room root rootId rotate-90 rounded rounded-[5px] rounded-full rounded-lg rounded-md rounded-none rounded-sm rounded-xl route row row-span-2 rowButtonClassName rows run runtime s safeParse same satisfies scalar scan schema schemaId schemaKeys schemaPropKeys schemaUI schemas scheme schemeId schemes scope scopeOptions scopes scopes_supported screen screens scroll scroll-m-20 scroll-mt-[calc(var(--fd-docs-row-3,0px)+1rem)] scrollArrowClassName scrollMarginClassName scrolling search secondary seconds secret secrets section sectionIcons sectionNames sections security see segments segs select select-all select-none selectExample selectable selected selectedType selecting selector selectors selects self-center send sending sends separator server server-to-server serverSchema serverUrl servers services session sessionStorage set setAuthorizing setClientAuth setCode setCollapsed setDraft setError setFilter setIndex setInfo setMode setMotion setName setNextName setOpen setResponse setScopes setSelected setSelectedFor setSending setServerVariables setShow setShowSchema setStack setType setUserCode setValue setView several shadow-lg shadow-md shadow-none shadow-sm share shared shared-api/auto-anchor shiki shikiOptions shorten show showDescription showExample showResponseSchema showSelect showTitle shown shrink shrink-0 sibling siblings side sideOffset signal signing single size size-2 size-3 size-3.5 size-4 size-5 skipNonRequired skipReadOnly slashes slides sliding slot slotClassName slotType slots slow_down sm sm:-translate-x-1/2 sm:-translate-y-1/2 sm:border sm:h-[min(52rem,calc(100dvh-3rem))] sm:inline sm:inset-auto sm:left-1/2 sm:max-h-[min(52rem,calc(100dvh-3rem))] sm:mb-4 sm:mx-4 sm:ps-5 sm:px-4 sm:rounded-2xl sm:shadow-2xl sm:top-1/2 sm:w-[min(64rem,calc(100vw-3rem))] sm:w-[min(80rem,calc(100vw-3rem))] smaller smooth so some something space spellCheck sr-only src stable stack stacked start started starting starting:opacity-0 starts state staticSource status statusInfo stay stays step stf sticky still stops storageKey storageKeyPrefix store stored string stringSchema stringify stringifyFieldKey structuredData style styles submit subscribeNever such suspends svg switch switches sync syncExample synced t tPlayground tab tables tabs tabular-nums tagClassName taken takes target tell text text-4xl text-[0.8125rem] text-amber-600 text-blue-600 text-center text-end text-fd-accent-foreground text-fd-card-foreground text-fd-foreground text-fd-muted-foreground text-fd-muted-foreground/60 text-fd-muted-foreground/70 text-fd-popover-foreground text-fd-primary text-fd-primary-foreground text-fd-primary-foreground/60 text-fd-secondary-foreground text-green-600 text-nowrap text-orange-600 text-red-400 text-red-400/80 text-red-600 text-sm text-start text-xl text-xs text-yellow-600 text/css text/csv text/html text/plain texts than that the their them themes then there they this through throw timeout timer timerRef tips title tls to to-transparent toJsxRuntime toStaticData toc toggle toggled token tokenUrl token_type token_url toolbar top top-(--active-tab-top) top-0 total tracking-tight tracking-widest transform transformPageTree transition-[background-color,scale] transition-[height,opacity] transition-[height] transition-[opacity,scale] transition-[translate,background-color] transition-[translate,width] transition-colors transition-opacity transition-shadow transition-transform transitionClassName translate-x-(--active-tab-left) translations trigger true truncate try type typeClassName typeof types typing undefined under underline underline-offset-4 union unionField unions unique unit unknown unset until update updateInfo updated updating url urn:ietf:params:oauth:grant-type:device_code usage usageTabs usages use useAnchorId useAnchorLink useApiClient useComponents useCopyButton useDataEngine useFieldValue useMemo useNamespace useObject useOnChange useOpenAPI useOperation useQuery useRef useRenderContext useResolvedSchema useResponseExamples useSchemaUtils useServer useState useStatusInfo useStf useSyncExternalStore useTheme useTranslations used userCode user_code username users using v value valueSchema values variable variables variant variants verification verificationUri verificationUriComplete verification_uri verifier via view viewportClassName viewportProps virtual void w-(--active-tab-width) w-0 w-7 w-72 w-[min(26rem,calc(100vw-2rem))] w-auto w-fit w-full w-max warn was we webhook webhooks what when where while whitespace-pre why width widths will window with without would wrap-anywhere wrap-break-word wrapping write writeOnly written x-exclusiveCodeSample x-playground-lazy xml yellow yet your z-0 z-10 z-50");
@@ -1,10 +1,7 @@
1
1
  //#region src/.translations/index.d.ts
2
2
  export type Translations = {
3
- "1 item(playground)": string;
4
3
  "Accepted(playground status info)": string;
5
- "Add Item(playground)": string;
6
4
  "Add this to the allowed redirect URIs of your OAuth application.(OAuth dialog)": string;
7
- "Add(playground)": string;
8
5
  "Authenticate using username and password.(OAuth dialog)": string;
9
6
  "Authenticate with 3rd party services(OAuth dialog)": string;
10
7
  "Authenticate with device.(OAuth dialog)": string;
@@ -14,7 +11,6 @@ export type Translations = {
14
11
  "Authorization(security scheme)": string;
15
12
  "Authorize(OAuth dialog)": string;
16
13
  "Authorize(playground)": string;
17
- "Back(playground)": string;
18
14
  "Bad Gateway(playground status info)": string;
19
15
  "Bad Request(playground status info)": string;
20
16
  "Basic <token>(security scheme)": string;
@@ -22,11 +18,9 @@ export type Translations = {
22
18
  "Binary response body, {length} bytes(playground result display)": string;
23
19
  "Body(playground result display)": string;
24
20
  "Body(playground)": string;
25
- "Breadcrumb(playground)": string;
26
21
  "Callbacks(operation page)": string;
27
22
  "Cancel(OAuth dialog)": string;
28
23
  "Check the server URL. If the API does not allow cross-origin requests from this site, a proxy is needed.(playground result display)": string;
29
- "Choose a file(playground)": string;
30
24
  "Clear(playground result display)": string;
31
25
  "Client Credentials(OAuth dialog)": string;
32
26
  "Client certificate(security scheme)": string;
@@ -39,7 +33,6 @@ export type Translations = {
39
33
  "Copy(playground)(aria-label)": string;
40
34
  "Created(playground status info)": string;
41
35
  "Default(operation page)": string;
42
- "Default(schema UI)": string;
43
36
  "Deprecated(operation page)": string;
44
37
  "Deprecated(playground)": string;
45
38
  "Deprecated(security scheme)": string;
@@ -48,10 +41,7 @@ export type Translations = {
48
41
  "Editor(playground)": string;
49
42
  "Empty response body(playground result display)": string;
50
43
  "Empty(operation page)": string;
51
- "Enter Property Name(playground)": string;
52
- "Enter Value(playground server select)": string;
53
44
  "Enter this code on the verification page.(OAuth dialog)": string;
54
- "Enter value(playground)": string;
55
45
  "Error(playground status info)": string;
56
46
  "Example Request(operation page)": string;
57
47
  "Example Requests(operation page)": string;
@@ -59,14 +49,11 @@ export type Translations = {
59
49
  "Example {key}(operation page)": string;
60
50
  "Example(operation page)": string;
61
51
  "Example(playground)": string;
62
- "Example(schema UI)": string;
63
52
  "Failed to fetch token(playground)": string;
64
53
  "Failed to load the OpenID Connect configuration(OAuth dialog)": string;
65
54
  "Fetching token...(playground)": string;
66
- "Field Info(playground)": string;
67
55
  "Forbidden(playground status info)": string;
68
56
  "Form(playground)": string;
69
- "Format(schema UI)": string;
70
57
  "Found(playground status info)": string;
71
58
  "Header Parameters(operation page)": string;
72
59
  "Header(playground)": string;
@@ -75,29 +62,21 @@ export type Translations = {
75
62
  "Include the client ID and secret in the token request body.(OAuth dialog)": string;
76
63
  "Intended for the server-to-server authentication.(OAuth dialog)": string;
77
64
  "Internal Server Error(playground status info)": string;
78
- "Items(schema UI)": string;
79
- "Length(schema UI)": string;
80
65
  "Loading the OpenID Connect configuration...(OAuth dialog)": string;
81
- "Match(schema UI)": string;
82
66
  "Method Not Allowed(playground status info)": string;
83
67
  "Moved Permanently(playground status info)": string;
84
68
  "No Content(playground status info)": string;
85
69
  "No example available.(playground)": string;
86
70
  "Not Found(playground status info)": string;
87
71
  "Not Modified(playground status info)": string;
88
- "Not set(playground)": string;
89
72
  "OK(playground status info)": string;
90
73
  "Open verification page(OAuth dialog)": string;
91
74
  "OpenID Connect(security scheme)": string;
92
75
  "Path Parameters(operation page)": string;
93
76
  "Path(playground)": string;
94
- "Property Name(playground)": string;
95
77
  "Query Parameters(operation page)": string;
96
78
  "Query(playground)": string;
97
- "Range(schema UI)": string;
98
79
  "Redirect(playground status info)": string;
99
- "Remove Item(playground)(aria-label)": string;
100
- "Remove(playground)": string;
101
80
  "Request Body(operation page)": string;
102
81
  "Request Failed(playground result display)": string;
103
82
  "Request(playground)": string;
@@ -107,10 +86,8 @@ export type Translations = {
107
86
  "Response(playground)": string;
108
87
  "Retrieve the access token directly.(OAuth dialog)": string;
109
88
  "Schema(operation page)": string;
110
- "Schema(playground)": string;
111
89
  "Scope(security scheme)": string;
112
90
  "Scopes(OAuth dialog)": string;
113
- "Select(playground)": string;
114
91
  "Send a request to see its response.(playground)": string;
115
92
  "Send as Basic Auth header(OAuth dialog)": string;
116
93
  "Send client credentials in body(OAuth dialog)": string;
@@ -119,24 +96,18 @@ export type Translations = {
119
96
  "Sending request...(playground)": string;
120
97
  "Server URL(playground server select)": string;
121
98
  "Service Unavailable(playground status info)": string;
122
- "Show Property(playground)": string;
123
99
  "Successful(playground status info)": string;
124
- "Switch Field(playground)": string;
125
100
  "Test(scalar API client)": string;
126
101
  "The client ID of your OAuth application.(OAuth dialog)": string;
127
102
  "The client secret of your OAuth application.(OAuth dialog)": string;
128
103
  "This endpoint has no parameters.(playground)": string;
129
104
  "Too Many Requests(playground status info)": string;
130
105
  "Try in Playground(playground)": string;
131
- "Type(playground)": string;
132
106
  "Unauthorized(playground status info)": string;
133
107
  "Unprocessable Content(playground status info)": string;
134
- "Unset(playground)": string;
135
108
  "Use the {name} type in TypeScript.(TypeScript definitions)": string;
136
- "Variables(playground server select)": string;
137
109
  "Waiting for authorization...(OAuth dialog)": string;
138
110
  "You will be redirected to authorize, then back to this page.(OAuth dialog)": string;
139
111
  "You will get a code to enter on the verification page.(OAuth dialog)": string;
140
- "{count} items(playground)": string;
141
112
  };
142
113
  //#endregion
@@ -1,10 +1,7 @@
1
1
  //#region src/.translations/keys.json
2
2
  var keys_default = [
3
- "1 item(playground)",
4
3
  "Accepted(playground status info)",
5
- "Add Item(playground)",
6
4
  "Add this to the allowed redirect URIs of your OAuth application.(OAuth dialog)",
7
- "Add(playground)",
8
5
  "Authenticate using username and password.(OAuth dialog)",
9
6
  "Authenticate with 3rd party services(OAuth dialog)",
10
7
  "Authenticate with device.(OAuth dialog)",
@@ -14,7 +11,6 @@ var keys_default = [
14
11
  "Authorization(security scheme)",
15
12
  "Authorize(OAuth dialog)",
16
13
  "Authorize(playground)",
17
- "Back(playground)",
18
14
  "Bad Gateway(playground status info)",
19
15
  "Bad Request(playground status info)",
20
16
  "Basic <token>(security scheme)",
@@ -22,11 +18,9 @@ var keys_default = [
22
18
  "Binary response body, {length} bytes(playground result display)",
23
19
  "Body(playground result display)",
24
20
  "Body(playground)",
25
- "Breadcrumb(playground)",
26
21
  "Callbacks(operation page)",
27
22
  "Cancel(OAuth dialog)",
28
23
  "Check the server URL. If the API does not allow cross-origin requests from this site, a proxy is needed.(playground result display)",
29
- "Choose a file(playground)",
30
24
  "Clear(playground result display)",
31
25
  "Client Credentials(OAuth dialog)",
32
26
  "Client certificate(security scheme)",
@@ -39,7 +33,6 @@ var keys_default = [
39
33
  "Copy(playground)(aria-label)",
40
34
  "Created(playground status info)",
41
35
  "Default(operation page)",
42
- "Default(schema UI)",
43
36
  "Deprecated(operation page)",
44
37
  "Deprecated(playground)",
45
38
  "Deprecated(security scheme)",
@@ -48,10 +41,7 @@ var keys_default = [
48
41
  "Editor(playground)",
49
42
  "Empty response body(playground result display)",
50
43
  "Empty(operation page)",
51
- "Enter Property Name(playground)",
52
- "Enter Value(playground server select)",
53
44
  "Enter this code on the verification page.(OAuth dialog)",
54
- "Enter value(playground)",
55
45
  "Error(playground status info)",
56
46
  "Example Request(operation page)",
57
47
  "Example Requests(operation page)",
@@ -59,14 +49,11 @@ var keys_default = [
59
49
  "Example {key}(operation page)",
60
50
  "Example(operation page)",
61
51
  "Example(playground)",
62
- "Example(schema UI)",
63
52
  "Failed to fetch token(playground)",
64
53
  "Failed to load the OpenID Connect configuration(OAuth dialog)",
65
54
  "Fetching token...(playground)",
66
- "Field Info(playground)",
67
55
  "Forbidden(playground status info)",
68
56
  "Form(playground)",
69
- "Format(schema UI)",
70
57
  "Found(playground status info)",
71
58
  "Header Parameters(operation page)",
72
59
  "Header(playground)",
@@ -75,29 +62,21 @@ var keys_default = [
75
62
  "Include the client ID and secret in the token request body.(OAuth dialog)",
76
63
  "Intended for the server-to-server authentication.(OAuth dialog)",
77
64
  "Internal Server Error(playground status info)",
78
- "Items(schema UI)",
79
- "Length(schema UI)",
80
65
  "Loading the OpenID Connect configuration...(OAuth dialog)",
81
- "Match(schema UI)",
82
66
  "Method Not Allowed(playground status info)",
83
67
  "Moved Permanently(playground status info)",
84
68
  "No Content(playground status info)",
85
69
  "No example available.(playground)",
86
70
  "Not Found(playground status info)",
87
71
  "Not Modified(playground status info)",
88
- "Not set(playground)",
89
72
  "OK(playground status info)",
90
73
  "Open verification page(OAuth dialog)",
91
74
  "OpenID Connect(security scheme)",
92
75
  "Path Parameters(operation page)",
93
76
  "Path(playground)",
94
- "Property Name(playground)",
95
77
  "Query Parameters(operation page)",
96
78
  "Query(playground)",
97
- "Range(schema UI)",
98
79
  "Redirect(playground status info)",
99
- "Remove Item(playground)(aria-label)",
100
- "Remove(playground)",
101
80
  "Request Body(operation page)",
102
81
  "Request Failed(playground result display)",
103
82
  "Request(playground)",
@@ -107,10 +86,8 @@ var keys_default = [
107
86
  "Response(playground)",
108
87
  "Retrieve the access token directly.(OAuth dialog)",
109
88
  "Schema(operation page)",
110
- "Schema(playground)",
111
89
  "Scope(security scheme)",
112
90
  "Scopes(OAuth dialog)",
113
- "Select(playground)",
114
91
  "Send a request to see its response.(playground)",
115
92
  "Send as Basic Auth header(OAuth dialog)",
116
93
  "Send client credentials in body(OAuth dialog)",
@@ -119,25 +96,19 @@ var keys_default = [
119
96
  "Sending request...(playground)",
120
97
  "Server URL(playground server select)",
121
98
  "Service Unavailable(playground status info)",
122
- "Show Property(playground)",
123
99
  "Successful(playground status info)",
124
- "Switch Field(playground)",
125
100
  "Test(scalar API client)",
126
101
  "The client ID of your OAuth application.(OAuth dialog)",
127
102
  "The client secret of your OAuth application.(OAuth dialog)",
128
103
  "This endpoint has no parameters.(playground)",
129
104
  "Too Many Requests(playground status info)",
130
105
  "Try in Playground(playground)",
131
- "Type(playground)",
132
106
  "Unauthorized(playground status info)",
133
107
  "Unprocessable Content(playground status info)",
134
- "Unset(playground)",
135
108
  "Use the {name} type in TypeScript.(TypeScript definitions)",
136
- "Variables(playground server select)",
137
109
  "Waiting for authorization...(OAuth dialog)",
138
110
  "You will be redirected to authorize, then back to this page.(OAuth dialog)",
139
- "You will get a code to enter on the verification page.(OAuth dialog)",
140
- "{count} items(playground)"
111
+ "You will get a code to enter on the verification page.(OAuth dialog)"
141
112
  ];
142
113
  //#endregion
143
114
  export { keys_default as default };
@@ -1,4 +1,4 @@
1
- import { doubleQuote } from "./requests/string-utils.js";
1
+ import { jsxString } from "./requests/string-utils.js";
2
2
  import { fromSchema } from "./utils/pages/builder.js";
3
3
  import { generateDocument, toText } from "./utils/pages/to-text.js";
4
4
  import { createAutoPreset } from "./utils/pages/preset-auto.js";
@@ -16,7 +16,7 @@ async function generateFiles(options) {
16
16
  };
17
17
  await generateFiles(subOptions);
18
18
  const { input = [] } = options.input.options;
19
- const targets = (Array.isArray(input) ? input : Object.keys(input)).filter((key) => !URL.canParse(key) && existsSync(key));
19
+ const targets = Object.values(input).filter((value) => typeof value === "string" && existsSync(value));
20
20
  console.log(`[Fumadocs OpenAPI] watching ${targets.join(", ")}`);
21
21
  watch(targets, { ignoreInitial: true }).on("all", () => generateFiles(subOptions));
22
22
  return;
@@ -117,8 +117,8 @@ function writeIndexFiles(context, options) {
117
117
  }
118
118
  for (const entry of outputEntries) {
119
119
  if (entry.type === "group") continue;
120
- const descriptionAttr = entry.info.description ? `description=${doubleQuote(entry.info.description)} ` : "";
121
- content.push(`<Card href="${urlFn(entry.path)}" title=${doubleQuote(entry.info.title)} ${descriptionAttr}/>`);
120
+ const descriptionAttr = entry.info.description ? `description=${jsxString(entry.info.description)} ` : "";
121
+ content.push(`<Card href="${urlFn(entry.path)}" title=${jsxString(entry.info.title)} ${descriptionAttr}/>`);
122
122
  }
123
123
  content.push("</Cards>");
124
124
  return generateDocument({
@@ -1,13 +1,23 @@
1
1
  //#region ../shared-api/dist/.translations/index.d.ts
2
2
  //#region src/.translations/index.d.ts
3
3
  export type Translations = {
4
+ "1 item(playground)": string;
5
+ "Add Item(playground)": string;
6
+ "Add(playground)": string;
7
+ "Back(playground)": string;
8
+ "Breadcrumb(playground)": string;
9
+ "Choose a file(playground)": string;
4
10
  "Copied Link(schema UI)(aria-label)": string;
11
+ "Copied(playground)(aria-label)": string;
5
12
  "Copy Link(schema UI)(aria-label)": string;
13
+ "Copy(playground)(aria-label)": string;
6
14
  "Default(schema UI)": string;
7
15
  "Deprecated(schema UI)": string;
8
16
  "Enter Property Name(playground)": string;
17
+ "Enter Value(playground server select)": string;
9
18
  "Enter value(playground)": string;
10
19
  "Example(schema UI)": string;
20
+ "Field Info(playground)": string;
11
21
  "Filter Properties(schema UI)": string;
12
22
  "Format(schema UI)": string;
13
23
  "Items(schema UI)": string;
@@ -17,16 +27,24 @@ export type Translations = {
17
27
  "New Item(playground)": string;
18
28
  "New(playground)": string;
19
29
  "No property matching(schema UI)": string;
30
+ "Not set(playground)": string;
20
31
  "Properties(schema UI)": string;
32
+ "Property Name(playground)": string;
21
33
  "Range(schema UI)": string;
22
34
  "Remove Item(playground)(aria-label)": string;
35
+ "Remove(playground)": string;
36
+ "Schema(playground)": string;
23
37
  "Select(playground)": string;
24
38
  "Selected(playground)": string;
25
39
  "Show Path(schema UI)(aria-label)": string;
26
40
  "Show Property(playground)": string;
41
+ "Switch Field(playground)": string;
42
+ "Type(playground)": string;
27
43
  "Unset(playground)": string;
28
44
  "Upload(playground)": string;
29
45
  "Value in(schema UI)": string;
46
+ "Variables(playground server select)": string;
47
+ "{count} items(playground)": string;
30
48
  };
31
49
  //#endregion
32
50
  //#endregion
@@ -1,12 +1,22 @@
1
1
  //#region ../shared-api/dist/.translations/keys.js
2
2
  var keys_default = [
3
+ "1 item(playground)",
4
+ "Add Item(playground)",
5
+ "Add(playground)",
6
+ "Back(playground)",
7
+ "Breadcrumb(playground)",
8
+ "Choose a file(playground)",
3
9
  "Copied Link(schema UI)(aria-label)",
10
+ "Copied(playground)(aria-label)",
4
11
  "Copy Link(schema UI)(aria-label)",
12
+ "Copy(playground)(aria-label)",
5
13
  "Default(schema UI)",
6
14
  "Deprecated(schema UI)",
7
15
  "Enter Property Name(playground)",
16
+ "Enter Value(playground server select)",
8
17
  "Enter value(playground)",
9
18
  "Example(schema UI)",
19
+ "Field Info(playground)",
10
20
  "Filter Properties(schema UI)",
11
21
  "Format(schema UI)",
12
22
  "Items(schema UI)",
@@ -16,16 +26,24 @@ var keys_default = [
16
26
  "New Item(playground)",
17
27
  "New(playground)",
18
28
  "No property matching(schema UI)",
29
+ "Not set(playground)",
19
30
  "Properties(schema UI)",
31
+ "Property Name(playground)",
20
32
  "Range(schema UI)",
21
33
  "Remove Item(playground)(aria-label)",
34
+ "Remove(playground)",
35
+ "Schema(playground)",
22
36
  "Select(playground)",
23
37
  "Selected(playground)",
24
38
  "Show Path(schema UI)(aria-label)",
25
39
  "Show Property(playground)",
40
+ "Switch Field(playground)",
41
+ "Type(playground)",
26
42
  "Unset(playground)",
27
43
  "Upload(playground)",
28
- "Value in(schema UI)"
44
+ "Value in(schema UI)",
45
+ "Variables(playground server select)",
46
+ "{count} items(playground)"
29
47
  ];
30
48
  //#endregion
31
49
  export { keys_default as default };
@@ -25,12 +25,12 @@ function createPageComponents({ shiki, shikiOptions = defaultShikiOptions, compo
25
25
  options: shikiOptions,
26
26
  ...props
27
27
  }));
28
- let processor;
28
+ let render;
29
29
  return {
30
30
  CodeBlock,
31
31
  Markdown: components.Markdown ?? (({ md }) => useMemo(() => {
32
- processor ??= createProcessor(CodeBlock);
33
- return processor.processSync(md).result;
32
+ render ??= createRenderer(CodeBlock);
33
+ return render(md);
34
34
  }, [md])),
35
35
  Heading: components.Heading ?? (({ depth, ...props }) => /* @__PURE__ */ jsx(Heading, {
36
36
  as: `h${depth}`,
@@ -38,7 +38,7 @@ function createPageComponents({ shiki, shikiOptions = defaultShikiOptions, compo
38
38
  }))
39
39
  };
40
40
  }
41
- function createProcessor(CodeBlock) {
41
+ function createRenderer(CodeBlock) {
42
42
  function Pre(props) {
43
43
  const codeProps = Children.only(props.children).props;
44
44
  const content = codeProps.children;
@@ -49,22 +49,16 @@ function createProcessor(CodeBlock) {
49
49
  code: content.trimEnd()
50
50
  });
51
51
  }
52
- const mdxComponents = {
53
- ...defaultMdxComponents,
54
- img: "img",
55
- pre: Pre
52
+ const options = {
53
+ ...JsxRuntime,
54
+ components: {
55
+ ...defaultMdxComponents,
56
+ img: "img",
57
+ pre: Pre
58
+ }
56
59
  };
57
- function rehypeReact() {
58
- this.compiler = (tree, file) => {
59
- return toJsxRuntime(tree, {
60
- development: false,
61
- filePath: file.path,
62
- ...JsxRuntime,
63
- components: mdxComponents
64
- });
65
- };
66
- }
67
- return remark().use(remarkGfm).use(remarkRehype).use(rehypeReact);
60
+ const processor = remark().use(remarkGfm).use(remarkRehype);
61
+ return (md) => toJsxRuntime(processor.runSync(processor.parse(md)), options);
68
62
  }
69
63
  //#endregion
70
64
  export { createPageComponents, defaultShikiOptions };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { cn } from "../../utils/cn.js";
2
+ import { cn } from "../utils/cn.js";
3
3
  import { jsx, jsxs } from "react/jsx-runtime";
4
4
  import { Dialog } from "@base-ui/react/dialog";
5
- //#region src/ui/components/dialog.tsx
5
+ //#region ../shared-api/dist/components/dialog.js
6
6
  /** the popup of a dialog, a window on larger screens and the full screen on smaller ones */
7
7
  function DialogPopup({ className, children }) {
8
8
  return /* @__PURE__ */ jsxs(Dialog.Portal, { children: [/* @__PURE__ */ jsx(Dialog.Backdrop, { className: "fixed inset-0 z-50 bg-black/40 backdrop-blur-xs transition-opacity duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0" }), /* @__PURE__ */ jsx(Dialog.Popup, {
@@ -0,0 +1,51 @@
1
+ "use client";
2
+ import { cn } from "../utils/cn.js";
3
+ import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "./select.js";
4
+ import { jsx, jsxs } from "react/jsx-runtime";
5
+ //#region ../shared-api/dist/components/example.js
6
+ /** a code block filling its example card */
7
+ const cardCodeBlock = {
8
+ className: "flex min-h-0 flex-col rounded-none border-0 bg-transparent shadow-none",
9
+ viewportProps: { className: "min-h-0" }
10
+ };
11
+ /** a code block under its caption */
12
+ const captionedCodeBlock = {
13
+ ...cardCodeBlock,
14
+ viewportProps: { className: "min-h-0 pt-2" }
15
+ };
16
+ const exampleCardClassName = "flex min-h-0 flex-col overflow-hidden rounded-xl border bg-fd-card";
17
+ /** the header of an example card, its controls at the end */
18
+ function ExampleHeader({ title, children }) {
19
+ return /* @__PURE__ */ jsxs("div", {
20
+ className: "flex h-10 shrink-0 items-center gap-2 border-b ps-4 pe-1.5 text-[0.8125rem] font-medium",
21
+ children: [title && /* @__PURE__ */ jsx("span", {
22
+ className: "me-auto truncate",
23
+ children: title
24
+ }), children]
25
+ });
26
+ }
27
+ function ExampleSelect({ items, value, onValueChange, align = "end", className }) {
28
+ return /* @__PURE__ */ jsxs(Select, {
29
+ items,
30
+ value,
31
+ onValueChange: (v) => v !== null && onValueChange(v),
32
+ children: [/* @__PURE__ */ jsx(SelectTrigger, {
33
+ className: cn("h-7 w-fit max-w-1/2 shrink-0 gap-1.5 border-0 bg-transparent px-2 py-0 text-[0.8125rem] font-medium text-fd-muted-foreground hover:text-fd-accent-foreground focus:ring-0 focus-visible:ring-2 data-popup-open:bg-fd-accent data-popup-open:text-fd-accent-foreground", className),
34
+ children: /* @__PURE__ */ jsx(SelectValue, { className: "min-w-0 truncate" })
35
+ }), /* @__PURE__ */ jsx(SelectContent, {
36
+ align,
37
+ className: "max-w-80",
38
+ children: items.map((item) => /* @__PURE__ */ jsx(SelectItem, {
39
+ value: item.value,
40
+ description: item.description && /* @__PURE__ */ jsx("div", {
41
+ className: "prose prose-xs prose-no-margin font-normal text-fd-muted-foreground",
42
+ children: item.description
43
+ }),
44
+ className: "text-[0.8125rem] font-medium",
45
+ children: item.label
46
+ }, item.value))
47
+ })]
48
+ });
49
+ }
50
+ //#endregion
51
+ export { ExampleHeader, ExampleSelect, captionedCodeBlock, cardCodeBlock, exampleCardClassName };