You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using [SwaggerRequestExample] from Swashbuckle.AspNetCore.Filters to generate examples to my schemas definition in the swagger file. But I got only a new field in each schema named additionalProperties: false and I don't know why I got this result instead of getting my examples.
I followed the tutorial provided in the documentation and I have tried the XML solution, but nothing works.
The text was updated successfully, but these errors were encountered:
If you need to use the filter for some reason, then I can help you with that. Please post your example controller action method, your example, and your AddSwaggerGen method.
I am using [SwaggerRequestExample] from Swashbuckle.AspNetCore.Filters to generate examples to my schemas definition in the swagger file. But I got only a new field in each schema named additionalProperties: false and I don't know why I got this result instead of getting my examples.
I followed the tutorial provided in the documentation and I have tried the XML solution, but nothing works.
The text was updated successfully, but these errors were encountered: