Payara icon indicating copy to clipboard operation
Payara copied to clipboard

Bug Report: Request Body Example value is empty in OpenApi UI/FISH-7636

Open Lars5678 opened this issue 2 years ago • 1 comments

Brief Summary

If you create the OpenAPI and look at it in a UI tool like Swagger https://editor.swagger.io/ or https://github.com/microprofile-extensions/openapi-ext/blob/main/openapi-ui/README.md you will see that the request Body Example Value is empty.

Expected Outcome

grafik

Current Outcome

grafik

Reproducer

https://github.com/LarsBrenker/pay-openapi-example

Operating System

Docker

JDK Version

JDK 17

Payara Distribution

Payara Micro

Lars5678 avatar Jul 11 '23 13:07 Lars5678

Hello @LarsBrenker,

I was able to confirm, using your reproducer, that the OpenAPI document produced by Payara contains an error that prevents Swagger from showing the request body correctly. I have raised an internal issue FISH-7636, describing the issue for the Engineering team to fix. Thank you very much for your bug report!

Best regards, Felix

felixif avatar Jul 17 '23 15:07 felixif