Skip to content

Commit 1129def

Browse files
authored
fix: remove enum types from GET enterprise configurations endpoint (#560)
1 parent ec706bc commit 1129def

File tree

3 files changed

+19
-22
lines changed

3 files changed

+19
-22
lines changed

openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2024.0",
17-
"x-box-commit-hash": "b9f1309925"
17+
"x-box-commit-hash": "d970a6f960"
1818
},
1919
"servers": [
2020
{

openapi/openapi-v2025.0.json

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2025.0",
17-
"x-box-commit-hash": "b9f1309925"
17+
"x-box-commit-hash": "d970a6f960"
1818
},
1919
"servers": [
2020
{
@@ -932,12 +932,21 @@
932932
{
933933
"name": "categories",
934934
"in": "query",
935-
"description": "The comma-delimited list of the enterprise configuration categories. \nAllowed values: `security`, `content_and_sharing`, `user_settings`, `shield`.",
935+
"description": "A comma-separated list of the enterprise configuration categories.\nAllowed values: `security`, `content_and_sharing`, `user_settings`, `shield`.",
936936
"required": true,
937937
"schema": {
938-
"type": "string"
938+
"type": "array",
939+
"items": {
940+
"type": "string"
941+
}
939942
},
940-
"example": "security,content_and_sharing,user_settings,shield"
943+
"example": [
944+
"security",
945+
"content_and_sharing",
946+
"user_settings",
947+
"shield"
948+
],
949+
"explode": false
941950
},
942951
{
943952
"$ref": "#/components/parameters/BoxVersionHeader"
@@ -2812,16 +2821,6 @@
28122821
},
28132822
"title": "Collaboration permissions"
28142823
},
2815-
"CollaborationRestriction": {
2816-
"description": "The collaboration restriction.",
2817-
"type": "string",
2818-
"example": "internal",
2819-
"enum": [
2820-
"internal",
2821-
"external"
2822-
],
2823-
"title": "Collaboration restriction"
2824-
},
28252824
"CustomSessionDurationGroupItem": {
28262825
"description": "A custom session duration group item.",
28272826
"type": "object",
@@ -3757,7 +3756,9 @@
37573756
"value": {
37583757
"type": "array",
37593758
"items": {
3760-
"$ref": "#/components/schemas/CollaborationRestriction"
3759+
"type": "string",
3760+
"description": "The collaboration restriction. Possible values: `internal`, `external`.",
3761+
"example": "internal"
37613762
},
37623763
"example": [
37633764
"internal"
@@ -3803,18 +3804,14 @@
38033804
"$ref": "#/components/schemas/EnterpriseConfigurationItem"
38043805
},
38053806
{
3806-
"description": "The external collaboration status."
3807+
"description": "The external collaboration status.\nPossible values: `enable_external_collaboration`, `limit_collaboration_to_allowlisted_domains`, `limit_collaboration_to_users_within_enterprise`."
38073808
},
38083809
{
38093810
"properties": {
38103811
"value": {
38113812
"description": "The external collaboration status.",
38123813
"type": "string",
38133814
"example": "enable_external_collaboration",
3814-
"enum": [
3815-
"enable_external_collaboration",
3816-
"limit_collaboration_to_allowlisted_domains"
3817-
],
38183815
"nullable": true
38193816
}
38203817
}

openapi/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2024.0",
17-
"x-box-commit-hash": "b9f1309925"
17+
"x-box-commit-hash": "d970a6f960"
1818
},
1919
"servers": [
2020
{

0 commit comments

Comments
 (0)