Contributions
Re: How to display a list of objects
Hiponelat I use the following libraries for the code: Swashbuckle.AspNetCore.Annotations Version="5.6.3" Swashbuckle.AspNetCore.SwaggerGenVersion="5.6.3" Swashbuckle.AspNetCore.SwaggerUIVersion="5.6.3" Swashbuckle.AspNetCore.FiltersVersion="6.0.0" Microsoft.AspNetCore.Authorization; Microsoft.AspNetCore.Mvc; Microsoft.AspNetCore.Mvc.ModelBinding; We don't use swagger files. The definition is made in the controllers, not in a swagger file.4.3KViews0likes3CommentsHow to display a list of objects
Hi! I am doing a controller that has to receive an object. This object has a list of objects of type < ShippingAddressDTO>. My problem is that swagger does not show the object type of the list. Even knowing the object type and introducing the fields in swagger, it arrives as null in the controller.4.3KViews0likes5Comments