Skip to content

Commit

Permalink
Added properties of difference API spec format for "SchemaDocumentPro…
Browse files Browse the repository at this point in the history
…perties" (Azure#15703)

* add schema definition fix from 2021-01-01-preview

* added properties for SchemaDocumentProperties

* updated the fix

* updated fix
  • Loading branch information
Alan Feng authored and solankisamir committed Aug 27, 2021
1 parent b49d83a commit e79a2ad
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5025,7 +5025,20 @@
"description": "API Schema create or update contract Properties."
},
"SchemaDocumentProperties": {
"type": "object",
"properties": {
"value": {
"type": "string",
"description": "Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI."
},
"definitions": {
"type": "object",
"description": "Types definitions. Used for Swagger/OpenAPI v1 schemas only, null otherwise."
},
"components": {
"type": "object",
"description": "Types definitions. Used for Swagger/OpenAPI v2/v3 schemas only, null otherwise."
}
},
"description": "Schema Document Properties."
},
"SubscriptionCollection": {
Expand Down

0 comments on commit e79a2ad

Please sign in to comment.