Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slice type marshal error #1575

Open
mhsbz opened this issue Apr 25, 2024 · 0 comments
Open

Slice type marshal error #1575

mhsbz opened this issue Apr 25, 2024 · 0 comments

Comments

@mhsbz
Copy link

mhsbz commented Apr 25, 2024

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

device_approve_bulk_requestBody:
   type: object
   properties:
     user_codes:
       type: array
       items:
         type: string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant