Skip to content

Commit

Permalink
Revert "Removing modelAsExtensible" (Azure#37)
Browse files Browse the repository at this point in the history
* Revert "Update package.json (Azure#36)"

This reverts commit 9922aaf.

* Revert "add tests for additionalProperties (Azure#34)"

This reverts commit 2023ac7.

* Revert "Removing modelAsExtensible (Azure#35)"

This reverts commit e0f4149.
  • Loading branch information
olydis authored Dec 13, 2017
1 parent 9922aaf commit 2346e15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@microsoft.azure/autorest.testserver",
"version": "2.3.16",
"version": "2.3.17",
"main": "./startup/www.js",
"repository": {
"type": "git",
Expand Down
3 changes: 1 addition & 2 deletions swagger/body-complex.json
Original file line number Diff line number Diff line change
Expand Up @@ -1179,8 +1179,7 @@
"enum": [ "cyan", "Magenta", "YELLOW", "blacK" ],
"x-ms-enum": {
"name": "CMYKColors",
"modelAsString": true,
"oldModelAsString": true
"modelAsString": true
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion swagger/extensible-enums-swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
],
"x-ms-enum": {
"name": "DaysOfWeekExtensibleEnum",
"modelAsString": true
"modelAsExtensible": true
},
"default": "Friday"
},
Expand All @@ -97,6 +97,7 @@
],
"x-ms-enum": {
"modelAsString": true,
"modelAsExtensible": true,
"name": "IntEnum",
"values": [
{
Expand Down

0 comments on commit 2346e15

Please sign in to comment.