Skip to content

Commit

Permalink
CodeGen from PR 15493 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 1e5c5414acfef96f7043197430a9287aab3d6ffa into b9e497e08b89240f444546a46a18d2c96c2e2d10
  • Loading branch information
SDKAuto committed Aug 3, 2021
1 parent c63cc61 commit e8671fd
Show file tree
Hide file tree
Showing 3 changed files with 8,028 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 e8671fd

Please sign in to comment.