I\'m using Swashbuckle with ASP.net core. It is producing a nice website with a list of models at the bottom.
How can I add a model to this list that isn\'t al
Maybe not the cleanest solution but I achieved the same by setting a ProducesResponseType attribute above my Controller:
[ProducesResponseType(typeof(object), 200)]
public class FileController : Controller
{
Where you replace object with the object you want to display in the model and create a new line for each additional one. Just be sure you use a different Statuscode for each one, else it'll only display the last.