Im using .net core 3.1 and i`m testing my APIs with swagger Ui.
i have one method that it steams video and i want to test it with swagger.
when i tried to load swagger page i got an error that swagger has failed to load
do you have any ideas how can i load stream video on swaggerUI?
        [Route("getFileById")]
    public FileResult getFileById()
    {
        return PhysicalFile($"H:/Movie/Joey/Joey.S01E01.FardaDL.mkv", "application/octet-stream", enableRangeProcessing: true);
    }
my swagger configuration
            app.UseSwagger();
        app.UseSwaggerUI(c =>
        {
            c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");
        });
and
            services.AddSwaggerGen();

 
    