Skip to content

Commit 133b168

Browse files
SDKAutoAzureRestAPISpecReview
andcommitted
CodeGen from PR 18336 in Azure/azure-rest-api-specs
[Hub Generated] Public private branch 'appplatform/release/s201' (#18336) * [AutoSync] c8c73d463 Merged PR 5849465: fix(swagger): Add default value for bool properties * Update readme.python.md Co-authored-by: swagger-automation <[email protected]>
1 parent 54d236a commit 133b168

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

schemas/2022-01-01-preview/Microsoft.AppPlatform.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,8 @@
11881188
"httpsOnly": {
11891189
"oneOf": [
11901190
{
1191-
"type": "boolean"
1191+
"type": "boolean",
1192+
"default": false
11921193
},
11931194
{
11941195
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -1199,7 +1200,8 @@
11991200
"public": {
12001201
"oneOf": [
12011202
{
1202-
"type": "boolean"
1203+
"type": "boolean",
1204+
"default": false
12031205
},
12041206
{
12051207
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -2500,7 +2502,8 @@
25002502
"httpsOnly": {
25012503
"oneOf": [
25022504
{
2503-
"type": "boolean"
2505+
"type": "boolean",
2506+
"default": false
25042507
},
25052508
{
25062509
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -2511,7 +2514,8 @@
25112514
"public": {
25122515
"oneOf": [
25132516
{
2514-
"type": "boolean"
2517+
"type": "boolean",
2518+
"default": false
25152519
},
25162520
{
25172521
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"

schemas/2022-03-01-preview/Microsoft.AppPlatform.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,8 @@
11881188
"httpsOnly": {
11891189
"oneOf": [
11901190
{
1191-
"type": "boolean"
1191+
"type": "boolean",
1192+
"default": false
11921193
},
11931194
{
11941195
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -1199,7 +1200,8 @@
11991200
"public": {
12001201
"oneOf": [
12011202
{
1202-
"type": "boolean"
1203+
"type": "boolean",
1204+
"default": false
12031205
},
12041206
{
12051207
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -2504,7 +2506,8 @@
25042506
"httpsOnly": {
25052507
"oneOf": [
25062508
{
2507-
"type": "boolean"
2509+
"type": "boolean",
2510+
"default": false
25082511
},
25092512
{
25102513
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
@@ -2515,7 +2518,8 @@
25152518
"public": {
25162519
"oneOf": [
25172520
{
2518-
"type": "boolean"
2521+
"type": "boolean",
2522+
"default": false
25192523
},
25202524
{
25212525
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"

0 commit comments

Comments
 (0)