[Graph Docs] Update snippet generator to skip adding Try It button to examples with placeholders #2148
Labels
status:waiting-for-author-feedback
Issue that we've responded but needs author feedback to close
Is your feature request related to a problem? Please describe.
Currently, the Try It button is added to all GET operation topics via the snippet generation process. However, some examples include only placeholder values, and therefore the Try It experience won't work directly without additional steps by the user.
Describe the solution you'd like
We don't want to add the Try It button automatically to GET operation examples that have placeholders or fictitious values. We propose that the snippet process leave the HTTP tab as-is without adding msgraph-interactive in the following cases:
sampleKeys
property of the HTML comment block.Describe alternatives you've considered
Manually removing them doesn't work because the process currently adds it back via automation.
The text was updated successfully, but these errors were encountered: