-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add an example of @RequestBody #30
Comments
Just an additional question. I just tried the |
Currently mpOpenAPI-1.0 does not support scanning of
Using this approach it is possible to put parameter definitions into a POJO |
Thanks for your input. |
Adding |
Hi @tt-le, thanks for your input. I can revise this issue (and create a minimal example) in a few weeks at best – sorry! I can also add |
Hello OpenLiberty-Team!
Your example is a great way to learn about the OpenAPI spec. Please add an example about
@RequestBody
, that would be very helpful.Reason: With OpenAPI 3.0, form-data parameters were moved from Parameter to RequestBody. So I initially thought that
ParameterIn.RequestBody
was missing. Instead, there is a requestBody annotation for those parameters, and the parameters need to be hidden.See for reference: eclipse/microprofile-open-api#299
(Especially for a login which is using APPLICATION_FORM_URLENCODED).
The text was updated successfully, but these errors were encountered: