public void BuildReference_Relative() { string refName = "refName"; string refDesc = "Description of refName"; Uri uri = new Uri("./address.schema.json", UriKind.Relative); var varref = new JSBRef(refName, refDesc, uri); JsonSchema varSchema = varref.AsJsonSchema(); }
public void BuildReference_Absolute_WithFragment() { string refName = "refName"; string refDesc = "Description of refName"; Uri uri = new Uri("///E:/Projects/Funny/Onion/address.schema.json#/definitions/ftp", UriKind.Relative); var varref = new JSBRef(refName, refDesc, uri); JsonSchema varSchema = varref.AsJsonSchema(); }