Skip to content

Commit

Permalink
Fixed json schema bug with core server settings (#79-2)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Oct 9, 2024
1 parent 3ad0113 commit 98b7f4f
Showing 1 changed file with 21 additions and 19 deletions.
40 changes: 21 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,27 +57,29 @@
"deephaven.coreServers": {
"description": "List of Deephaven Core servers that the extension can connect to.",
"type": "array",
"items": [
{
"type": "string",
"description": "Deephaven Core server URL"
},
{
"type": "object",
"description": "Deephaven Core server config",
"properties": {
"url": {
"type": "string",
"description": "Deephaven Core server URL"
},
"label": {
"type": "string",
"title": "Label",
"description": "Optional label for the server"
"items": {
"anyOf": [
{
"type": "string",
"description": "Deephaven Core server URL"
},
{
"type": "object",
"description": "Deephaven Core server config",
"properties": {
"url": {
"type": "string",
"description": "Deephaven Core server URL"
},
"label": {
"type": "string",
"title": "Label",
"description": "Optional label for the server"
}
}
}
}
],
]
},
"default": [
"http://localhost:10000/"
]
Expand Down

0 comments on commit 98b7f4f

Please sign in to comment.