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

The swagger document contains no request body examples #15

Open
cluka opened this issue Mar 30, 2022 · 1 comment
Open

The swagger document contains no request body examples #15

cluka opened this issue Mar 30, 2022 · 1 comment

Comments

@cluka
Copy link

cluka commented Mar 30, 2022

Hi.
When I use standard controllers, the swagger documentation generates a request body examples from model (dto) classes. In case of MediatrEndpoints those body examples are not generated.
In the attached picture I can see Request body example
viber_image_2022-03-30_10-30-57-179
But in MediatR.Endpoints that schema is not generated.
How can I tell it to generate the Request body schema?

@lessismore1
Copy link

Same problem...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants