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
Though the parameter values are not being validated as I would expect: I can send any types (string, integer,...) and any format of string ( e.g 'non_valid_format') and the validation won't complaint about it.
Note that for example If I were to specify a homogeneous array (without specifying oneOf) the specified constraints work as expected and I get the expected error messages:
I have the following query parameter described within a certain path:
Though the parameter values are not being validated as I would expect: I can send any types (string, integer,...) and any format of string ( e.g 'non_valid_format') and the validation won't complaint about it.
Note that for example If I were to specify a homogeneous array (without specifying oneOf) the specified constraints work as expected and I get the expected error messages:
Correct response having providing wrong values:
Correct response having provided wrong values:
So my guess is that the problem lies only when using the constraints within a oneOf in an array's items section.
I am currently using
openapi-core 0.8.0
The text was updated successfully, but these errors were encountered: