Created by: EmhyrVarEmreis
Related to #8659 (closed)
Actual api endpoint is using org.springframework.core.io.Resource
but delegatee is using org.springframework.web.multipart.MultipartFile
Now both are using the second one, which is recommended by Spring (according to my latest knowledge)
Tests are passing and also generation of the following endpoint works (it does not work on plain 5.1.0)
post:
operationId: setClientFile
tags:
- clients
parameters:
- $ref: '#/components/parameters/clientId'
requestBody:
required: true
content:
application/octet-stream:
schema:
type: string
format: binary
responses:
204:
description: No records found
415:
description: Invalid image type
200:
description: Upload successful
@bbdouglas @sreeshas @jfiala @lukoyanov @cbornet @jeff9finger @karismann @Zomzog @lwlee2608 @nmuesch
-
Read the contribution guidelines. -
Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community. -
Run the following to build the project and update samples: ./mvnw clean package ./bin/generate-samples.sh ./bin/utils/export_docs_generators.sh
./bin/generate-samples.sh bin/configs/java*
. For Windows users, please run the script in Git BASH. -
File the PR against the correct branch: master
,5.1.x
,6.0.x
-
If your PR is targeting a particular programming language, @mention the technical committee members, so they are more likely to review the pull request.