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

[CDN] Add missing default values to fix swagger quality issue in s360 for 2020-09-01 and 2021-06-01 #23493

Merged
merged 2 commits into from
Apr 11, 2023
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
Original file line number Diff line number Diff line change
Expand Up @@ -5095,7 +5095,8 @@
"x-ms-enum": {
"name": "ForwardingProtocol",
"modelAsString": true
}
},
"default": "MatchRequest"
},
"linkToDefaultDomain": {
"description": "whether this route will be linked to the default endpoint domain.",
Expand All @@ -5107,7 +5108,8 @@
"x-ms-enum": {
"name": "LinkToDefaultDomain",
"modelAsString": true
}
},
"default": "Disabled"
},
"httpsRedirect": {
"description": "Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2671,15 +2671,18 @@
},
"isHttpAllowed": {
"description": "Indicates whether HTTP traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.",
"type": "boolean"
"type": "boolean",
"default": true
},
"isHttpsAllowed": {
"description": "Indicates whether HTTPS traffic is allowed on the endpoint. Default value is true. At least one protocol (HTTP or HTTPS) must be allowed.",
"type": "boolean"
"type": "boolean",
"default": true
},
"queryStringCachingBehavior": {
"description": "Defines how CDN caches requests that include query strings. You can ignore any query strings when caching, bypass caching to prevent requests that contain query strings from being cached, or cache every request with a unique URL.",
"$ref": "#/definitions/QueryStringCachingBehavior"
"$ref": "#/definitions/QueryStringCachingBehavior",
"default": "NotSet"
},
"optimizationType": {
"description": "Specifies what scenario the customer wants this CDN endpoint to optimize for, e.g. Download, Media services. With this information, CDN can apply scenario driven optimization.",
Expand Down Expand Up @@ -3085,7 +3088,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "Match values to match against. The operator will apply to each value in here with OR semantics. If any of them match the variable with the given operator this match condition is considered a match.",
Expand Down Expand Up @@ -3129,7 +3133,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3184,7 +3189,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3241,7 +3247,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3294,7 +3301,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3351,7 +3359,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3404,7 +3413,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3444,7 +3454,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3495,7 +3506,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3548,7 +3560,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3601,7 +3614,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3645,7 +3659,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3695,7 +3710,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down Expand Up @@ -3739,7 +3755,8 @@
},
"negateCondition": {
"description": "Describes if this is negate condition or not",
"type": "boolean"
"type": "boolean",
"default": false
},
"matchValues": {
"description": "The match value for the condition of the delivery rule",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5188,7 +5188,8 @@
"x-ms-enum": {
"name": "ForwardingProtocol",
"modelAsString": true
}
},
"default": "MatchRequest"
},
"linkToDefaultDomain": {
"description": "whether this route will be linked to the default endpoint domain.",
Expand All @@ -5200,7 +5201,8 @@
"x-ms-enum": {
"name": "LinkToDefaultDomain",
"modelAsString": true
}
},
"default": "Disabled"
},
"httpsRedirect": {
"description": "Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and it will be the first rule that gets executed.",
Expand Down
Loading