helidon-io / helidon

Java libraries for writing microservices
https://helidon.io
Apache License 2.0
3.5k stars 566 forks source link

OpenAPI document generator should support multipart/form-data #7447

Open spericas opened 1 year ago

spericas commented 1 year ago

Jakarta REST 3.1 now has support for this (https://github.com/jakartaee/rest/issues/418). We need to make sure our OpenAPI document generator can handle this media type correctly.

tjquinno commented 1 year ago

Two parts to this:

  1. code -> OpenAPI document: The SmallRye OpenAPI implementation does the annotation scanning to derive the OpenAPI document from an application. I have filed this SmallRye issue requesting that enhancement: https://github.com/smallrye/smallrye-open-api/issues/1571
  2. OpenAPI document -> code: Our OpenAPITools generator(s) will need to be enhanced to generate code using the new multipart form data annotation.