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
In the openapi specification the style: form, explode: true method is the default object serialization. When I define a schema with these, for example:
parameters:
- in: query
name: id
schema:
type: object
properties:
role:
type: string
firstName:
type: string
style: form
explode: true
And I call the mock api with the correct serialization: /users?role=admin&firstName=Alex.
I encounter a validation error indicating a missing "id" property, suggesting the library expects the object as a single parameter rather than exploded into individual properties.
Expected Behavior: The library should validate requests with exploded form serialization correctly, recognizing individual properties as part of the specified object parameter.
Is there any solution or workaround for this?
The text was updated successfully, but these errors were encountered:
In the openapi specification the style: form, explode: true method is the default object serialization. When I define a schema with these, for example:
And I call the mock api with the correct serialization:
/users?role=admin&firstName=Alex.
I encounter a validation error indicating a missing "id" property, suggesting the library expects the object as a single parameter rather than exploded into individual properties.
Expected Behavior: The library should validate requests with exploded form serialization correctly, recognizing individual properties as part of the specified object parameter.
Is there any solution or workaround for this?
The text was updated successfully, but these errors were encountered: