Skip to content

Commit

Permalink
fix: Fix invalid variant config for Integration mapping Slack (#492)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-apimgmt authored Jan 10, 2025
1 parent 4ea5105 commit 49a48ce
Showing 1 changed file with 38 additions and 49 deletions.
87 changes: 38 additions & 49 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -30489,48 +30519,16 @@
]
}
}
},
{
"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": [
"partner_item"
],
"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": {
Expand All @@ -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",
Expand Down Expand Up @@ -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.",
Expand Down

0 comments on commit 49a48ce

Please sign in to comment.