Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
113 stars 177 forks source link

[LintDiff][~[Staging] Swagger LintDiff failed] Conflicting validation rules for Async operations #6198

Open vatsalyachauhan opened 1 year ago

vatsalyachauhan commented 1 year ago

Describe the bug Following two rules seems conflicting:

1.

2.

Azure/azure-openapi-validator#1 says, you must add x-ms-long-running-operation-options while Azure/azure-openapi-validator#2 says, you don't need to add this if you are following ARM guidelines at server end.

Example where the rule flagged: https://github.com/Azure/azure-rest-api-specs-pr/pull/12351/checks?check_run_id=13277783713 Search DeleteOperationAsyncResponseValidation and XmsLongRunningOperationOptions

konrad-jamrozik commented 1 year ago

@bdefoy @rkmanda FYI

rkmanda commented 1 year ago

Task 23293632: [LintDiff] [~[Staging] Swagger LintDiff failed] Conflicting validation rules for Async operations