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
As per openapi if the explode: true and style: form the parameters should be serialized as follows:
URI template: /users{?id*}
Object id = {"role": "admin", "firstName": "Alex"} ---> /users?role=admin&firstName=Alex
With current implamentation of OpenApiSpex.CastParameters it is only possible to use query param as a deepObject and that looks like: /users?id[role]=admin&id[firstName]=Alex.
The explode: true does nothing in this case.
The CastParameters module when creating a schema for a location (path, query,...) it is always using the top name of the object and not exploding the parameter properties.
The text was updated successfully, but these errors were encountered:
As per openapi if the
explode: true
andstyle: form
the parameters should be serialized as follows:With current implamentation of
OpenApiSpex.CastParameters
it is only possible to use query param as adeepObject
and that looks like:/users?id[role]=admin&id[firstName]=Alex
.The explode: true does nothing in this case.
The
CastParameters
module when creating a schema for a location (path, query,...) it is always using the top name of the object and not exploding the parameter properties.The text was updated successfully, but these errors were encountered: