microsoft-graph-devx-api icon indicating copy to clipboard operation
microsoft-graph-devx-api copied to clipboard

[API Doctor] Incorrect Table parser selection depending on configuration order.

Open andrueastman opened this issue 9 months ago • 0 comments

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.

andrueastman avatar Nov 15 '23 08:11 andrueastman