Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix schemas for updating classification on a file and folder #388

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 21 additions & 5 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": "143e20d85d"
"x-box-commit-hash": "f871f1e4d1"
},
"servers": [
{
Expand Down Expand Up @@ -3363,11 +3363,19 @@
"content": {
"application/json-patch+json": {
"schema": {
"required": [
"items"
],
"description": "A list containing the one change to make, to\nupdate the classification label.",
"type": "array",
"items": {
"type": "object",
"description": "The operation to perform on the classification\nmetadata template instance. In this case, it use\nused to replace the value stored for the\n`Box__Security__Classification__Key` field with a new\nvalue.",
"required": [
"op",
"path",
"value"
],
"properties": {
"op": {
"type": "string",
Expand All @@ -3379,10 +3387,10 @@
},
"path": {
"type": "string",
"example": "Box__Security__Classification__Key",
"example": "/Box__Security__Classification__Key",
"description": "Defines classifications \navailable in the enterprise.",
"enum": [
"Box__Security__Classification__Key"
"/Box__Security__Classification__Key"
]
},
"value": {
Expand Down Expand Up @@ -6466,11 +6474,19 @@
"content": {
"application/json-patch+json": {
"schema": {
"required": [
"items"
],
"description": "A list containing the one change to make, to\nupdate the classification label.",
"type": "array",
"items": {
"type": "object",
"description": "The operation to perform on the classification\nmetadata template instance. In this case, it use\nused to replace the value stored for the\n`Box__Security__Classification__Key` field with a new\nvalue.",
"required": [
"op",
"path",
"value"
],
"properties": {
"op": {
"type": "string",
Expand All @@ -6482,10 +6498,10 @@
},
"path": {
"type": "string",
"example": "Box__Security__Classification__Key",
"example": "/Box__Security__Classification__Key",
"description": "Defines classifications \navailable in the enterprise.",
"enum": [
"Box__Security__Classification__Key"
"/Box__Security__Classification__Key"
]
},
"value": {
Expand Down
Loading