Skip to content

Commit

Permalink
CodeGen from PR 15703 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 84706f0c3f054535f689ad068518552051c88471 into ff76d203d545c542fff07c882b5f216c2d665d36
  • Loading branch information
SDKAuto committed Aug 19, 2021
1 parent 412d704 commit bfb7fff
Show file tree
Hide file tree
Showing 3 changed files with 8,037 additions and 40 deletions.
72 changes: 32 additions & 40 deletions schemas/2021-01-01-preview/Microsoft.ApiManagement.json
Original file line number Diff line number Diff line change
Expand Up @@ -4865,21 +4865,6 @@
"type": "string",
"description": "Parameter description."
},
"examples": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/ParameterExampleContract"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Parameter examples."
},
"name": {
"type": "string",
"description": "Parameter name."
Expand Down Expand Up @@ -4928,29 +4913,6 @@
],
"description": "Operation parameters details."
},
"ParameterExampleContract": {
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Long description for the example"
},
"externalValue": {
"type": "string",
"description": "A URL that points to the literal example"
},
"summary": {
"type": "string",
"description": "Short description for the example"
},
"value": {
"type": "object",
"properties": {},
"description": "Example value. May be a primitive value, or an object."
}
},
"description": "Parameter example."
},
"PipelineDiagnosticSettings": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -5222,6 +5184,10 @@
],
"description": "Collection of form parameters. Required if 'contentType' value is either 'application/x-www-form-urlencoded' or 'multipart/form-data'.."
},
"sample": {
"type": "string",
"description": "An example of the representation."
},
"schemaId": {
"type": "string",
"description": "Schema identifier. Applicable only if 'contentType' value is neither 'application/x-www-form-urlencoded' nor 'multipart/form-data'."
Expand Down Expand Up @@ -5410,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 @@ -5420,6 +5392,26 @@
],
"description": "API Schema create or update contract Properties."
},
"SchemaDocumentProperties": {
"type": "object",
"properties": {
"components": {
"type": "object",
"properties": {},
"description": "Types definitions. Used for Swagger/OpenAPI v2/v3 schemas only, null otherwise."
},
"definitions": {
"type": "object",
"properties": {},
"description": "Types definitions. Used for Swagger/OpenAPI v1 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 bfb7fff

Please sign in to comment.