Skip to content

Commit

Permalink
Fix type conversion issue of property Version for ManagementPartner A…
Browse files Browse the repository at this point in the history
…PI (#8276)

* Fix type conversion issue of property Version

* fix model validation

* Update code
  • Loading branch information
Neil Ye committed Feb 28, 2020
1 parent 4389594 commit 2d6652e
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,8 @@
"description": "This is the object id."
},
"version": {
"type": "string",
"type": "integer",
"format": "int32",
"description": "This is the version."
},
"updatedTime": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"partnerId": "123456"
},
"responses": {
"200": {
"body": ""
}
"200": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"partnerName": "Test_jefl",
"tenantId": "1b1121dd-6900-412a-af73-e8d44f81e1c1",
"objectId": "aa67f786-0552-423e-8849-244ed12bf581",
"version": "3",
"version": 3,
"updatedTime": "2018-01-20T01:52:57.9126052Z",
"createdTime": "2018-01-20T01:23:40.5280496Z",
"state": "Active"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"partnerName": "Test_jefl",
"tenantId": "1b1121dd-6900-412a-af73-e8d44f81e1c1",
"objectId": "aa67f786-0552-423e-8849-244ed12bf581",
"version": "3",
"version": 3,
"updatedTime": "2018-01-20T01:52:57.9126052Z",
"createdTime": "2018-01-20T01:23:40.5280496Z",
"state": "Active"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"partnerName": "Test_jefl",
"tenantId": "1b1121dd-6900-412a-af73-e8d44f81e1c1",
"objectId": "aa67f786-0552-423e-8849-244ed12bf581",
"version": "3",
"version": 3,
"updatedTime": "2018-01-20T01:52:57.9126052Z",
"createdTime": "2018-01-20T01:23:40.5280496Z",
"state": "Active"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"partnerName": "Test_jefl",
"tenantId": "1b1121dd-6900-412a-af73-e8d44f81e1c1",
"objectId": "aa67f786-0552-423e-8849-244ed12bf581",
"version": "3",
"version": 3,
"updatedTime": "2018-01-20T01:52:57.9126052Z",
"createdTime": "2018-01-20T01:23:40.5280496Z",
"state": "Active"
Expand Down

0 comments on commit 2d6652e

Please sign in to comment.