Add URL parameter in API client #2742
oleksiivelychko
started this conversation in
General
Replies: 1 comment 3 replies
-
Normally there should be a property ID on the params struct. params := products.NewUpdateProductParams()
params.ID = 123456 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I got generated API client and I've started write tests for it. But I came across to the next problem - I didn't find how can I pass URL in:path parameter into my API client.
In this above code I want to specify ID parameter for the exists route /prodcuts/{id}
How can I do it?
Beta Was this translation helpful? Give feedback.
All reactions