Open
Description
namespace Swaggest\JsonSchema;
interface RemoteRefProvider
{
public function getSchemaData($url);
}
Is it possible in getSchemaData
to get an JSON object, which contains a member named $ref
?
[...]
{
"title": "my_value",
"description": "my_value",
"$ref": "..."
}
[...]
I am aware of the limitations of a JSON Reference
, but I need to do it in such a way that the properties with the value "my_value"
from the example override the own properties of the schema referenced by $ref
. To do this, in getSchemaData
I need access to the object containing the $ref
, the rest is trivial.
Any solution that works will do!
Metadata
Metadata
Assignees
Labels
No labels