Skip to content

Commit 88beede

Browse files
authored
fix: update contacts typespec annotation to restore update and delete operations (#899)
1 parent 0e6413b commit 88beede

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

additions/main.tsp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ namespace microsoft.graph {
1313
@graphRoute("contacts/{id}")
1414
interface OrgContactsById extends Resource<OrgContact> {
1515
@select GetResource is GraphOps.GetResource;
16+
@select PatchResource is GraphOps.PatchWithResponse;
17+
@select DeleteResource is GraphOps.Delete;
1618
}
1719
@graphRoute("contacts")
1820
interface OrgContacts extends Collection<OrgContact> {
19-
@orderBy("displayName") @filter("*") @search @count @select @top GetCollection is GraphOps.GetPagedCollection;
21+
@orderBy("displayName") @filter("*") @search @count @select @skip @top GetCollection is GraphOps.GetPagedCollection;
2022
}
2123
}

0 commit comments

Comments
 (0)