From 173e471eb156441b0f942fc0c83a5e53f7fcb277 Mon Sep 17 00:00:00 2001 From: "Mwesigwa Guma (from Dev Box)" Date: Wed, 25 Oct 2023 05:30:44 -0400 Subject: [PATCH 1/3] update metadata with nextlink --- .../stable/2021-06-01/application.json | 12 ++++++++++++ .../stable/2021-06-01/cluster.json | 6 ++++++ 2 files changed, 18 insertions(+) diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json index efb034196642..4749a56f7f04 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json @@ -59,6 +59,9 @@ "$ref": "#/parameters/api-version" } ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "Get an application type": { "$ref": "./examples/ApplicationTypeNameGetOperation_example.json" @@ -402,6 +405,9 @@ "$ref": "#/parameters/api-version" } ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "Get a list of application type version resources": { "$ref": "./examples/ApplicationTypeVersionListOperation_example.json" @@ -652,6 +658,9 @@ "$ref": "#/parameters/api-version" } ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "Get a list of application resources": { "$ref": "./examples/ApplicationListOperation_example.json" @@ -914,6 +923,9 @@ "$ref": "#/parameters/api-version" } ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "Get a list of service resources": { "$ref": "./examples/ServiceListOperation_example.json" diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/cluster.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/cluster.json index ccc4dd40b5fb..40a532299b15 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/cluster.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/cluster.json @@ -256,6 +256,9 @@ "tags": [ "Cluster" ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "List cluster by resource group": { "$ref": "./examples/ClusterListByResourceGroupOperation_example.json" @@ -293,6 +296,9 @@ "tags": [ "Cluster" ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "List clusters": { "$ref": "./examples/ClusterListOperation_example.json" From 7e3f6b63facf91b1b37eb27d93d512f88d0b9b4a Mon Sep 17 00:00:00 2001 From: "Mwesigwa Guma (from Dev Box)" Date: Wed, 25 Oct 2023 06:42:43 -0400 Subject: [PATCH 2/3] adding missing property to applicationTypeResourceList schema --- .../stable/2021-06-01/application.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json index 4749a56f7f04..2f6c4df5456c 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json @@ -1119,6 +1119,10 @@ "$ref": "#/definitions/ApplicationTypeResourceProperties" } }, + "nextLink": { + "type": "string", + "description": "The URL to use for getting the next set of results." + }, "allOf": [ { "$ref": "#/definitions/ProxyResource" From e9cf7631d74c48f39a29cb7e77500f90d39c5de6 Mon Sep 17 00:00:00 2001 From: "Mwesigwa Guma (from Dev Box)" Date: Wed, 25 Oct 2023 06:55:04 -0400 Subject: [PATCH 3/3] adding missing property to applicationTypeResourceList schema --- .../stable/2021-06-01/application.json | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json index 2f6c4df5456c..afd569bad84e 100644 --- a/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json +++ b/specification/servicefabric/resource-manager/Microsoft.ServiceFabric/stable/2021-06-01/application.json @@ -59,9 +59,6 @@ "$ref": "#/parameters/api-version" } ], - "x-ms-pageable": { - "nextLinkName": "nextLink" - }, "x-ms-examples": { "Get an application type": { "$ref": "./examples/ApplicationTypeNameGetOperation_example.json" @@ -204,6 +201,9 @@ "$ref": "#/parameters/api-version" } ], + "x-ms-pageable": { + "nextLinkName": "nextLink" + }, "x-ms-examples": { "Get a list of application type name resources": { "$ref": "./examples/ApplicationTypeNameListOperation_example.json" @@ -1119,10 +1119,6 @@ "$ref": "#/definitions/ApplicationTypeResourceProperties" } }, - "nextLink": { - "type": "string", - "description": "The URL to use for getting the next set of results." - }, "allOf": [ { "$ref": "#/definitions/ProxyResource"