github fuma-nama/fumadocs fumadocs-openapi@5.0.0

latest releases: fumadocs-mdx@11.9.1, fumadocs-openapi@9.3.8, create-fumadocs-app@15.7.11...
13 months ago

Major Changes

  • 971817c: Migrate to React Server Component

    The API reference page is now a server component.
    The MDX generator will only generate a small MDX file, and the rest will be handled by our APIPage component.

    ---
    title: Delete Api
    full: true
    method: POST
    route: /v1/apis.deleteApi
    ---
    
    <APIPage
      operations={[{ path: '/v1/apis.deleteApi', method: 'post' }]}
      hasHead={false}
    />
    • Markdown/MDX content is still supported, but will be processed in the server component (during runtime) instead.
    • Your Remark/Rehype plugins (e.g. Rehype Code) configured in Fumadocs MDX or other source providers, will not be shared. Fumadocs OpenAPI uses a separate MDX processor instance.
    • APIPage component will fetch the OpenAPI Schema when being rendered. On Vercel, if it relies on the file system, ensure the page will not be re-rendered after build.

    Please refer to documentation for the new usage.

Minor Changes

  • 480d211: Change output path logic
  • 4bf9851: Support to group pages by tags
  • 3874ab5: Support Go Sample Request
  • 3874ab5: Replace Response Table of Tabs

Patch Changes

  • 4bf9851: Improve Curl example generator
  • Updated dependencies [f280191]
  • Updated dependencies [61ef42c]
  • Updated dependencies [deae4dd]
  • Updated dependencies [c8910c4]
  • Updated dependencies [c8910c4]
  • Updated dependencies [6c42960]
    • fumadocs-core@13.1.0
    • fumadocs-ui@13.1.0

Don't miss a new fumadocs release

NewReleases is sending notifications on new releases.