Skip to content
Prev Previous commit
Next Next commit
Fix API version in examples.
  • Loading branch information
wilcobmsft committed Feb 16, 2018
commit 53eef4c79ac3861d116fc506f2e2f23593a94bd6
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2017-04-24-preview",
"api-version": "2018-03-01-preview",
"subscriptionId": "subid",
"billingPeriodName": "201702-1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2017-04-24-preview",
"api-version": "2018-03-01-preview",
"subscriptionId": "subid"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2017-04-24-preview",
"api-version": "2018-03-01-preview",
"subscriptionId": "subid",
"$top": "1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This type is mismatched, per spec it should be an int not a string, and is causing model validation failure.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

"$filter": "invoicePeriodStartDate le 2017-02-01",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2017-04-24-preview",
"api-version": "2018-03-01-preview",
"subscriptionId": "subid",
"invoiceName": "2017-02-05-123456789"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2017-04-24-preview",
"api-version": "2018-03-01-preview",
"subscriptionId": "subid"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2017-04-24-preview",
"api-version": "2018-03-01-preview",
"subscriptionId": "subid"
},
"responses": {
Expand Down