github fuma-nama/fumadocs fumadocs-openapi@11.4.0

2 hours ago

Support installing the API playground via Fumadocs CLI

npx @fumadocs/cli add fumadocs/openapi/playground

Use it with the playground.provider and playground.render options, see Customise UI.

Pass full props to schemaUI.render

It now receives the same props as the built-in Schema UI (including renderMarkdown and renderCodeblock), so a customised Schema UI can act as a drop-in replacement:

schemaUI: {
  render: (props) => <Schema {...props} />,
},

New exports

  • OpenAPI schema types from fumadocs-openapi (e.g. OperationObject, HttpMethods).
  • useRenderContext, useServerContext and useOperationContext from fumadocs-openapi/ui.

Don't miss a new fumadocs release

NewReleases is sending notifications on new releases.