You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: properties_pane/model_level/modelLevelConfig.json
+44-4Lines changed: 44 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -269,9 +269,32 @@ making sure that you maintain a proper JSON format.
269
269
"markdown": false,
270
270
"propertyTooltip": "An SPDX license expression for the API. The identifier field is mutually exclusive of the url field",
271
271
"dependency" : {
272
-
"level": "model",
273
-
"key": "dbVersion",
274
-
"value": "3.1.0"
272
+
"type": "and",
273
+
"values": [
274
+
{
275
+
"level": "model",
276
+
"key": "dbVersion",
277
+
"value": "3.1.0"
278
+
},
279
+
{
280
+
"type": "or",
281
+
"values": [
282
+
{
283
+
"key": "licenseURL",
284
+
"pattern": "^\\s*$"
285
+
},
286
+
{
287
+
"type": "not",
288
+
"values": [
289
+
{
290
+
"key": "licenseURL",
291
+
"exist": true
292
+
}
293
+
]
294
+
}
295
+
]
296
+
}
297
+
]
275
298
}
276
299
},
277
300
{
@@ -280,7 +303,24 @@ making sure that you maintain a proper JSON format.
280
303
"shouldValidate": true,
281
304
"propertyType": "text",
282
305
"propertyFormat": "uri",
283
-
"propertyTooltip": "A URL to the license used for the API. This MUST be in the form of a URL. The url field is mutually exclusive of the identifier field (OpenAPI 3.1.x)."
306
+
"propertyTooltip": "A URL to the license used for the API. This MUST be in the form of a URL. The url field is mutually exclusive of the identifier field (OpenAPI 3.1.x).",
0 commit comments