Skip to content

Commit 8921a07

Browse files
[RUM-13793] make resource.url optional
1 parent 32918d9 commit 8921a07

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/cjs/generated/rum.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ export declare type RumResourceEvent = CommonProperties & ActionChildProperties
596596
/**
597597
* URL of the resource
598598
*/
599-
url: string;
599+
url?: string;
600600
/**
601601
* HTTP status code of the resource
602602
*/

lib/esm/generated/rum.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ export declare type RumResourceEvent = CommonProperties & ActionChildProperties
596596
/**
597597
* URL of the resource
598598
*/
599-
url: string;
599+
url?: string;
600600
/**
601601
* HTTP status code of the resource
602602
*/

schemas/rum/resource-schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"resource": {
2727
"type": "object",
2828
"description": "Resource properties",
29-
"required": ["type", "url"],
29+
"required": ["type"],
3030
"properties": {
3131
"id": {
3232
"type": "string",

0 commit comments

Comments
 (0)