From 9e1e672f87e76232fcd6d851ca6eb552c57254c2 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 21 Jun 2021 15:06:44 +0000 Subject: [PATCH] CodeGen from PR 14908 in Azure/azure-rest-api-specs Merge 2f8a27c7263bdfa50b39cc00dbc07312e8f4e2d9 into c7616be749e60dc269e2bb50800f06dbca065098 --- .../Microsoft.ApiManagement.json | 25 ++----------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/schemas/2021-01-01-preview/Microsoft.ApiManagement.json b/schemas/2021-01-01-preview/Microsoft.ApiManagement.json index 4ccf209d9b..4952b7be88 100644 --- a/schemas/2021-01-01-preview/Microsoft.ApiManagement.json +++ b/schemas/2021-01-01-preview/Microsoft.ApiManagement.json @@ -5376,14 +5376,8 @@ "description": "Must be a valid a media type used in a Content-Type header as defined in the RFC 2616. Media type of the schema document (e.g. application/json, application/xml).
- `Swagger` Schema use `application/vnd.ms-azure-apim.swagger.definitions+json`
- `WSDL` Schema use `application/vnd.ms-azure-apim.xsd+xml`
- `OpenApi` Schema use `application/vnd.oai.openapi.components+json`
- `WADL Schema` use `application/vnd.ms-azure-apim.wadl.grammars+xml`." }, "document": { - "oneOf": [ - { - "$ref": "#/definitions/SchemaDocumentProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], + "type": "object", + "properties": {}, "description": "Schema Document Properties." } }, @@ -5392,21 +5386,6 @@ ], "description": "API Schema create or update contract Properties." }, - "SchemaDocumentProperties": { - "type": "object", - "properties": { - "definitions": { - "type": "object", - "properties": {}, - "description": "Types definitions. Used for Swagger/OpenAPI schemas only, null otherwise." - }, - "value": { - "type": "string", - "description": "Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI." - } - }, - "description": "Schema Document Properties." - }, "service_apis_childResource": { "type": "object", "properties": {