Open matt0x6F opened 2 hours ago
To disambiguate some code here:
File
is a db modelNinjaFile
is from ninja import File as NinjaFile
For some extra context I use openapi-generator-cli
to generate my TypeScript SDK using typescript-fetch
. I can supply the code around that if it helps at all.
Describe the bug Ninja fails to parse the request body correctly and throws a validation error, contrary to the instructions under Upload files with extra fields.
Versions (please complete the following information):
Relevant schema
API Code
Request body
Content-Type
on the request is set tomultipart/form-data; boundary=---------------------------291645760626718691221248293984
Response