I am generating Swagger in a .Net Core web api and I would like to show in the swagger UI which properties in a post request body are required?
I have already tried using Data Annotations to mark which ones are required.
thanks in advance.
I am generating Swagger in a .Net Core web api and I would like to show in the swagger UI which properties in a post request body are required?
I have already tried using Data Annotations to mark which ones are required.
thanks in advance.