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

fix(GO,CLI): Reverts retrigger Go & CLI release #503

Merged
merged 1 commit into from
Dec 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions openapi-generator/templates/go/client.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,6 @@ func parameterToJson(obj interface{}) (string, error) {
// helper for serializing and setting mapped parameters request body
func serializeMapParams(key string, value interface{}, localParams url.Values) url.Values {
if reflect.TypeOf(value).Kind() == reflect.Map {
// since we allow values of type interface, type assertion is necessary
for k, v := range value.(map[string]interface{}) {
paramKeyName := fmt.Sprintf("%s[%s]", key, k)
serializeMapParams(paramKeyName, v, localParams)
Expand Down
Loading