File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 1110
1110
"description" : " The MIME type of this resource, if known." ,
1111
1111
"type" : " string"
1112
1112
},
1113
+ "name" : {
1114
+ "description" : " An optional human-readable name for this resource.\n\n This can be used by clients to populate UI elements." ,
1115
+ "type" : " string"
1116
+ },
1113
1117
"uri" : {
1114
1118
"description" : " The URI of this resource." ,
1115
1119
"format" : " uri" ,
1116
1120
"type" : " string"
1117
1121
}
1118
1122
},
1119
1123
"required" : [
1124
+ " name" ,
1120
1125
" uri"
1121
1126
],
1122
1127
"type" : " object"
1204
1209
}
1205
1210
},
1206
1211
"required" : [
1212
+ " name" ,
1207
1213
" uriTemplate"
1208
1214
],
1209
1215
"type" : " object"
Original file line number Diff line number Diff line change @@ -331,6 +331,14 @@ export interface Resource {
331
331
* @format uri
332
332
*/
333
333
uri : string ;
334
+
335
+ /**
336
+ * An optional human-readable name for this resource.
337
+ *
338
+ * This can be used by clients to populate UI elements.
339
+ */
340
+ name : string ;
341
+
334
342
/**
335
343
* The MIME type of this resource, if known.
336
344
*/
@@ -350,7 +358,7 @@ export interface ResourceTemplate {
350
358
/**
351
359
* A human-readable name for the type of resource this template refers to.
352
360
*/
353
- name ? : string ;
361
+ name : string ;
354
362
/**
355
363
* A human-readable description of what this template is for.
356
364
*/
You can’t perform that action at this time.
0 commit comments