Open movilitero opened 4 years ago
I will need more context to help you @movilitero
if you have a type: object it will be translated as [String: Any]. If you add ["MyId": 1] to the dictionary, when you send it it will be sent as MyId: true
Is this gonna help you ? https://github.com/yonaskolb/SwagGen/pull/229
Hello.
I have a definition as Any. As it has its complications i changed it manually to a [String: Any] dictionary. When an int with value 1 or 0 is encoded, its converted into boolean.
Best regards