ASP.NET Core 8.0: Swagger Error When Using IFormFile in Upload Endpoint
I am developing an ASP.NET Core 8.0 Web API for my bachelor’s project. The API includes an upload endpoint for processing Excel files containing location data. However, when implementing the endpoint, Swagger fails to load and throws the following error: