Skip to content

Conversation

@spwitt
Copy link
Contributor

@spwitt spwitt commented Feb 11, 2026

PR details

Copy link
Contributor Author

@spwitt spwitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note on Go client generation

[#if !param.constant?? && param.javaType == "Integer"]
WithUriSegment(strconv.Itoa(${(param.constant?? && param.constant)?then(param.value, global.convertValue(param.name, "go"))})).
[#elseif !param.constant?? && goType != "string"]
WithUriSegment(string(${(param.constant?? && param.constant)?then(param.value, global.convertValue(param.name, "go"))})).
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was needed to convert the enum to a string for the type URL parameter.

@spwitt spwitt requested review from bhalsey and hjaret February 13, 2026 13:50
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

Successfully merging this pull request may close these issues.

1 participant