Skip to content

Commit 4ef8b5a

Browse files
committed
docs: docs: Proper description format (box/box-openapi#530)
1 parent e037751 commit 4ef8b5a

File tree

266 files changed

+969
-943
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+969
-943
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "f5a9cc9", "specHash": "630fc85", "version": "1.16.0" }
1+
{ "engineHash": "f5a9cc9", "specHash": "4beed7d", "version": "1.16.0" }

docs/ai.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ A successful response including the answer from the LLM.
9696

9797
## Get AI agent default configuration
9898

99-
Get the AI agent default config
99+
Get the AI agent default config.
100100

101101
This operation is performed by calling function `getAiAgentDefaultConfig`.
102102

docs/avatars.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ await client.avatars.createUserAvatar(user.id, {
6868

6969
This function returns a value of type `UserAvatar`.
7070

71-
- `ok`: Returns the `pic_urls` object with URLs to existing
72-
user avatars that were updated.\* `created`: Returns the `pic_urls` object with URLS to user avatars
73-
uploaded to Box with the request.
71+
`ok`: Returns the `pic_urls` object with URLs to existing
72+
user avatars that were updated.`created`: Returns the `pic_urls` object with URLS to user avatars
73+
uploaded to Box with the request.
7474

7575
## Delete user avatar
7676

@@ -99,4 +99,4 @@ await client.avatars.deleteUserAvatar(user.id);
9999

100100
This function returns a value of type `undefined`.
101101

102-
- `no_content`: Removes the avatar and returns an empty response.
102+
`no_content`: Removes the avatar and returns an empty response.

docs/collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ await client.collections.getCollections();
3535

3636
This function returns a value of type `Collections`.
3737

38-
Returns all collections for the given user
38+
Returns all collections for the given user.
3939

4040
## List collection items
4141

docs/devicePinners.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ await client.devicePinners.getDevicePinnerById(devicePinnerId);
2222
### Arguments
2323

2424
- devicePinnerId `string`
25-
- The ID of the device pin Example: "2324234"
25+
- The ID of the device pin. Example: "2324234"
2626
- optionalsInput `GetDevicePinnerByIdOptionalsInput`
2727
-
2828

@@ -50,7 +50,7 @@ await client.devicePinners.deleteDevicePinnerById(devicePinnerId);
5050
### Arguments
5151

5252
- devicePinnerId `string`
53-
- The ID of the device pin Example: "2324234"
53+
- The ID of the device pin. Example: "2324234"
5454
- optionalsInput `DeleteDevicePinnerByIdOptionalsInput`
5555
-
5656

@@ -81,7 +81,7 @@ await client.devicePinners.getEnterpriseDevicePinners(enterpriseId);
8181
### Arguments
8282

8383
- enterpriseId `string`
84-
- The ID of the enterprise Example: "3442311"
84+
- The ID of the enterprise. Example: "3442311"
8585
- optionalsInput `GetEnterpriseDevicePinnersOptionalsInput`
8686
-
8787

docs/docgen.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ A list of Box Doc Gen jobs.
6767

6868
## Get Box Doc Gen jobs by batch ID
6969

70-
Lists Box Doc Gen jobs in a batch
70+
Lists Box Doc Gen jobs in a batch.
7171

7272
This operation is performed by calling function `getDocgenBatchJobByIdV2025R0`.
7373

docs/docgenTemplate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Returns a collection of templates.
6969

7070
## Delete Box Doc Gen template
7171

72-
Unmarks file as Box Doc Gen template
72+
Unmarks file as Box Doc Gen template.
7373

7474
This operation is performed by calling function `deleteDocgenTemplateByIdV2025R0`.
7575

docs/fileMetadata.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ await client.fileMetadata.getFileMetadataById(
6262
- fileId `string`
6363
- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
6464
- scope `GetFileMetadataByIdScope`
65-
- The scope of the metadata template Example: "global"
65+
- The scope of the metadata template. Example: "global"
6666
- templateKey `string`
67-
- The name of the metadata template Example: "properties"
67+
- The name of the metadata template. Example: "properties"
6868
- optionalsInput `GetFileMetadataByIdOptionalsInput`
6969
-
7070

@@ -111,9 +111,9 @@ await client.fileMetadata.createFileMetadataById(
111111
- fileId `string`
112112
- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
113113
- scope `CreateFileMetadataByIdScope`
114-
- The scope of the metadata template Example: "global"
114+
- The scope of the metadata template. Example: "global"
115115
- templateKey `string`
116-
- The name of the metadata template Example: "properties"
116+
- The name of the metadata template. Example: "properties"
117117
- requestBody `CreateFileMetadataByIdRequestBody`
118118
- Request body of createFileMetadataById method
119119
- optionalsInput `CreateFileMetadataByIdOptionalsInput`
@@ -184,9 +184,9 @@ await client.fileMetadata.updateFileMetadataById(
184184
- fileId `string`
185185
- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
186186
- scope `UpdateFileMetadataByIdScope`
187-
- The scope of the metadata template Example: "global"
187+
- The scope of the metadata template. Example: "global"
188188
- templateKey `string`
189-
- The name of the metadata template Example: "properties"
189+
- The name of the metadata template. Example: "properties"
190190
- requestBody `readonly UpdateFileMetadataByIdRequestBody[]`
191191
- Request body of updateFileMetadataById method
192192
- optionalsInput `UpdateFileMetadataByIdOptionalsInput`
@@ -223,9 +223,9 @@ await client.fileMetadata.deleteFileMetadataById(
223223
- fileId `string`
224224
- The unique identifier that represents a file. The ID for any file can be determined by visiting a file in the web application and copying the ID from the URL. For example, for the URL `https://*.app.box.com/files/123` the `file_id` is `123`. Example: "12345"
225225
- scope `DeleteFileMetadataByIdScope`
226-
- The scope of the metadata template Example: "global"
226+
- The scope of the metadata template. Example: "global"
227227
- templateKey `string`
228-
- The name of the metadata template Example: "properties"
228+
- The name of the metadata template. Example: "properties"
229229
- optionalsInput `DeleteFileMetadataByIdOptionalsInput`
230230
-
231231

docs/fileVersionLegalHolds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ await client.fileVersionLegalHolds.getFileVersionLegalHoldById(
2424
### Arguments
2525

2626
- fileVersionLegalHoldId `string`
27-
- The ID of the file version legal hold Example: "2348213"
27+
- The ID of the file version legal hold. Example: "2348213"
2828
- optionalsInput `GetFileVersionLegalHoldByIdOptionalsInput`
2929
-
3030

docs/fileVersionRetentions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ await client.fileVersionRetentions.getFileVersionRetentionById(
6363
### Arguments
6464

6565
- fileVersionRetentionId `string`
66-
- The ID of the file version retention Example: "3424234"
66+
- The ID of the file version retention. Example: "3424234"
6767
- optionalsInput `GetFileVersionRetentionByIdOptionalsInput`
6868
-
6969

0 commit comments

Comments
 (0)