generated from etclabscore/pristine-typescript
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Is your feature request related to a problem? Please describe.
From what I could see, traverse only goes down the 'properties' path. However if I were to setup a sibling node (e.g. x-foobar), I'm unable to traverse down that path.
const mySchema = {
title: "baz",
type: "object",
properties: {
foo: {
title: "foo",
type: "array",
items: { type: "string" }
},
bar: {
title: "bar",
anyOf: [
{ title: "stringerific", type: "string" },
{ title: "numberoo", type: "number" }
]
}
},
"x-foobar": {
haz: { bar: "foo" }
}
};Describe the solution you'd like
Ability to traverse down any path in the schema.
Metadata
Metadata
Assignees
Labels
No labels