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
Hi, thanks for your issue. google.protobuf.Any fields are not great for JSON translation. You may want something like google.protobuf.Struct instead - this type allows arbitrary JSON. Note that it's not a great experience for users (as you noticed). I recommend having strictly typed responses for each endpoint, instead of one that varies.
🚀 Feature
(A clear and concise description of what the feature is.)
I have an field
sometimes Reply.Data is Test2.name, sometime Reply.Data is names,
when I gen openapi.json, Reply.Data is error .
What can I do?
The text was updated successfully, but these errors were encountered: