mattfrear/Swashbuckle.AspNetCore.Filters

IAsyncEnumerable serializer

KeyserDSoze opened this issue · 3 comments

image

In MvcOutputFormatter we need to have a jsonserializer async to have a default behavior with system.text.json and also serialize all the async "stuff".

image

Hi

This code was written a long time ago and has been working fine for many people for many years. How do you get this exception? Can you provide reproduction steps?

The SerializeAsync method which you have linked to needs a Stream as an argument, I don't know how I would rewrite my code to call this method. You are welcome to try via a pull request, but I think it would be a lot of work.