Open provokateurin opened 1 year ago
I have a problem with the following spec:
{ "type": "object", "additionalProperties": { "nullable": true, "$ref": "#/components/schemas/Reference" } }
The problem is that the code assumes it is a Reference when $ref is set, but that is actually not true in this case since it is a proper Schema.
Reference
$ref
Schema
Dirty fix I tried before properly debugging this: https://github.com/cebe/php-openapi/pull/184
I have a problem with the following spec:
The problem is that the code assumes it is a
Reference
when$ref
is set, but that is actually not true in this case since it is a properSchema
.Dirty fix I tried before properly debugging this: https://github.com/cebe/php-openapi/pull/184