From 3940e448d37dda2c59f97ba55e662fc575704b2d Mon Sep 17 00:00:00 2001 From: Hassan Ahmed <141136168+hahmed-dev@users.noreply.github.com> Date: Thu, 21 Dec 2023 14:03:36 +0100 Subject: [PATCH] Revert "add additional comment (#502)" This reverts commit 8ce0253fc9ac21ace42fbfd4c3cf311922b57e10. --- openapi-generator/templates/go/client.mustache | 2 -- 1 file changed, 2 deletions(-) diff --git a/openapi-generator/templates/go/client.mustache b/openapi-generator/templates/go/client.mustache index ebc695ee..d8efda7f 100644 --- a/openapi-generator/templates/go/client.mustache +++ b/openapi-generator/templates/go/client.mustache @@ -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)