Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit 9967c99

Browse files
Merge pull request #25 from Autodesk-Forge/dev
Fixed docblocks to prevent things as reported in #10 from happening
2 parents b4f674d + 8e2f8ac commit 9967c99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Api/ObjectsApi.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ public function uploadChunk($bucket_key, $object_name, $content_length, $content
11161116
* @param int $content_length Indicates the size of the request body. (required)
11171117
* @param string $content_range Byte range of a segment being uploaded (required)
11181118
* @param string $session_id Unique identifier of a session of a file being uploaded (required)
1119-
* @param \SplFileObject $body (required)
1119+
* @param string $body Chunk content(required)
11201120
* @param string $content_disposition The suggested default filename when downloading this object to a file after it has been uploaded. (optional)
11211121
* @param string $if_match If-Match header containing a SHA-1 hash of the bytes in the request body can be sent by the calling service or client application with the request. If present, OSS will use the value of If-Match header to verify that a SHA-1 calculated for the uploaded bytes server side matches what was sent in the header. If not, the request is failed with a status 412 Precondition Failed and the data is not written. (optional)
11221122
* @throws \Autodesk\Forge\Client\ApiException on non-2xx response
@@ -1268,7 +1268,7 @@ public function uploadChunkWithHttpInfo($bucket_key, $object_name, $content_leng
12681268
* @param string $bucket_key URL-encoded bucket key (required)
12691269
* @param string $object_name URL-encoded object name (required)
12701270
* @param int $content_length Indicates the size of the request body. (required)
1271-
* @param \SplFileObject $body (required)
1271+
* @param string $body File content (required)
12721272
* @param string $content_disposition The suggested default filename when downloading this object to a file after it has been uploaded. (optional)
12731273
* @param string $if_match If-Match header containing a SHA-1 hash of the bytes in the request body can be sent by the calling service or client application with the request. If present, OSS will use the value of If-Match header to verify that a SHA-1 calculated for the uploaded bytes server side matches what was sent in the header. If not, the request is failed with a status 412 Precondition Failed and the data is not written. (optional)
12741274
* @throws \Autodesk\Forge\Client\ApiException on non-2xx response
@@ -1288,7 +1288,7 @@ public function uploadObject($bucket_key, $object_name, $content_length, $body,
12881288
* @param string $bucket_key URL-encoded bucket key (required)
12891289
* @param string $object_name URL-encoded object name (required)
12901290
* @param int $content_length Indicates the size of the request body. (required)
1291-
* @param \SplFileObject $body (required)
1291+
* @param string $body File content (required)
12921292
* @param string $content_disposition The suggested default filename when downloading this object to a file after it has been uploaded. (optional)
12931293
* @param string $if_match If-Match header containing a SHA-1 hash of the bytes in the request body can be sent by the calling service or client application with the request. If present, OSS will use the value of If-Match header to verify that a SHA-1 calculated for the uploaded bytes server side matches what was sent in the header. If not, the request is failed with a status 412 Precondition Failed and the data is not written. (optional)
12941294
* @throws \Autodesk\Forge\Client\ApiException on non-2xx response

0 commit comments

Comments
 (0)