Skip to content

The swagger document contains no request body examples #15

@cluka

Description

@cluka

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions