jsref icon indicating copy to clipboard operation
jsref copied to clipboard

concat multiple references

Open bartsimp opened this issue 3 years ago • 0 comments

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" ]

bartsimp avatar Nov 29 '21 13:11 bartsimp