Skip to content

Commit 542e29f

Browse files
committed
Merge pull request #50 from glennblock/dev
Adding rt and rel. Fix for #49
2 parents c44deac + ff6ff7a commit 542e29f

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/WebApiContrib.CollectionJson/Item.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ public Item()
1414
}
1515

1616
public Uri Href { get; set; }
17+
public string Rel { get; set; }
18+
public string Rt { get; set; }
1719
public IList<Data> Data { get; private set; }
1820
public IList<Link> Links { get; private set; }
1921

src/WebApiContrib.CollectionJson/Query.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ public Query()
1212
Data = new List<Data>();
1313
}
1414

15+
public string Rt { get; set; }
1516
public string Rel { get; set; }
1617
public Uri Href { get; set; }
1718
public string Prompt { get; set; }

0 commit comments

Comments
 (0)