Skip to content

Commit 03d62c6

Browse files
authored
Update meta model schema (#1520)
* Update meta model schema * Fix of -> if
1 parent a2a948f commit 03d62c6

2 files changed

Lines changed: 68 additions & 8 deletions

File tree

protocol/metaModel.schema.json

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@
114114
"description": "Since when (release number) this enumeration is available. Is undefined if not known.",
115115
"type": "string"
116116
},
117+
"sinceTags": {
118+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
119+
"items": {
120+
"type": "string"
121+
},
122+
"type": "array"
123+
},
117124
"supportsCustomValues": {
118125
"description": "Whether the enumeration supports custom values (e.g. values which are not part of the set defined in `values`). If omitted no custom values are supported.",
119126
"type": "boolean"
@@ -161,6 +168,13 @@
161168
"description": "Since when (release number) this enumeration entry is available. Is undefined if not known.",
162169
"type": "string"
163170
},
171+
"sinceTags": {
172+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
173+
"items": {
174+
"type": "string"
175+
},
176+
"type": "array"
177+
},
164178
"value": {
165179
"description": "The value.",
166180
"type": [
@@ -393,6 +407,13 @@
393407
"since": {
394408
"description": "Since when (release number) this notification is available. Is undefined if not known.",
395409
"type": "string"
410+
},
411+
"sinceTags": {
412+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
413+
"items": {
414+
"type": "string"
415+
},
416+
"type": "array"
396417
}
397418
},
398419
"required": [
@@ -450,6 +471,13 @@
450471
"description": "Since when (release number) this property is available. Is undefined if not known.",
451472
"type": "string"
452473
},
474+
"sinceTags": {
475+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
476+
"items": {
477+
"type": "string"
478+
},
479+
"type": "array"
480+
},
453481
"type": {
454482
"$ref": "#/definitions/Type",
455483
"description": "The type of the property"
@@ -540,6 +568,17 @@
540568
"since": {
541569
"description": "Since when (release number) this request is available. Is undefined if not known.",
542570
"type": "string"
571+
},
572+
"sinceTags": {
573+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
574+
"items": {
575+
"type": "string"
576+
},
577+
"type": "array"
578+
},
579+
"typeName": {
580+
"description": "The type name of the request if any.",
581+
"type": "string"
543582
}
544583
},
545584
"required": [
@@ -611,6 +650,13 @@
611650
"since": {
612651
"description": "Since when (release number) this structure is available. Is undefined if not known.",
613652
"type": "string"
653+
},
654+
"sinceTags": {
655+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
656+
"items": {
657+
"type": "string"
658+
},
659+
"type": "array"
614660
}
615661
},
616662
"required": [
@@ -645,6 +691,13 @@
645691
"since": {
646692
"description": "Since when (release number) this structure is available. Is undefined if not known.",
647693
"type": "string"
694+
},
695+
"sinceTags": {
696+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
697+
"items": {
698+
"type": "string"
699+
},
700+
"type": "array"
648701
}
649702
},
650703
"required": [
@@ -752,6 +805,13 @@
752805
"description": "Since when (release number) this structure is available. Is undefined if not known.",
753806
"type": "string"
754807
},
808+
"sinceTags": {
809+
"description": "All since tags in case there was more than one tag. Is undefined if not known.",
810+
"items": {
811+
"type": "string"
812+
},
813+
"type": "array"
814+
},
755815
"type": {
756816
"$ref": "#/definitions/Type",
757817
"description": "The aliased type."

tools/src/metaModel.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export type Request = {
187187

188188
/**
189189
* All since tags in case there was more than one tag.
190-
* Is undefined of not known.
190+
* Is undefined if not known.
191191
*/
192192
sinceTags?: string[];
193193

@@ -249,7 +249,7 @@ export type Notification = {
249249

250250
/**
251251
* All since tags in case there was more than one tag.
252-
* Is undefined of not known.
252+
* Is undefined if not known.
253253
*/
254254
sinceTags?: string[];
255255

@@ -299,7 +299,7 @@ export type Property = {
299299

300300
/**
301301
* All since tags in case there was more than one tag.
302-
* Is undefined of not known.
302+
* Is undefined if not known.
303303
*/
304304
sinceTags?: string[];
305305

@@ -357,7 +357,7 @@ export type Structure = {
357357

358358
/**
359359
* All since tags in case there was more than one tag.
360-
* Is undefined of not known.
360+
* Is undefined if not known.
361361
*/
362362
sinceTags?: string[];
363363

@@ -397,7 +397,7 @@ export type StructureLiteral = {
397397

398398
/**
399399
* All since tags in case there was more than one tag.
400-
* Is undefined of not known.
400+
* Is undefined if not known.
401401
*/
402402
sinceTags?: string[];
403403

@@ -442,7 +442,7 @@ export type TypeAlias = {
442442

443443
/**
444444
* All since tags in case there was more than one tag.
445-
* Is undefined of not known.
445+
* Is undefined if not known.
446446
*/
447447
sinceTags?: string[];
448448

@@ -486,7 +486,7 @@ export type EnumerationEntry = {
486486

487487
/**
488488
* All since tags in case there was more than one tag.
489-
* Is undefined of not known.
489+
* Is undefined if not known.
490490
*/
491491
sinceTags?: string[];
492492

@@ -544,7 +544,7 @@ export type Enumeration = {
544544

545545
/**
546546
* All since tags in case there was more than one tag.
547-
* Is undefined of not known.
547+
* Is undefined if not known.
548548
*/
549549
sinceTags?: string[];
550550

0 commit comments

Comments
 (0)