Skip to content

Commit 90115af

Browse files
authored
Update guidance docs for OAV check (#26948)
* update guidance docs to align with reality * double backtick
1 parent 378977e commit 90115af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

documentation/Semantic-and-Model-Violations-Reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ This document lists the set of automated rules that can be validated against swa
850850

851851
**Output Message**: Long running operation should return {header} in header but not being provided.
852852

853-
**Description**: Long running operation must return location header or azure-AsyncOperation header in response when this operation is annotated with x-ms-long-running-operation:true.
853+
**Description**: Long running operation must return `Operation-Id`, `Operation-Location`, or `azure-AsyncOperation` header in response when this operation is annotated with x-ms-long-running-operation:true.
854854

855855
**How to fix the violation**: Adding one of these headers to the response in example or in traffic payload. Refer to this [example](https://github.com/Azure/azure-rest-api-specs/blob/5e638554b6/specification/appplatform/resource-manager/Microsoft.AppPlatform/stable/2020-07-01/examples/Apps_Update.json#L64) for the fix.
856856

0 commit comments

Comments
 (0)