From 133b16836059377fe0d5d6af2ef01cea2726e233 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Wed, 23 Mar 2022 06:13:38 +0000 Subject: [PATCH] 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 --- .../2022-01-01-preview/Microsoft.AppPlatform.json | 12 ++++++++---- .../2022-03-01-preview/Microsoft.AppPlatform.json | 12 ++++++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/schemas/2022-01-01-preview/Microsoft.AppPlatform.json b/schemas/2022-01-01-preview/Microsoft.AppPlatform.json index 66764bb1b9..97cddfd968 100644 --- a/schemas/2022-01-01-preview/Microsoft.AppPlatform.json +++ b/schemas/2022-01-01-preview/Microsoft.AppPlatform.json @@ -1188,7 +1188,8 @@ "httpsOnly": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1199,7 +1200,8 @@ "public": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -2500,7 +2502,8 @@ "httpsOnly": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -2511,7 +2514,8 @@ "public": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" diff --git a/schemas/2022-03-01-preview/Microsoft.AppPlatform.json b/schemas/2022-03-01-preview/Microsoft.AppPlatform.json index e1391eb101..863129cb3d 100644 --- a/schemas/2022-03-01-preview/Microsoft.AppPlatform.json +++ b/schemas/2022-03-01-preview/Microsoft.AppPlatform.json @@ -1188,7 +1188,8 @@ "httpsOnly": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -1199,7 +1200,8 @@ "public": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -2504,7 +2506,8 @@ "httpsOnly": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" @@ -2515,7 +2518,8 @@ "public": { "oneOf": [ { - "type": "boolean" + "type": "boolean", + "default": false }, { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"