Skip to content

Commit 1112cc3

Browse files
Alan Fengsolankisamir
authored andcommitted
Added properties of difference API spec format for "SchemaDocumentProperties" (Azure#15703)
* add schema definition fix from 2021-01-01-preview * added properties for SchemaDocumentProperties * updated the fix * updated fix
1 parent ffaf5ae commit 1112cc3

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

  • specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-04-01-preview

specification/apimanagement/resource-manager/Microsoft.ApiManagement/preview/2021-04-01-preview/definitions.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5025,7 +5025,20 @@
50255025
"description": "API Schema create or update contract Properties."
50265026
},
50275027
"SchemaDocumentProperties": {
5028-
"type": "object",
5028+
"properties": {
5029+
"value": {
5030+
"type": "string",
5031+
"description": "Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI."
5032+
},
5033+
"definitions": {
5034+
"type": "object",
5035+
"description": "Types definitions. Used for Swagger/OpenAPI v1 schemas only, null otherwise."
5036+
},
5037+
"components": {
5038+
"type": "object",
5039+
"description": "Types definitions. Used for Swagger/OpenAPI v2/v3 schemas only, null otherwise."
5040+
}
5041+
},
50295042
"description": "Schema Document Properties."
50305043
},
50315044
"SubscriptionCollection": {

0 commit comments

Comments
 (0)