Skip to content

Commit

Permalink
docs: remove redundant headings (box/box-codegen#540) (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
box-sdk-build authored Jul 31, 2024
1 parent 64f27b3 commit a795135
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "871ac70", "specHash": "d36b9f0", "version": "0.3.0" }
{ "engineHash": "952f914", "specHash": "e50af18", "version": "0.3.0" }
2 changes: 0 additions & 2 deletions Sources/Managers/TrashedFolders/TrashedFoldersManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ public class TrashedFoldersManager {
/// An optional new parent ID can be provided to restore the folder to in case the
/// original folder has been deleted.
///
/// # Folder locking
///
/// During this operation, part of the file tree will be locked, mainly
/// the source folder and all of its descendants, as well as the destination
/// folder.
Expand Down
4 changes: 0 additions & 4 deletions Sources/Managers/Uploads/UploadsManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ public class UploadsManager {
/// Update a file's content. For file sizes over 50MB we recommend
/// using the Chunk Upload APIs.
///
/// # Request body order
///
/// The `attributes` part of the body must come **before** the
/// `file` part. Requests that do not follow this format when
/// uploading the file will receive a HTTP `400` error with a
Expand Down Expand Up @@ -44,8 +42,6 @@ public class UploadsManager {
/// Uploads a small file to Box. For file sizes over 50MB we recommend
/// using the Chunk Upload APIs.
///
/// # Request body order
///
/// The `attributes` part of the body must come **before** the
/// `file` part. Requests that do not follow this format when
/// uploading the file will receive a HTTP `400` error with a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ public enum FileOrFolderScopeScopeField: String, CodableStringEnum {
case itemPreview = "item_preview"
case itemRename = "item_rename"
case itemShare = "item_share"
case itemUpload = "item_upload"
}
2 changes: 0 additions & 2 deletions docs/TrashedFolders.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ Restores a folder that has been moved to the trash.
An optional new parent ID can be provided to restore the folder to in case the
original folder has been deleted.

# Folder locking

During this operation, part of the file tree will be locked, mainly
the source folder and all of its descendants, as well as the destination
folder.
Expand Down

0 comments on commit a795135

Please sign in to comment.