You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to specify a response as a map, with unknown keys, rather than a struct with the known ones? For instance:
operation :data1,
summary: "Balance info and some other info",
parameters: [
......
],
responses: [
ok: {"Balance info and some other info", "application/json", MyAppSchemas.BalanceInfoEx}
]
===>
operation :data1,
summary: "Balance info and some other info",
parameters: [
......
],
responses: [
# something like
# 1
# ok: {"Balance info and some other info", "application/json", %{}}
# OR
# 2
ok: {"Balance info and some other info", "application/json", Map}
]
The text was updated successfully, but these errors were encountered:
Is there a way to specify a response as a map, with unknown keys, rather than a struct with the known ones? For instance:
===>
The text was updated successfully, but these errors were encountered: