Skip to content

Commit

Permalink
Fix example for XmsClientNameParameter rule (Azure#16019)
Browse files Browse the repository at this point in the history
* Fix example for XmsClientNameParameter rule

* Address PR review comments
  • Loading branch information
mikekistler authored Sep 27, 2021
1 parent a80f00d commit 699c3a0
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions documentation/openapi-authoring-automated-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -501,27 +501,15 @@ Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rul

**Examples**:
```json
"parameters": {
"ApiVersionParameter": {
"name": "x-ms-version",
"x-ms-client-name": "version",
"parameters": [
{
"name": "If-Match",
"in": "header",
"required": false,
"type": "string",
"x-ms-global": true,
"enum": [
"2015-04-05",
"2014-02-14",
"2013-08-15",
"2012-02-12",
"2011-08-18",
"2009-09-19",
"2009-07-17",
"2009-04-14"
],
"default": "2015-04-05",
"description": "Specifies the version of the operation to use for this request."
}
"x-ms-client-name": "IfMatch",
"description": "The ETag of the resource to match."
},
```

Links: [Index](#index) | [Error vs. Warning](#error-vs-warning) | [Automated Rules](#automated-rules) | [ARM](#arm-violations): [Errors](#arm-errors) or [Warnings](#arm-warnings) | [SDK](#sdk-violations): [Errors](#sdk-errors) or [Warnings](#sdk-warnings)
Expand Down

0 comments on commit 699c3a0

Please sign in to comment.