Solve `allOf` recursively in OpenAPI and JSON Schemas.