diff --git a/modules/swagger-parser-v3/src/test/resources/issue-2071/definitions.yaml b/modules/swagger-parser-v3/src/test/resources/issue-2071/definitions.yaml index deef68cfa2..3d0068dfb0 100644 --- a/modules/swagger-parser-v3/src/test/resources/issue-2071/definitions.yaml +++ b/modules/swagger-parser-v3/src/test/resources/issue-2071/definitions.yaml @@ -5,10 +5,9 @@ components: items: oneOf: - $ref: '#/components/schemas/ProductRow' - - type: object - properties: - orderRow: - $ref: '#/components/schemas/OrderRow' + properties: + orderRow: + $ref: '#/components/schemas/OrderRow' discriminator: propertyName: type mapping: