oapi-codegen
oapi-codegen copied to clipboard
Slice type marshal error
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