You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And now, I have an application (not Redocly), that needs to consume this schema and operate on it. The application struggles with the allOf. I wish to have a resulting merged schema like the following to make it easier for third party programs to use:
this is related to bundling or flattening and is a hot topic in the JSON Schema community. It was undefined behavior for quite a few years and only recently have they officially documented the bundling process for 2020-12.
I believe there are some major behavior differences depending on the draft used in the schema. for example, use of additionalProperties has long been a hang up with earlier drafts and allOf schemas
Is your feature request related to a problem? Please describe.
Let's say I have these schemas:
And now, I have an application (not Redocly), that needs to consume this schema and operate on it. The application struggles with the
allOf
. I wish to have a resulting merged schema like the following to make it easier for third party programs to use:Describe the solution you'd like
--merge-all-of
.redocly.yaml
file likemerge-all-of
.Describe alternatives you've considered
Requesting third party libs have better
allOf
support. 🤣Additional context
None
The text was updated successfully, but these errors were encountered: