You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using Smithy models, which convert to Open API schema. It is further used to generate code in TypeScript.
I want to understand the deserialisation behaviour of httpQuery trait.
It mentions that : "Binds an operation input structure member to a query string parameter."
For the below code:
I was expecting that the query string params used by the clients would be object-color but when Smithy forms the deserialised structure it would have a property of color. But I'm observing the de-serialised structure actually contains objectColor and not color.
Is this expected ? If yes, then what's the significance of specifying color again as a member in the structure.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
Hi,
I am using Smithy models, which convert to Open API schema. It is further used to generate code in TypeScript.
I want to understand the deserialisation behaviour of httpQuery trait.
It mentions that : "Binds an operation input structure member to a query string parameter."
For the below code:
I was expecting that the query string params used by the clients would be
object-color
but when Smithy forms the deserialised structure it would have a property ofcolor
. But I'm observing the de-serialised structure actually containsobjectColor
and notcolor
.Is this expected ? If yes, then what's the significance of specifying
color
again as a member in the structure.Thanks in advance!
The text was updated successfully, but these errors were encountered: