membrane-php / membrane-core

Membrane is a general purpose input validation library, supports both PHP Attributes and OpenAPI specifications
Other
3 stars 3 forks source link

Support "type" as an array of string values #114

Open charjr opened 1 year ago

charjr commented 1 year ago

OAS 3.1 allows "type" to be an array of string values

i.e.

type:
    - string
    - integer

Membrane currently only supports a single string value (which is all that is allowed in OAS 3.0)