jsref
jsref copied to clipboard
concat multiple references
Hello,
is possible to define a concatenation of references?
something like
{ "foo": [ "bar", { "$ref": "#/sub" }{ "$ref": "#/sub" } ], "sub": "baz" }
or
{ "foo": [ "bar", $.concat( { "$ref": "#/sub" }, { "$ref": "#/sub" } ) ], "sub": "baz" }
output for "#/foo" should be
[ "bar", "bazbaz" ]