Describe the feature
When, we configure a OpenAPILink without the ResponseValidationPlugin, we're able to define schema that uses Set data type, for example in zod: z.set, and then receive correctly it client side.
However, when we use the plugin, we have the following error:
ValidationError: Server response output does not match expected schema
issues: [
{
expected: 'set',
code: 'invalid_type',
path: [Array],
message: 'Invalid input: expected set, received array'
}
],
We don't have a coerce method on z.set, but it would be nice, that it works out of the box.
Additional information
Describe the feature
When, we configure a
OpenAPILinkwithout the ResponseValidationPlugin, we're able to define schema that usesSetdata type, for example in zod:z.set, and then receive correctly it client side.However, when we use the plugin, we have the following error:
We don't have a
coercemethod onz.set, but it would be nice, that it works out of the box.Additional information