Skip to content

fumadocs-openapi@11.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Sep 18:09
1bd6f3b

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.