Skip to content

Commit b9093ec

Browse files
mwesigwagumajnlycklama
authored andcommitted
Add x-ms-pageable to generate API's that support using nextlink to return resources (#26369)
* update metadata with nextlink * adding missing property to applicationTypeResourceList schema * adding missing property to applicationTypeResourceList schema
1 parent 5db4a89 commit b9093ec

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json

+12
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,9 @@
201201
"$ref": "#/parameters/api-version"
202202
}
203203
],
204+
"x-ms-pageable": {
205+
"nextLinkName": "nextLink"
206+
},
204207
"x-ms-examples": {
205208
"Get a list of application type name resources": {
206209
"$ref": "./examples/ApplicationTypeNameListOperation_example.json"
@@ -402,6 +405,9 @@
402405
"$ref": "#/parameters/api-version"
403406
}
404407
],
408+
"x-ms-pageable": {
409+
"nextLinkName": "nextLink"
410+
},
405411
"x-ms-examples": {
406412
"Get a list of application type version resources": {
407413
"$ref": "./examples/ApplicationTypeVersionListOperation_example.json"
@@ -652,6 +658,9 @@
652658
"$ref": "#/parameters/api-version"
653659
}
654660
],
661+
"x-ms-pageable": {
662+
"nextLinkName": "nextLink"
663+
},
655664
"x-ms-examples": {
656665
"Get a list of application resources": {
657666
"$ref": "./examples/ApplicationListOperation_example.json"
@@ -914,6 +923,9 @@
914923
"$ref": "#/parameters/api-version"
915924
}
916925
],
926+
"x-ms-pageable": {
927+
"nextLinkName": "nextLink"
928+
},
917929
"x-ms-examples": {
918930
"Get a list of service resources": {
919931
"$ref": "./examples/ServiceListOperation_example.json"

specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/cluster.json

+6
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,9 @@
256256
"tags": [
257257
"Cluster"
258258
],
259+
"x-ms-pageable": {
260+
"nextLinkName": "nextLink"
261+
},
259262
"x-ms-examples": {
260263
"List cluster by resource group": {
261264
"$ref": "./examples/ClusterListByResourceGroupOperation_example.json"
@@ -293,6 +296,9 @@
293296
"tags": [
294297
"Cluster"
295298
],
299+
"x-ms-pageable": {
300+
"nextLinkName": "nextLink"
301+
},
296302
"x-ms-examples": {
297303
"List clusters": {
298304
"$ref": "./examples/ClusterListOperation_example.json"

0 commit comments

Comments
 (0)