Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using
oneOf
also for simple non-$ref
types
As per OpenAPI documentation at https://swagger.io/docs/specification/data-models/data-types/ the OpenAPI v3 documentation does not allow defining union types via `type: ['string', 'integer']`, but requires explicit usage of `oneOf` and nested type declarations or references instead. Ref: api-platform/core#3402 (comment)
- Loading branch information