Skip to content

Commit

Permalink
CodeGen from PR 15056 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge d7bebd61577a414cfd905aff7ba28c390c943a66 into 1018cb07691071cc3444d38ebf70f8cb46f79423
  • Loading branch information
SDKAuto committed Jul 22, 2021
1 parent 8124e2f commit 3934eba
Show file tree
Hide file tree
Showing 3 changed files with 7,994 additions and 2 deletions.
25 changes: 23 additions & 2 deletions schemas/2021-01-01-preview/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -5376,8 +5376,14 @@
"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). </br> - `Swagger` Schema use `application/vnd.ms-azure-apim.swagger.definitions+json` </br> - `WSDL` Schema use `application/vnd.ms-azure-apim.xsd+xml` </br> - `OpenApi` Schema use `application/vnd.oai.openapi.components+json` </br> - `WADL Schema` use `application/vnd.ms-azure-apim.wadl.grammars+xml`."
},
"document": {
"type": "object",
"properties": {},
"oneOf": [
{
"$ref": "#/definitions/SchemaDocumentProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Schema Document Properties."
}
},
Expand All @@ -5386,6 +5392,21 @@
],
"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": {
Expand Down
Loading

0 comments on commit 3934eba

Please sign in to comment.