Closed KyryloRiznychenko closed 11 months ago
I found that the problem was in the incorrect format. I also noticed that to get the correct Swagger CURL (UI), I need to make a hint for Swagger. In my case, it was example={{"propety":'value"},{"propety":'value"}} and Swager generated it as array of objects
I hope that It'll help someone
Description:
I try to make a schema for a request class where I want the sizes parameter to be objects in an array. But the Swagger generates it like JSON instead of objects in an array.
What am I doing wrong?
I apologize if my question is easy, but I can't understand where I made a mistake. I'll be glad for any help. Thanks