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
Use $ref to definitions in oneOf for Parameter loc
I'd like to use a JSON Merge Patch (RFC 7386) document to add
keywords for the OAS compliance parser project.
JSON Merge Patch does not handle arrays well, so moving these to
their own definitions and having the "oneOf" directly in the
"Parameter" definition (avoiding duplicate "description" fields
on the same instance location) allows merge-patch to work where
I need it.
Otherwise, JSON Patch (RFC 6902) will be needed, which is less
intuitive.
The 3.1 schema already uses "$defs" here.
0 commit comments