Skip to content

Commit

Permalink
Committing changes to remove verbs from Swagger descriptions (#7788)
Browse files Browse the repository at this point in the history
* Committing changes to remove verbs from Swagger descriptions

* upgrade rest-api-specs-scripts version (#7712)

* bump avocado version to support $(this-folder) (#7743)

* regenerate package-lock.json (#7756)

* Committing changes as per review comments
  • Loading branch information
v-shhatt authored and Zim Kalinowski committed Nov 21, 2019
1 parent cf767ce commit dd5697e
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
"items": {
"type": "string"
},
"description": "Describes the actions permitted to the service upon delegation."
"description": "The actions permitted to the service upon delegation."
}
},
"description": "The serviceName of an AvailableDelegation indicates a possible delegation for a subnet."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@
},
"storageLocation": {
"$ref": "#/definitions/PacketCaptureStorageLocation",
"description": "Describes the storage location for a packet capture session."
"description": "The storage location for a packet capture session."
},
"filters": {
"type": "array",
Expand Down Expand Up @@ -1962,7 +1962,7 @@
"description": "A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional."
}
},
"description": "Describes the storage location for a packet capture session."
"description": "The storage location for a packet capture session."
},
"PacketCaptureFilter": {
"properties": {
Expand Down Expand Up @@ -2049,7 +2049,7 @@
"$ref": "#/definitions/PacketCaptureParameters"
}
],
"description": "Describes the properties of a packet capture session."
"description": "The properties of a packet capture session."
},
"PacketCaptureQueryStatusResult": {
"properties": {
Expand Down Expand Up @@ -2372,11 +2372,11 @@
"properties": {
"source": {
"$ref": "#/definitions/ConnectivitySource",
"description": "Describes the source of the connection."
"description": "The source of the connection."
},
"destination": {
"$ref": "#/definitions/ConnectivityDestination",
"description": "Describes the destination of connection."
"description": "The destination of connection."
},
"protocol": {
"type": "string",
Expand Down Expand Up @@ -2646,7 +2646,7 @@
"description": "The value in HTTP header."
}
},
"description": "Describes the HTTP header."
"description": "The HTTP header."
},
"AzureReachabilityReportParameters": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"limit",
"name"
],
"description": "Describes network resource usage."
"description": "The network resource usage."
},
"UsagesListResult": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1357,7 +1357,7 @@
"items": {
"type": "string"
},
"description": "Describes the actions permitted to the service upon delegation."
"description": "The actions permitted to the service upon delegation."
},
"provisioningState": {
"readOnly": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,11 +319,11 @@
],
"properties": {
"policySettings": {
"description": "Describes policySettings for policy.",
"description": "The PolicySettings for policy.",
"$ref": "#/definitions/PolicySettings"
},
"customRules": {
"description": "Describes custom rules inside the policy.",
"description": "The custom rules inside the policy.",
"type": "array",
"items": {
"$ref": "#/definitions/WebApplicationFirewallCustomRule"
Expand Down Expand Up @@ -411,22 +411,22 @@
"items": {
"$ref": "#/definitions/OwaspCrsExclusionEntry"
},
"description": "Describes the Exclusions that are applied on the policy."
"description": "The Exclusions that are applied on the policy."
},
"managedRuleSets": {
"type": "array",
"items": {
"$ref": "#/definitions/ManagedRuleSet"
},
"description": "Describes the ruleSets that are associated with the policy."
"description": "The managed rule sets that are associated with the policy."
}
}
},
"PolicySettings": {
"description": "Defines contents of a web application firewall global configuration.",
"properties": {
"state": {
"description": "Describes if the policy is in enabled state or disabled state.",
"description": "The state of the policy.",
"type": "string",
"enum": [
"Disabled",
Expand All @@ -438,7 +438,7 @@
}
},
"mode": {
"description": "Describes if it is in detection mode or prevention mode at policy level.",
"description": "The mode of the policy.",
"type": "string",
"enum": [
"Prevention",
Expand Down Expand Up @@ -491,11 +491,11 @@
"description": "A unique read-only string that changes whenever the resource is updated."
},
"priority": {
"description": "Describes priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.",
"description": "Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value.",
"type": "integer"
},
"ruleType": {
"description": "Describes type of rule.",
"description": "The rule type.",
"type": "string",
"enum": [
"MatchRule",
Expand Down Expand Up @@ -529,7 +529,7 @@
}
},
"Transform": {
"description": "Describes what transforms applied before matching.",
"description": "Transforms applied before matching.",
"type": "string",
"enum": [
"Lowercase",
Expand Down Expand Up @@ -569,7 +569,7 @@
}
},
"selector": {
"description": "Describes field of the matchVariable collection.",
"description": "The selector of match variable.",
"type": "string"
}
}
Expand All @@ -590,7 +590,7 @@
}
},
"operator": {
"description": "Describes operator to be matched.",
"description": "The operator to be matched.",
"type": "string",
"enum": [
"IPMatch",
Expand All @@ -611,7 +611,7 @@
}
},
"negationConditon": {
"description": "Describes if this is negate condition or not.",
"description": "Whether this is negate condition or not.",
"type": "boolean"
},
"matchValues": {
Expand Down Expand Up @@ -662,7 +662,7 @@
],
"properties": {
"ruleGroupName": {
"description": "Describes the managed rule group to override.",
"description": "The managed rule group to override.",
"type": "string"
},
"rules": {
Expand All @@ -685,7 +685,7 @@
"type": "string"
},
"state": {
"description": "Describes the state of the managed rule. Defaults to Disabled if not specified.",
"description": "The state of the managed rule. Defaults to Disabled if not specified.",
"type": "string",
"enum": [
"Disabled"
Expand Down

0 comments on commit dd5697e

Please sign in to comment.