I noticed a few OOMs for large asset uploads while testing on a small memory-constrained server to ensure Storyden runs nicely on small low-power machines. It seems ValidateRequestBody is calling io.ReadAll so even though I thought we were doing a streaming read for file uploads, the actual full request body is still read entirely into memory. This is a huge problem for image-heavy and document-heavy services.
Is there a way to tell oapi-codegen to skip this for one specific endpoint?