github fuma-nama/fumadocs fumadocs-openapi@12.6.10

26 minutes ago

List parameters described with content

  • A parameter with content instead of schema, like a JSON-encoded query parameter, is listed with the schema of its media type.

Example requests include auth on the first render

  • Code usages show the auth of the playground's providers from the server render, instead of gaining it after hydration.

OpenAPI JSON request bodies

  • Preserve false, 0, empty strings, and null in request examples, generated snippets, and playground requests.

Keep null examples

  • Examples with dataValue: null are shown instead of skipped.

OpenAPI operation headings

  • Include visible operation and webhook headings in the table of contents even when the spec omits operationId.

Generate pages for path items that are a $ref

Generating a page per operation with the default names no longer throws for a path item that is a $ref, like /pets: { $ref: './paths/pets.yaml' } in a split document.

OpenAPI request URLs

  • Substitute every occurrence of a path parameter in example requests and the API playground.

Type labels by type

  • SchemaData of primitives keeps their JSON Schema type in primitive.
  • Type labels of the Schema UI have a data-type attribute, like string or object, for styling them by type.

Don't miss a new fumadocs release

NewReleases is sending notifications on new releases.