Skip to content

Commit

Permalink
Fix Swagger definition for customDimensions - remove additionalProper… (
Browse files Browse the repository at this point in the history
#9129)

* Fix Swagger definition for customDimensions - remove additionalProperties

* Fix removed additional-properties

* Apparently additionalProperties: true is not supported in MS?

* Deprecate the old additionalProperties attribute instead of removing it to avoid breaking change

* The deprecated keyword is not supported in autorest apparently, moving on without deprecating it

Co-authored-by: Alon Gafni <alonga@microsoft.com>
  • Loading branch information
alongafni and Alon Gafni authored Apr 27, 2020
1 parent 154f39f commit 328f273
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,9 @@
"additionalProperties": {
"type": "object"
}
},
"additionalProperties": {
"type": "object"
}
},
"customMeasurements": {
Expand All @@ -1221,6 +1224,9 @@
"additionalProperties": {
"type": "object"
}
},
"additionalProperties": {
"type": "object"
}
},
"operation": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,9 @@
"additionalProperties": {
"type": "object"
}
},
"additionalProperties": {
"type": "object"
}
},
"customMeasurements": {
Expand All @@ -1148,6 +1151,9 @@
"additionalProperties": {
"type": "object"
}
},
"additionalProperties": {
"type": "object"
}
},
"operation": {
Expand Down

0 comments on commit 328f273

Please sign in to comment.