box / box/box-openapi

File length defined as int32

Open
#191 1 comment 0 reactions 1 assignee Claimed by @antusus View on GitHub
bug
Dominant language
No language data
Stars
101
Forks
89
Avg merge
30m
Merged PRs (30d)
3

Description

## Description of the issue

File sizes are defined as int32 in multiple places. This is not enough for larger file sizes.

## Current content
```
"/files/content": {
"options": {
"operationId": "options_files_content",
"summary": "Preflight check before upload",
"tags": [
"Files"
],
"x-box-tag": "uploads",
"description": "Performs a check to verify that a file will be accepted by Box\nbefore you upload the entire file.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name for the file",
"example": "File.mp4"
},
"size": {
"type": "integer",
"format": "int32",
"description": "The size of the file in bytes",
"example": 1024
},
```

## Expected content

Type should be `int64`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.