Open vatsalyachauhan opened 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
@bdefoy @rkmanda FYI
Task 23293632: [LintDiff] [~[Staging] Swagger LintDiff failed] Conflicting validation rules for Async operations
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