Skip to content
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

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

Open
Lars5678 opened this issue Jul 11, 2023 · 1 comment
Open
Assignees
Labels
Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev Type: Bug Label issue as a bug defect

Comments

@Lars5678
Copy link

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 Lars5678 added Status: Open Issue has been triaged by the front-line engineers and is being worked on verification Type: Bug Label issue as a bug defect labels Jul 11, 2023
@felixif
Copy link

felixif commented Jul 17, 2023

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 felixif added Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev and removed Status: Open Issue has been triaged by the front-line engineers and is being worked on verification labels Jul 17, 2023
@Elifzeynepedman Elifzeynepedman changed the title Bug Report: Request Body Example value is empty in OpenApi UI Bug Report: Request Body Example value is empty in OpenApi UI/FISH-7636 Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Accepted Confirmed defect or accepted improvement to implement, issue has been escalated to Platform Dev Type: Bug Label issue as a bug defect
Projects
None yet
Development

No branches or pull requests

2 participants