[typescript-axios] handle uniqueItems in query and header parameters#8965
Conversation
|
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
There was a problem hiding this comment.
I'm not 100% sure about the comparison here <any>"{{{dataType}}}" !== "Set<string>" as I'm not sure what the comparison in the Array case is supposed to do. If someone can verify that this is correct or let me know what the correct version is supposed to be, I would be grateful 😃
There was a problem hiding this comment.
it looks correct, I think the idea is to serialize the items of a non-string array/set
|
The commit appears bigger than it actually is due to the generated code from the additional typescript-axios config |
There was a problem hiding this comment.
it looks correct, I think the idea is to serialize the items of a non-string array/set
|
@t-h-e thanks for your contribution. please re-generate the samples |
|
note: this PR is similar to #8695 |
add endpoint /fake/test-unique-paramters to petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml for demonstration
9aa72a5 to
ac11813
Compare
Fixes #6904
uniqueItemsfor query and header parameter have not been handled correctlyadd endpoint /fake/test-unique-paramters to petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml and typescript-axios config for demonstration
@TiFu @taxpon @sebastianhaas @kenisteward @Vrolijkx @macjohnny @topce @akehir @petejohansonxo @amakhrov