Skip to content

Commit 5b5819e

Browse files
OAS Update
1 parent 0afa5e4 commit 5b5819e

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

‎services/telemetry-router/v1/telemetry-router.json‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@
223223
"key": {
224224
"maxLength": 1024,
225225
"minLength": 1,
226+
"pattern": "^[^\u0000-\u001f-Ÿ]+$",
226227
"type": "string"
227228
},
228229
"level": {
@@ -235,6 +236,7 @@
235236
"items": {
236237
"maxLength": 1024,
237238
"minLength": 1,
239+
"pattern": "^[^\u0000-\u001f-Ÿ]+$",
238240
"type": "string"
239241
},
240242
"maxItems": 100,
@@ -314,6 +316,9 @@
314316
},
315317
"filter": {
316318
"$ref": "#/components/schemas/configFilter"
319+
},
320+
"resourceLabels": {
321+
"$ref": "#/components/schemas/resourceLabels"
317322
}
318323
},
319324
"required": [
@@ -369,11 +374,13 @@
369374
"description": "A bearer token to authenticate at the OpenTelemetry URI.",
370375
"maxLength": 2048,
371376
"minLength": 1,
377+
"pattern": "^[^\u0000-\u001f-Ÿ]+$",
372378
"type": "string"
373379
},
374380
"uri": {
375381
"description": "The URI for reaching the resource.",
376382
"maxLength": 1024,
383+
"pattern": "^[^\u0000-\u001f-Ÿ]+$",
377384
"type": "string"
378385
}
379386
},
@@ -388,11 +395,13 @@
388395
"password": {
389396
"maxLength": 1024,
390397
"minLength": 1,
398+
"pattern": "^[^\u0000-\u001f-Ÿ]+$",
391399
"type": "string"
392400
},
393401
"username": {
394402
"maxLength": 1024,
395403
"minLength": 1,
404+
"pattern": "^[^\u0000-\u001f-Ÿ]+$",
396405
"type": "string"
397406
}
398407
},
@@ -410,11 +419,13 @@
410419
"bucket": {
411420
"maxLength": 63,
412421
"minLength": 3,
422+
"pattern": "^[a-z0-9\\-]+$",
413423
"type": "string"
414424
},
415425
"endpoint": {
416426
"description": "The URI for reaching the resource.",
417427
"maxLength": 1024,
428+
"pattern": "^[^\u0000-\u001f-Ÿ]+$",
418429
"type": "string"
419430
}
420431
},
@@ -430,11 +441,13 @@
430441
"id": {
431442
"maxLength": 1024,
432443
"minLength": 1,
444+
"pattern": "^[^\u0000-\u001f-Ÿ]+$",
433445
"type": "string"
434446
},
435447
"secret": {
436448
"maxLength": 1024,
437449
"minLength": 1,
450+
"pattern": "^[^\u0000-\u001f-Ÿ]+$",
438451
"type": "string"
439452
}
440453
},
@@ -570,6 +583,12 @@
570583
],
571584
"type": "object"
572585
},
586+
"resourceLabels": {
587+
"additionalProperties": {
588+
"type": "string"
589+
},
590+
"type": "object"
591+
},
573592
"response4xx": {
574593
"properties": {
575594
"message": {
@@ -595,6 +614,12 @@
595614
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9 \\-]*)?$",
596615
"type": "string"
597616
},
617+
"destinationCount": {
618+
"description": "The number of destinations configured for the telemetry router.",
619+
"format": "int32",
620+
"minimum": 0,
621+
"type": "integer"
622+
},
598623
"displayName": {
599624
"description": "The display name is a short name chosen by the user to identify the resource.",
600625
"maxLength": 32,
@@ -610,6 +635,9 @@
610635
"format": "uuid",
611636
"type": "string"
612637
},
638+
"resourceLabels": {
639+
"$ref": "#/components/schemas/resourceLabels"
640+
},
613641
"status": {
614642
"description": "The current status of the resource.",
615643
"enum": [
@@ -690,6 +718,9 @@
690718
},
691719
"filter": {
692720
"$ref": "#/components/schemas/configFilter"
721+
},
722+
"resourceLabels": {
723+
"$ref": "#/components/schemas/resourceLabels"
693724
}
694725
},
695726
"type": "object"

0 commit comments

Comments
 (0)