I am migrating a .net core 2.1 API to .Net core 3.1 and looks like the Produces File content is not supported . I am running into issue where the swagger UI returns a Binary con