@fumadocs/api-docs@0.2.4
·
2 commits
to dev
since this release
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 descriptionThe last defined description among members wins, and a description on the outer schema keeps precedence over all of them.