-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
Description
In the Graph swagger, lets take this operation as example...
"/{tenantID}/{nextLink}?Applications_ListNext": {
"get": {
"tags": [
"Applications"
],
"operationId": "Applications_ListNext",
"description": "Gets a list of applications from the current tenant.",
"parameters": [
{
"name": "nextLink",
"in": "path",
"required": true,
"type": "string",
"description": "Next link for the list operation.",
"x-ms-skip-url-encoding": true
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/tenantIDInPath"
}
],
"responses": {
"200": {
"description": "OK. The operation was successful.",
"schema": {
"$ref": "#/definitions/ApplicationListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/GraphError"
}
}
},
"x-ms-pageable": {
"nextLinkName": "odata.nextLink",
"operationName": "Applications_ListNext"
}
}
},
Something cool to see here would be a relation between the nextLink
parameter, and odata.nextLink
from x-ms-pageable. Right now, to use this pageable operations, you have to guess that whatever comes in odata.nextLink
goes into nextLink
. Linking this two things (and making AutoRest cooperate) could produce easier to use SDKs. Thoughts?
@marstr @jhendrixMSFT