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
bar:
properties:
field:
type: string
enum: [a,b]
ray:
properties:
field:
type: string
enum: [c,d]
MyObject:
properties:
foo:
type: array
items:
oneOf:
- $ref: '#/components/schemas/bar'
- $ref: '#/components/schemas/ray'
```
ObjectSerializer::deserialize (src/Http/ObjectSerializer.php:478) fails:
getFieldAllowableValues & getOperatorAllowableValues do not combine all options and validation fails.
It instead only uses enum values from the last item (ray) for validation
##### openapi-generator version
Latest
The text was updated successfully, but these errors were encountered:
Description
The text was updated successfully, but these errors were encountered: