Skip to content

Commit

Permalink
feat: Retrigger release for CLI & GO (#505)
Browse files Browse the repository at this point in the history
This PR attempts to trigger release for CLI with Go.

fix(CLI): retrigger release for CLI

feat(GO): retrigger release for GO
  • Loading branch information
hahmed-dev authored Dec 21, 2023
1 parent d6574c1 commit 4fcf237
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openapi-generator/templates/go/client.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ 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

0 comments on commit 4fcf237

Please sign in to comment.