VCST-4353: Improve Swagger Schema for File Upload using streaming #2968
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.



Description
feat: Introduce UploadFileAttribute for marking file upload endpoints using streaming, enhancing Swagger/OpenAPI documentation.
References
QA-test:
Jira-link:
https://virtocommerce.atlassian.net/browse/VCST-4353
Artifact URL:
Note
Introduces
UploadFileAttributeand registersUploadFileOperationFilterto describe streaming file upload endpoints asmultipart/form-datawith binary file fields.UploadFileAttributeto mark streaming file upload endpoints with configurableName,Description,Type,Required, andAllowMultiple.UploadFileOperationFilterto generatemultipart/form-datarequest bodies with binary file field(s), honoring attribute settings; register the filter inSwaggerServiceCollectionExtensions.Written by Cursor Bugbot for commit 00c5305. This will update automatically on new commits. Configure here.
Image tag:
ghcr.io/VirtoCommerce/platform:3.918.0-pr-2968-00c5-vcst-4353-00c53054