Skip to content

Commit 0477c73

Browse files
Update OpenAPI for 1d0ec917a323967538bde93f4704049330cbd56b
1 parent ec4cabf commit 0477c73

File tree

1 file changed

+38
-10
lines changed

1 file changed

+38
-10
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 38 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63589,13 +63589,13 @@
6358963589
"type": "string"
6359063590
},
6359163591
"erroring_object": {
63592-
"additionalProperties": {
63593-
"maxLength": 5000,
63594-
"type": "string"
63595-
},
63596-
"description": "If the error is related to a specific object, this field will include the object's identifier in `id` and object type in `object`.",
63597-
"nullable": true,
63598-
"type": "object"
63592+
"anyOf": [
63593+
{
63594+
"$ref": "#/components/schemas/redaction_resource_erroring_object"
63595+
}
63596+
],
63597+
"description": "If the error is related to a specific object, this field includes the object's identifier and object type.",
63598+
"nullable": true
6359963599
},
6360063600
"id": {
6360163601
"description": "Unique identifier for the object.",
@@ -63624,7 +63624,9 @@
6362463624
],
6362563625
"title": "RedactionResourceValidationError",
6362663626
"type": "object",
63627-
"x-expandableFields": [],
63627+
"x-expandableFields": [
63628+
"erroring_object"
63629+
],
6362863630
"x-resourceId": "privacy.redaction_job_validation_error",
6362963631
"x-stripeMostCommon": [
6363063632
"code",
@@ -68852,6 +68854,32 @@
6885268854
"interval"
6885368855
]
6885468856
},
68857+
"redaction_resource_erroring_object": {
68858+
"description": "If a Redaction Job Validation Error occurred because of a specific object, this will contain its identifier and object type.",
68859+
"properties": {
68860+
"id": {
68861+
"description": "Unique identifier for the object.",
68862+
"maxLength": 5000,
68863+
"type": "string"
68864+
},
68865+
"object_type": {
68866+
"description": "Erroring object type",
68867+
"maxLength": 5000,
68868+
"type": "string"
68869+
}
68870+
},
68871+
"required": [
68872+
"id",
68873+
"object_type"
68874+
],
68875+
"title": "RedactionResourceErroringObject",
68876+
"type": "object",
68877+
"x-expandableFields": [],
68878+
"x-stripeMostCommon": [
68879+
"id",
68880+
"object_type"
68881+
]
68882+
},
6885568883
"redaction_resource_root_objects": {
6885668884
"description": "The objects to redact, grouped by type. All redactable objects associated with these objects will be redacted as well.",
6885768885
"properties": {
@@ -194348,7 +194376,7 @@
194348194376
"content": {
194349194377
"application/json": {
194350194378
"schema": {
194351-
"description": "List redaction jobs",
194379+
"description": "A list of redaction jobs",
194352194380
"properties": {
194353194381
"data": {
194354194382
"items": {
@@ -195009,7 +195037,7 @@
195009195037
"content": {
195010195038
"application/json": {
195011195039
"schema": {
195012-
"description": "",
195040+
"description": "A list of redaction job validation errors",
195013195041
"properties": {
195014195042
"data": {
195015195043
"items": {

0 commit comments

Comments
 (0)