Skip to content

Commit 29714ff

Browse files
committed
docs: docs: Proper description format (box/box-openapi#530)
1 parent cf87520 commit 29714ff

31 files changed

+81
-138
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": "0.7.0" }
1+
{ "engineHash": "f5a9cc9", "specHash": "4beed7d", "version": "0.7.0" }

docs/ai.md

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

6868
## Get AI agent default configuration
6969

70-
Get the AI agent default config
70+
Get the AI agent default config.
7171

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

docs/avatars.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ client.getAvatars().createUserAvatar(user.getId(), new CreateUserAvatarRequestBo
6464

6565
This function returns a value of type `UserAvatar`.
6666

67-
* `ok`: Returns the `pic_urls` object with URLs to existing
68-
user avatars that were updated.* `created`: Returns the `pic_urls` object with URLS to user avatars
67+
`ok`: Returns the `pic_urls` object with URLs to existing
68+
user avatars that were updated.`created`: Returns the `pic_urls` object with URLS to user avatars
6969
uploaded to Box with the request.
7070

7171

@@ -96,6 +96,6 @@ client.getAvatars().deleteUserAvatar(user.getId())
9696

9797
This function returns a value of type `void`.
9898

99-
* `no_content`: Removes the avatar and returns an empty response.
99+
`no_content`: Removes the avatar and returns an empty response.
100100

101101

docs/collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ See the endpoint docs at
3131

3232
This function returns a value of type `Collections`.
3333

34-
Returns all collections for the given user
34+
Returns all collections for the given user.
3535

3636

3737
## List collection items

docs/devicepinners.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ client.getDevicePinners().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
- headers `GetDevicePinnerByIdHeaders`
2727
- Headers of getDevicePinnerById method
2828

@@ -51,7 +51,7 @@ client.getDevicePinners().deleteDevicePinnerById(devicePinnerId)
5151
### Arguments
5252

5353
- devicePinnerId `String`
54-
- The ID of the device pin Example: "2324234"
54+
- The ID of the device pin. Example: "2324234"
5555
- headers `DeleteDevicePinnerByIdHeaders`
5656
- Headers of deleteDevicePinnerById method
5757

@@ -83,7 +83,7 @@ client.getDevicePinners().getEnterpriseDevicePinners(enterpriseId)
8383
### Arguments
8484

8585
- enterpriseId `String`
86-
- The ID of the enterprise Example: "3442311"
86+
- The ID of the enterprise. Example: "3442311"
8787
- queryParams `GetEnterpriseDevicePinnersQueryParams`
8888
- Query parameters of getEnterpriseDevicePinners method
8989
- headers `GetEnterpriseDevicePinnersHeaders`

docs/docgen.md

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

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

69-
Lists Box Doc Gen jobs in a batch
69+
Lists Box Doc Gen jobs in a batch.
7070

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

docs/docgentemplate.md

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

6969
## Delete Box Doc Gen template
7070

71-
Unmarks file as Box Doc Gen template
71+
Unmarks file as Box Doc Gen template.
7272

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

docs/filemetadata.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ client.getFileMetadata().getFileMetadataById(file.getId(), GetFileMetadataByIdSc
5959
- fileId `String`
6060
- 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"
6161
- scope `GetFileMetadataByIdScope`
62-
- The scope of the metadata template Example: "global"
62+
- The scope of the metadata template. Example: "global"
6363
- templateKey `String`
64-
- The name of the metadata template Example: "properties"
64+
- The name of the metadata template. Example: "properties"
6565
- headers `GetFileMetadataByIdHeaders`
6666
- Headers of getFileMetadataById method
6767

@@ -98,9 +98,9 @@ client.getFileMetadata().createFileMetadataById(file.getId(), CreateFileMetadata
9898
- fileId `String`
9999
- 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"
100100
- scope `CreateFileMetadataByIdScope`
101-
- The scope of the metadata template Example: "global"
101+
- The scope of the metadata template. Example: "global"
102102
- templateKey `String`
103-
- The name of the metadata template Example: "properties"
103+
- The name of the metadata template. Example: "properties"
104104
- requestBody `Map<String, Object>`
105105
- Request body of createFileMetadataById method
106106
- headers `CreateFileMetadataByIdHeaders`
@@ -138,9 +138,9 @@ See the endpoint docs at
138138
- fileId `String`
139139
- 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"
140140
- scope `UpdateFileMetadataByIdScope`
141-
- The scope of the metadata template Example: "global"
141+
- The scope of the metadata template. Example: "global"
142142
- templateKey `String`
143-
- The name of the metadata template Example: "properties"
143+
- The name of the metadata template. Example: "properties"
144144
- requestBody `List<UpdateFileMetadataByIdRequestBody>`
145145
- Request body of updateFileMetadataById method
146146
- headers `UpdateFileMetadataByIdHeaders`
@@ -174,9 +174,9 @@ client.getFileMetadata().deleteFileMetadataById(file.getId(), DeleteFileMetadata
174174
- fileId `String`
175175
- 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"
176176
- scope `DeleteFileMetadataByIdScope`
177-
- The scope of the metadata template Example: "global"
177+
- The scope of the metadata template. Example: "global"
178178
- templateKey `String`
179-
- The name of the metadata template Example: "properties"
179+
- The name of the metadata template. Example: "properties"
180180
- headers `DeleteFileMetadataByIdHeaders`
181181
- Headers of deleteFileMetadataById method
182182

docs/files.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ client.getFiles().getFileThumbnailUrl(thumbnailFile.getId(), GetFileThumbnailUrl
171171
- fileId `String`
172172
- 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"
173173
- extension `GetFileThumbnailUrlExtension`
174-
- The file format for the thumbnail Example: "png"
174+
- The file format for the thumbnail. Example: "png"
175175
- queryParams `GetFileThumbnailUrlQueryParams`
176176
- Query parameters of getFileThumbnailById method
177177
- headers `GetFileThumbnailUrlHeaders`
@@ -221,7 +221,7 @@ client.getFiles().getFileThumbnailById(thumbnailFile.getId(), GetFileThumbnailBy
221221
- fileId `String`
222222
- 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"
223223
- extension `GetFileThumbnailByIdExtension`
224-
- The file format for the thumbnail Example: "png"
224+
- The file format for the thumbnail. Example: "png"
225225
- queryParams `GetFileThumbnailByIdQueryParams`
226226
- Query parameters of getFileThumbnailById method
227227
- headers `GetFileThumbnailByIdHeaders`

docs/fileversionlegalholds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ client.getFileVersionLegalHolds().getFileVersionLegalHoldById(fileVersionLegalHo
2222
### Arguments
2323

2424
- fileVersionLegalHoldId `String`
25-
- The ID of the file version legal hold Example: "2348213"
25+
- The ID of the file version legal hold. Example: "2348213"
2626
- headers `GetFileVersionLegalHoldByIdHeaders`
2727
- Headers of getFileVersionLegalHoldById method
2828

0 commit comments

Comments
 (0)