Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding swagger for new api-version consumption 2018-05-31, introducing new Forecast api swagger #3114

Merged
merged 7 commits into from
May 30, 2018
Prev Previous commit
Next Next commit
fixing build error
  • Loading branch information
ncalagar committed May 23, 2018
commit a40766016116112dbd0d8c66b60a117c3e20fc9d
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
}
},
"x-ms-pageable": {
"nextLinkName": "null"
"nextLinkName": null
}
}
Copy link
Member

Choose a reason for hiding this comment

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

even though this is not a pagable operation, adding following annotation

        "x-ms-pageable": {
          "nextLinkName": null
        }

will ensure the generator flatten the value field, thus generated method will have List as return type instead of a model type that composes list.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, applied the change

},
Expand Down