Skip to content

@fumadocs/api-docs@0.2.4

Choose a tag to compare

@github-actions github-actions released this 25 Aug 12:17
· 2 commits to dev since this release
697c7a5

Preserve description when merging allOf schemas

mergeAllOf() no longer drops descriptions defined inside allOf members, so this common composition pattern renders its description in the Schema UI:

amount:
  allOf:
    - $ref: '#/components/schemas/Money'
    - description: Property-specific description

The last defined description among members wins, and a description on the outer schema keeps precedence over all of them.