stoplightio / json-schema-viewer

A JSON Schema viewer React component
Apache License 2.0
169 stars 35 forks source link

fix(package.json): bump json-schema-tree version #246

Closed brendarearden closed 9 months ago

brendarearden commented 9 months ago

Motivation and Context

https://github.com/stoplightio/elements/issues/2419

A reference within an allOf that had description or summary ref siblings were getting overwritten by description and summary from the referenced object.

Description

Bump json-schema-tree version that has fix that does not allow reference description and summary to overwrite the ref sibling's values Added ref resolver for storybook so that the references are actually resolved for storybook

How Has This Been Tested?

Added storybook that shows the allOf reference example

Screenshot(s)/recordings(s)

Before version bump:

Screenshot 2023-12-14 at 12 37 41 PM

After version bump:

Screenshot 2023-12-14 at 12 35 38 PM

Types of changes

Checklist

stoplight-bot commented 9 months ago

:tada: This PR is included in version 4.14.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: