Closed
Description
Based on feedback from #58968 (comment) and #58968 (comment).
We need to resolve the bug for schema comparisons around the following type hierarchy:
// List<LocationContainer>
{
"type": "array",
"items": {
"type": "object",
"properties": {
"location": {
"type": [
"object",
"null"
],
"properties": {
"address": {
"type": [
"object",
"null"
],
"properties": {
"relatedLocation": {
"type": [
"object",
"null"
],
"properties": {
"address": {
"$ref": "#/items/properties/location/properties/address",
"x-schema-id": "AddressDto",
"nullable": true
}
},
"x-schema-id": "LocationDto",
"nullable": true
}
},
"x-schema-id": "AddressDto",
"nullable": true
}
},
"x-schema-id": "LocationDto",
"nullable": true
}
},
"x-schema-id": "LocationContainer"
}
}
// LocationContainer[]
{
"type": "array",
"items": {
"type": "object",
"properties": {
"location": {
"type": [
"object",
"null"
],
"properties": {
"address": {
"type": [
"object",
"null"
],
"properties": {
"relatedLocation": {
"type": [
"object",
"null"
],
"properties": {
"address": {
"$ref": "#/items/properties/location/properties/address",
"x-schema-id": "AddressDto",
"nullable": true
}
},
"x-schema-id": "LocationDto",
"nullable": true
}
},
"x-schema-id": "AddressDto",
"nullable": true
}
},
"x-schema-id": "LocationDto",
"nullable": true
}
},
"x-schema-id": "LocationContainer"
}
}
// Dictionary<string, LocationContainer>
{
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"location": {
"type": [
"object",
"null"
],
"properties": {
"address": {
"type": [
"object",
"null"
],
"properties": {
"relatedLocation": {
"type": [
"object",
"null"
],
"properties": {
"address": {
"$ref": "#/additionalProperties/properties/location/properties/address",
"x-schema-id": "AddressDto",
"nullable": true
}
},
"x-schema-id": "LocationDto",
"nullable": true
}
},
"x-schema-id": "AddressDto",
"nullable": true
}
},
"x-schema-id": "LocationDto",
"nullable": true
}
},
"x-schema-id": "LocationContainer"
}
}
// ListContainer
{
"type": "object",
"properties": {
"location": {
"type": [
"object",
"null"
],
"properties": {
"address": {
"type": [
"object",
"null"
],
"properties": {
"relatedLocation": {
"type": [
"object",
"null"
],
"properties": {
"address": {
"$ref": "#/properties/location/properties/address",
"x-schema-id": "AddressDto",
"nullable": true
}
},
"x-schema-id": "LocationDto",
"nullable": true
}
},
"x-schema-id": "AddressDto",
"nullable": true
}
},
"x-schema-id": "LocationDto",
"nullable": true
}
},
"x-schema-id": "LocationContainer"
}
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done