Open ghost opened 5 years ago
More of a question than an issue: I am using this library to render some web forms and the "inline" definition in a schema file works; i.e.
... "attributeA": { "$ref": "#/definitions/attributerADef" }, ...
"definitions": { "attributeADef": { ... }, ...
However, does the same work when $ref is a file on the same path OR over the wire:
... "attributeA": { "$ref": "attributerADef.json" }, ...
OR
"attributeA": { "$ref": "http:www.example.com/attributeADef.json" },
which template:
Thanks
More of a question than an issue: I am using this library to render some web forms and the "inline" definition in a schema file works; i.e.
... "attributeA": { "$ref": "#/definitions/attributerADef" }, ...
"definitions": { "attributeADef": { ... }, ...
However, does the same work when $ref is a file on the same path OR over the wire:
... "attributeA": { "$ref": "attributerADef.json" }, ...
OR
which template:
Thanks