From 14eb559cd12314691767c0255c92805c8c99b79d Mon Sep 17 00:00:00 2001 From: Alan Feng Date: Thu, 10 Jun 2021 16:46:35 -0700 Subject: [PATCH 1/2] fixed ApiManagement/service/apis/schemas --- .../2021-01-01-preview/definitions.json | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-01-01-preview/definitions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-01-01-preview/definitions.json index d6d917f5d309..c19d79484485 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-01-01-preview/definitions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-01-01-preview/definitions.json @@ -4987,17 +4987,22 @@ }, "SchemaDocumentProperties": { "properties": { - "value": { - "type": "string", - "description": "Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI." - }, - "definitions": { - "type": "object", - "description": "Types definitions. Used for Swagger/OpenAPI schemas only, null otherwise." + "components": { + "x-ms-client-flatten": true, + "$ref": "#/definitions/SchemaDocumentComponentsProperties" } }, "description": "Schema Document Properties." }, + "SchemaDocumentComponentsProperties": { + "properties": { + "schemas": { + "type": "string", + "description": "Json escaped string defining the Schemas." + }, + "description": "Schema Document Components Properties." + } + }, "SubscriptionCollection": { "properties": { "value": { From cb43f1972d44e7b3b90b6f33a83ba9dbdb0c212f Mon Sep 17 00:00:00 2001 From: Alan Feng Date: Thu, 10 Jun 2021 18:11:04 -0700 Subject: [PATCH 2/2] updated schema/document definition --- .../preview/2021-01-01-preview/definitions.json | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-01-01-preview/definitions.json b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-01-01-preview/definitions.json index c19d79484485..e7cef40ed991 100644 --- a/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-01-01-preview/definitions.json +++ b/specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-01-01-preview/definitions.json @@ -4986,23 +4986,9 @@ "description": "API Schema create or update contract Properties." }, "SchemaDocumentProperties": { - "properties": { - "components": { - "x-ms-client-flatten": true, - "$ref": "#/definitions/SchemaDocumentComponentsProperties" - } - }, + "type": "object", "description": "Schema Document Properties." }, - "SchemaDocumentComponentsProperties": { - "properties": { - "schemas": { - "type": "string", - "description": "Json escaped string defining the Schemas." - }, - "description": "Schema Document Components Properties." - } - }, "SubscriptionCollection": { "properties": { "value": {