Removes duplicated code in the FixUpAnnotations method
Use a different regex to identify paths that start with entity sets and singletons
Add annotations for paths like EntitySet/{id}/NavigationProperty/{id} within annotations for EntitySet/{id}/NavigationProperty as ReadByKeyRestrictions for description annotations and rel https://graph.microsoft.com/rels/docs/get for link annotations
Remove $ref at the end of path for proper mapping of navigation properties annotations.
Closes #159
This PR:
FixUpAnnotations
methodEntitySet/{id}/NavigationProperty/{id}
within annotations forEntitySet/{id}/NavigationProperty
asReadByKeyRestrictions
for description annotations and relhttps://graph.microsoft.com/rels/docs/get
for link annotations