Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make name in UploadFileVersionRequestBodyAttributesField optional #123

Open
tobihagemann opened this issue May 22, 2024 · 2 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@tobihagemann
Copy link

Is your feature request related to a problem? Please describe.

It's not really a problem because there is a workaround, but I believe that it could be a mistake in the API specification.

Describe the solution you'd like

I'd like name in UploadFileVersionRequestBodyAttributesField to be optional.

Describe alternatives you've considered

As a workaround, you can set the name to be the previous name, so that there shouldn't be any change.

Additional context

https://developer.box.com/reference/post-files-id-content/

I'm aware that the API specification says required, but the comment says optional. And I believe that optional makes more sense so that you can avoid unwanted renames of an existing file during upload.

@congminh1254
Copy link
Member

Hi @tobihagemann

As our SDK is generating based on box/box-openapi repo, so I asked the related team to update this field.

Thanks for your contribution.

Bests,
Minh

@tobihagemann
Copy link
Author

Ah, didn't know that there was a repo for the API specification. If you want, you can transfer my issue to box/box-openapi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

7 participants