allOf is not properly merged
- Vorherrschende Sprache
- PHP
- Sterne
- 500
- Forks
- 99
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Given a schema that uses `allOf` to combine two different `object` schemas, the properties of the two schemas are not combined:
```json
{
"components": {
"schemas": {
"identifier": {
"type": "object",
"properties": {
"id": {"type": "string"}
}
},
"person": {
"allOf": [
{"$ref": "#/components/schemas/identifier"},
{
"type": "object",
"properties": {
"name": {
"type": "string"
}
}
}
]
}
}
}
}
```
Not 100% sure that schema validates, but it should be a good start.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.