Skip to content

concat multiple references #12

@bartsimp

Description

@bartsimp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions