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
When generating client code defined through swagger 3.0, the runtime.MarshalForm method will marshal the values of type slice in the form structure into field_name[index], but the server cannot handle such fields(such as user_codes[0],user_codes[1]), It only supports the user_codes field
Activity
mromaszewicz commentedon Jul 16, 2026
This is an old issue that I'm revisiting, but what you describe seems like you're trying to do something invalid with your server description.
You've described that your request body is a JSON object that looks like:
The server expects valid json, and the form encoding is the wrong way to serialize that.