Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Committing changes to remove verbs from Swagger descriptions #7788

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,000 changes: 486 additions & 514 deletions .azure-pipelines-preproduction/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions .azure-pipelines-preproduction/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"description": "Tests for Azure REST API Specifications",
"license": "MIT",
"devDependencies": {
"@azure/avocado": "^0.6.0",
"@azure/rest-api-specs-scripts": "^0.5.1",
"@azure/avocado": "^0.6.2",
"@azure/rest-api-specs-scripts": "^0.5.7",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
"@ts-common/iterator": "^0.3.6",
Expand Down
303 changes: 159 additions & 144 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"devDependencies": {
"@types/prettier": "^1.18.3",
"@azure/avocado": "^0.6.0",
"@azure/rest-api-specs-scripts": "^0.4.0",
"@azure/rest-api-specs-scripts": "^0.5.7",
"@ts-common/commonmark-to-markdown": "^1.2.0",
"@ts-common/fs": "0.2.0",
"@ts-common/iterator": "^0.3.6",
Expand Down
1 change: 1 addition & 0 deletions preproduction-azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ jobs:
- template: .azure-pipelines/BreakingChange.yml
- template: .azure-pipelines/ModelValidation.yml
- template: .azure-pipelines/PrettierCheck.yml
- template: .azure-pipelines/Avocado.yml
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