FromForm list of classes issue
Hello, i have trouble with swagger and also the generated openapi spec.
This is the endpoint i have:
This is the model:
in swagger i see list of jsons.
What can i do to actually have proper input fields and test the file uploads?
For context: i cant use postman. The openapi spec is used to generate clients.

2 Replies
Where are you talking about having proper input fields? Postman?
in swagger, i saw that it could be a bug, that it shows this way, but maybe im doing something wrong.
But more important is the client generation. I have multiple [FromForm] endpoints, but with just one class and in dart its generated as MultipartFile (correct), but this particular usecase generates file property as Uint8List, but it should be MultipartFile.
Edit: For the sake of getting this working, i removed the files list, so just the one file needs to be fixed.