Open Leemur89 opened 3 months ago
That's indeed a situation I haven't seen before. It'd be interesting to add that to the test server and see how that can be supported. Not sure when I'll have time for that though.
I did a quick PoC to see how easily this can be supported and it's not a simple change. The design relies on the Dto
class and it's available methods and changing that to Dto | list[Dto]
breaks multiple things in multiple places. I have some ideas for a redesign, but it's not a quick fix.
Hello, I have an endpoint where the root element is a list, and the generator is always giving me an empty body without possibility to edit it via the data mapping (or maybe there is one that I haven't found?)
The library is sending an empty body, and there is nothing I can do with data mapping as PropertyValueConstraint requires a property_name, which does not exist for lists.