microsoft-graph-devx-api
microsoft-graph-devx-api copied to clipboard
[API Doctor] Incorrect Table parser selection depending on configuration order.
API Doctor selects the wrong table parser if a table title contains the title in the configuration.
As seen in https://github.com/microsoftgraph/microsoft-graph-docs/pull/22555/commits/3d714ff42a591f2bccdb0c65cc76360663eb4764, enum definitions containing the word "Permissions" are parsed as AuthScopes instead of EnumerationValues
.
The parsing logic for such titles should be fixed to be an exact match to alleviate this. This was temporarily fixed by having the enum preferences parsed first.