openapi RouterBuilder support for Upload via Multipart Request
ebadta81 opened this issue · 2 comments
ebadta81 commented
Hi,
When migrating to 4.6.6, I encountered that RouterBuilder does not handle Multipart Requests, but, it is the way, if you want to upload files, with other information together.
ebadta81 commented
Sorry, it is the io.vertx.openapi.contract.impl package, which doesn't support Multipart Requests
pk-work commented
At the moment we only support application/json [1]. We would need to implement a new multipart/form-data BodyTransformer, like the ApplicationJsonTransformer [2].
I have a lot of other TODOs on my list, but if you want to help / contribute, we could work on it.
[1]
[2] https://github.com/eclipse-vertx/vertx-openapi/blob/main/src/main/java/io/vertx/openapi/validation/transformer/ApplicationJsonTransformer.java