From 49a48ce6d73b0b6afc5b84740530152d1c72e077 Mon Sep 17 00:00:00 2001 From: box-apimgmt <142984025+box-apimgmt@users.noreply.github.com> Date: Fri, 10 Jan 2025 20:56:57 +0100 Subject: [PATCH] fix: Fix invalid variant config for Integration mapping Slack (#492) --- openapi.json | 87 +++++++++++++++++++++++----------------------------- 1 file changed, 38 insertions(+), 49 deletions(-) diff --git a/openapi.json b/openapi.json index d7560900..8743c706 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2.0.0", - "x-box-commit-hash": "59884a2b77" + "x-box-commit-hash": "47302f38a3" }, "servers": [ { @@ -28344,8 +28344,7 @@ } ], "title": "File (Conflict)", - "x-box-resource-id": "file_conflict", - "x-box-tag": null + "x-box-resource-id": "file_conflict" }, "FileOrFolderScope": { "description": "A relation between a resource (file or folder) and the scopes for which the resource can be accessed", @@ -30429,7 +30428,38 @@ "type": "object", "allOf": [ { - "$ref": "#/components/schemas/IntegrationMapping--Base" + "$ref": "#/components/schemas/IntegrationMappingBase" + }, + { + "type": "object", + "properties": { + "box_item": { + "description": "The Box folder, to which the object from the\npartner app domain (referenced in `partner_item_id`) is mapped", + "allOf": [ + { + "$ref": "#/components/schemas/Folder--Mini" + } + ], + "nullable": false + }, + "created_at": { + "description": "When the integration mapping object was created", + "type": "string", + "format": "date-time", + "example": "2012-12-12T10:53:43-08:00", + "nullable": false + }, + "modified_at": { + "description": "When the integration mapping object was last modified", + "type": "string", + "format": "date-time", + "example": "2012-12-12T10:53:43-08:00", + "nullable": false + } + }, + "required": [ + "box_item" + ] }, { "properties": { @@ -30489,37 +30519,6 @@ ] } } - }, - { - "type": "object", - "properties": { - "box_item": { - "description": "The Box folder, to which the object from the\npartner app domain (referenced in `partner_item_id`) is mapped", - "allOf": [ - { - "$ref": "#/components/schemas/Folder--Mini" - } - ], - "nullable": false - }, - "created_at": { - "description": "When the integration mapping object was created", - "type": "string", - "format": "date-time", - "example": "2012-12-12T10:53:43-08:00", - "nullable": false - }, - "modified_at": { - "description": "When the integration mapping object was last modified", - "type": "string", - "format": "date-time", - "example": "2012-12-12T10:53:43-08:00", - "nullable": false - } - }, - "required": [ - "box_item" - ] } ], "required": [ @@ -30527,10 +30526,9 @@ ], "title": "Integration mapping Slack", "x-box-resource-id": "integration_mapping_slack", - "x-box-tag": "integration_mappings", - "x-box-variant": "standard" + "x-box-tag": "integration_mappings" }, - "IntegrationMapping--Base": { + "IntegrationMappingBase": { "description": "A base representation of an\nintegration mapping object.", "type": "object", "properties": { @@ -30554,15 +30552,7 @@ "id", "type" ], - "title": "Integration mapping (Base)", - "x-box-resource-id": "integration_mapping--base", - "x-box-tag": "integration_mappings", - "x-box-variant": "base", - "x-box-variants": [ - "base", - "standard", - "mini" - ] + "title": "Integration mapping" }, "IntegrationMappingBoxItemSlack": { "description": "The schema for an integration mapping Box item object for type Slack", @@ -38220,8 +38210,7 @@ } ], "title": "User (Collaborations)", - "x-box-resource-id": "user_collaborations", - "x-box-variant": "collaborations" + "x-box-resource-id": "user_collaborations" }, "User--Full": { "description": "A full representation of a user, as can be returned from any\nuser API endpoint.",