Payara
Payara copied to clipboard
Bug Report: Request Body Example value is empty in OpenApi UI/FISH-7636
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
Current Outcome
Reproducer
https://github.com/LarsBrenker/pay-openapi-example
Operating System
Docker
JDK Version
JDK 17
Payara Distribution
Payara Micro
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