vertx-web
vertx-web copied to clipboard
multipart file upload doesn't work with openapi check
Version
4.4.6, 4.5.0
Context
I get this error message:
io.vertx.ext.web.validation.RequestPredicateException: [Bad Request] File with content type \Qapplication/octet-stream\E and name file is missing
at io.vertx.ext.web.validation.impl.ValidationHandlerImpl.runPredicates(ValidationHandlerImpl.java:184)
at io.vertx.ext.web.validation.impl.ValidationHandlerImpl.handle(ValidationHandlerImpl.java:67)
at io.vertx.ext.web.validation.impl.ValidationHandlerImpl.handle(ValidationHandlerImpl.java:18)
Do you have a reproducer?
Steps to reproduce
- run reproducer
- upload file with curl -X POST "http://127.0.0.1:8888/test" -F "file=@/tmp/dims.jpeg;type=image/jpeg" -F "id=1"