nil query parameter shows up as string "<nil>" in server #1237
Unanswered
PeideAmonNg
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@jamietanna any idea about this one? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, when a *string type query parameter is not set, when the request is made, it is showing up in the server as
<nil>
string value as opposed to just nil.example req.URL.RawQuery on API caller side:
pagination%5Btoken%5D=%3Cnil%3E
client generated by oapi-codegen:
Any ideas? Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions