Open mikeharder opened 3 months ago
I understand that before this change goes in we can use this heuristic:
before
if the path is of form vss/_work/1/lint-asd77d8as/specifcation
- this means "target branch of PR after
if the path is of form vss/_work/1/azure-rest-api-specs
- this means "changes in PR" Add property beforeOrAfter with values before and after
I significantly prefer this approach instead of tampering with the path. I understand by path you mean details.source.document
.
Errors should include one or more ways to indicate whether they apply to the "before" or "after" spec. Example of current schema:
Options:
beforeOrAfter
with valuesbefore
andafter
/before/
, and "after" path to include directory/after/