From 0ed5fb5c45433b3d2e0c81cf3c74e79a25e5731b Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 14:21:24 +0300 Subject: [PATCH 01/23] solving s360 issues in MarketplaceOrdering swagger --- .../stable/2015-06-01/Agreements.json | 65 ++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json index 5cff9c5eb3d4..43daaa65a274 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json @@ -70,6 +70,15 @@ "$ref": "#/definitions/AgreementTerms" } }, + "415": { + "description": "Unsupported Media Type", + "schema": { + "Message": { + "type": "string", + "description": "The error message" + } + } + }, "default": { "description": "Microsoft.MarketplaceOrdering error response describing why the operation failed.", "schema": { @@ -122,6 +131,15 @@ "$ref": "#/definitions/AgreementTerms" } }, + "415": { + "description": "Unsupported Media Type", + "schema": { + "Message": { + "type": "string", + "description": "The error message" + } + } + }, "default": { "description": "Microsoft.MarketplaceOrdering error response describing why the operation failed.", "schema": { @@ -150,6 +168,15 @@ "$ref": "#/definitions/OperationListResult" } }, + "415": { + "description": "Unsupported Media Type", + "schema": { + "Message": { + "type": "string", + "description": "The error message" + } + } + }, "default": { "description": "Microsoft.MarketplaceOrdering error response describing why the operation failed.", "schema": { @@ -195,6 +222,15 @@ "$ref": "#/definitions/OldAgreementTerms" } }, + "415": { + "description": "Unsupported Media Type", + "schema": { + "Message": { + "type": "string", + "description": "The error message" + } + } + }, "default": { "description": "Microsoft.MarketplaceOrdering error response describing why the operation failed.", "schema": { @@ -237,6 +273,15 @@ "$ref": "#/definitions/OldAgreementTerms" } }, + "415": { + "description": "Unsupported Media Type", + "schema": { + "Message": { + "type": "string", + "description": "The error message" + } + } + }, "default": { "description": "Microsoft.MarketplaceOrdering error response describing why the operation failed.", "schema": { @@ -279,6 +324,15 @@ "$ref": "#/definitions/OldAgreementTerms" } }, + "415": { + "description": "Unsupported Media Type", + "schema": { + "Message": { + "type": "string", + "description": "The error message" + } + } + }, "default": { "description": "Microsoft.MarketplaceOrdering error response describing why the operation failed.", "schema": { @@ -312,6 +366,15 @@ "$ref": "#/definitions/AgreementTermsList" } }, + "415": { + "description": "Unsupported Media Type", + "schema": { + "Message": { + "type": "string", + "description": "The error message" + } + } + }, "default": { "description": "Microsoft.MarketplaceOrdering error response describing why the operation failed.", "schema": { @@ -386,7 +449,7 @@ "description": "The value of the array.", "type": "array", "items": { - "$ref": "#/definitions/AgreementTerms" + "$ref": "#/definitions/OldAgreementTerms" } } } From 1b004ae4ee62e41af194ad5d257c8d0e4281db6a Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 15:34:04 +0300 Subject: [PATCH 02/23] Update Agreements.json --- .../stable/2015-06-01/Agreements.json | 45 +++++++------------ 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json index 43daaa65a274..409b34bb2afa 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json @@ -73,10 +73,7 @@ "415": { "description": "Unsupported Media Type", "schema": { - "Message": { - "type": "string", - "description": "The error message" - } + "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } }, "default": { @@ -134,10 +131,7 @@ "415": { "description": "Unsupported Media Type", "schema": { - "Message": { - "type": "string", - "description": "The error message" - } + "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } }, "default": { @@ -171,10 +165,7 @@ "415": { "description": "Unsupported Media Type", "schema": { - "Message": { - "type": "string", - "description": "The error message" - } + "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } }, "default": { @@ -225,10 +216,7 @@ "415": { "description": "Unsupported Media Type", "schema": { - "Message": { - "type": "string", - "description": "The error message" - } + "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } }, "default": { @@ -276,10 +264,7 @@ "415": { "description": "Unsupported Media Type", "schema": { - "Message": { - "type": "string", - "description": "The error message" - } + "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } }, "default": { @@ -327,10 +312,7 @@ "415": { "description": "Unsupported Media Type", "schema": { - "Message": { - "type": "string", - "description": "The error message" - } + "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } }, "default": { @@ -369,10 +351,7 @@ "415": { "description": "Unsupported Media Type", "schema": { - "Message": { - "type": "string", - "description": "The error message" - } + "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } }, "default": { @@ -563,6 +542,16 @@ }, "description": "Old Agreement Terms definition" }, + "UnsupportedMediaTypeErrorResponse": { + "description": "Error response that indicates the media type in the request is unsupported.", + "type": "object", + "properties": { + "Message": { + "type": "string", + "description": "The details of the error." + } + } + }, "ErrorResponse": { "description": "Error response indicates Microsoft.MarketplaceOrdering service is not able to process the incoming request. The reason is provided in the error message.", "type": "object", From 63857be19fdd0fc1df90ec5c64ed35c58c579703 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 15:41:17 +0300 Subject: [PATCH 03/23] Update Agreements.json --- .../stable/2015-06-01/Agreements.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json index 409b34bb2afa..789a21f0ed7f 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json @@ -72,6 +72,7 @@ }, "415": { "description": "Unsupported Media Type", + "x-ms-error-response": true "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -130,6 +131,7 @@ }, "415": { "description": "Unsupported Media Type", + "x-ms-error-response": true "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -164,6 +166,7 @@ }, "415": { "description": "Unsupported Media Type", + "x-ms-error-response": true "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -215,6 +218,7 @@ }, "415": { "description": "Unsupported Media Type", + "x-ms-error-response": true "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -263,6 +267,7 @@ }, "415": { "description": "Unsupported Media Type", + "x-ms-error-response": true "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -311,6 +316,7 @@ }, "415": { "description": "Unsupported Media Type", + "x-ms-error-response": true "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -350,6 +356,7 @@ }, "415": { "description": "Unsupported Media Type", + "x-ms-error-response": true "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } From 9dbf94a7227dc14a2a38943f1d7903405390a255 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 15:45:37 +0300 Subject: [PATCH 04/23] Update Agreements.json --- .../stable/2015-06-01/Agreements.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json index 789a21f0ed7f..061921b22163 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json @@ -441,6 +441,7 @@ } }, "AgreementTerms": { + "type":"object" "properties": { "properties": { "$ref": "#/definitions/AgreementProperties", @@ -456,6 +457,7 @@ "description": "Terms properties for provided Publisher/Offer/Plan tuple" }, "AgreementProperties": { + "type":"object" "properties": { "publisher": { "type": "string", @@ -614,6 +616,7 @@ }, "OperationListResult": { "description": "Result of the request to list MarketplaceOrdering operations. It contains a list of operations and a URL link to get the next set of results.", + "type":"object" "properties": { "value": { "type": "array", From 59c1db04e5956ac5f8d07ac206b0a5a3873821dd Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 15:55:20 +0300 Subject: [PATCH 05/23] Update Agreements.json --- .../stable/2015-06-01/Agreements.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json index 061921b22163..2bf6720606cd 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json @@ -72,7 +72,7 @@ }, "415": { "description": "Unsupported Media Type", - "x-ms-error-response": true + "x-ms-error-response": true, "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -131,7 +131,7 @@ }, "415": { "description": "Unsupported Media Type", - "x-ms-error-response": true + "x-ms-error-response": true, "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -166,7 +166,7 @@ }, "415": { "description": "Unsupported Media Type", - "x-ms-error-response": true + "x-ms-error-response": true, "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -218,7 +218,7 @@ }, "415": { "description": "Unsupported Media Type", - "x-ms-error-response": true + "x-ms-error-response": true, "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -267,7 +267,7 @@ }, "415": { "description": "Unsupported Media Type", - "x-ms-error-response": true + "x-ms-error-response": true, "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -316,7 +316,7 @@ }, "415": { "description": "Unsupported Media Type", - "x-ms-error-response": true + "x-ms-error-response": true, "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } @@ -356,7 +356,7 @@ }, "415": { "description": "Unsupported Media Type", - "x-ms-error-response": true + "x-ms-error-response": true, "schema": { "$ref": "#/definitions/UnsupportedMediaTypeErrorResponse" } From 03b4803cd0e4b05157531b8345ce43be31e4d2c1 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 15:59:02 +0300 Subject: [PATCH 06/23] Update Agreements.json --- .../stable/2015-06-01/Agreements.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json index 2bf6720606cd..979ea6137fdf 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json @@ -441,7 +441,7 @@ } }, "AgreementTerms": { - "type":"object" + "type":"object", "properties": { "properties": { "$ref": "#/definitions/AgreementProperties", @@ -457,7 +457,7 @@ "description": "Terms properties for provided Publisher/Offer/Plan tuple" }, "AgreementProperties": { - "type":"object" + "type":"object", "properties": { "publisher": { "type": "string", @@ -616,7 +616,7 @@ }, "OperationListResult": { "description": "Result of the request to list MarketplaceOrdering operations. It contains a list of operations and a URL link to get the next set of results.", - "type":"object" + "type":"object", "properties": { "value": { "type": "array", From ba62f520ff9800db97c21f6166e215492f25fa8b Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 16:34:25 +0300 Subject: [PATCH 07/23] Update Agreements.json --- .../stable/2015-06-01/Agreements.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json index 979ea6137fdf..a69d097db672 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json @@ -593,6 +593,7 @@ }, "display": { "description": "The object that represents the operation.", + "type": "object", "properties": { "provider": { "description": "Service provider: Microsoft.MarketplaceOrdering", @@ -620,6 +621,7 @@ "properties": { "value": { "type": "array", + "uniqueItems": false, "items": { "$ref": "#/definitions/Operation" }, From 3c78c4847e9ced506a19aa34f4d0d3fbe7b8de94 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 16:59:44 +0300 Subject: [PATCH 08/23] Update Agreements.json --- .../stable/2015-06-01/Agreements.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json index a69d097db672..f390631a5052 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json @@ -636,6 +636,7 @@ }, "Resource": { "description": "ARM resource.", + "type": "object", "properties": { "id": { "readOnly": true, From c8560d7522537cafb3ac318d69adaf1c6cb9e0c8 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:42:07 +0300 Subject: [PATCH 09/23] Update CancelMarketplaceTerms.json --- .../stable/2015-06-01/examples/CancelMarketplaceTerms.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/CancelMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/CancelMarketplaceTerms.json index d6de9dfb7201..e45b6c83751b 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/CancelMarketplaceTerms.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/CancelMarketplaceTerms.json @@ -21,6 +21,11 @@ "state": "Canceled" } } + }, + "415": { + "body": { + "Message": "media type unsupported" + } } } } From 0f545c4428c10ffd243d13731e5d074f2bd80282 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:44:36 +0300 Subject: [PATCH 10/23] Update GetAgreementMarketplaceTerms.json --- .../2015-06-01/examples/GetAgreementMarketplaceTerms.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json index d6de9dfb7201..bcac9cfa85fc 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json @@ -22,5 +22,10 @@ } } } + "415": { + "body": { + "Message": "media type unsupported" + } + } } } From e57d4ee2a21351f01d9cc60f3a2091a72bcd84e0 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:44:47 +0300 Subject: [PATCH 11/23] Update GetMarketplaceTerms.json --- .../stable/2015-06-01/examples/GetMarketplaceTerms.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetMarketplaceTerms.json index 1c8b01a0329a..89fb041a503c 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetMarketplaceTerms.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetMarketplaceTerms.json @@ -25,5 +25,10 @@ } } } + "415": { + "body": { + "Message": "media type unsupported" + } + } } } From 2107ef51c56d2b610188698c936103c624730020 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:45:11 +0300 Subject: [PATCH 12/23] Update SetMarketplaceTerms.json --- .../stable/2015-06-01/examples/SetMarketplaceTerms.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SetMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SetMarketplaceTerms.json index cc1cbbdbb02e..3f5450947e51 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SetMarketplaceTerms.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SetMarketplaceTerms.json @@ -38,5 +38,10 @@ } } } + "415": { + "body": { + "Message": "media type unsupported" + } + } } } From 91a484425f8abebff4ffa8cfeaba249f15853871 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:45:31 +0300 Subject: [PATCH 13/23] Update SignMarketplaceTerms.json --- .../stable/2015-06-01/examples/SignMarketplaceTerms.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json index d6de9dfb7201..bcac9cfa85fc 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json @@ -22,5 +22,10 @@ } } } + "415": { + "body": { + "Message": "media type unsupported" + } + } } } From 05e4c2ce77a0651a00a7b4bf7224a253aac14ea9 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:45:44 +0300 Subject: [PATCH 14/23] Update SignMarketplaceTerms.json --- .../stable/2015-06-01/examples/SignMarketplaceTerms.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json index bcac9cfa85fc..e45b6c83751b 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SignMarketplaceTerms.json @@ -21,7 +21,7 @@ "state": "Canceled" } } - } + }, "415": { "body": { "Message": "media type unsupported" From 7ab516c3fde0a0e486894629e535a0a026765550 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:45:56 +0300 Subject: [PATCH 15/23] Update SetMarketplaceTerms.json --- .../stable/2015-06-01/examples/SetMarketplaceTerms.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SetMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SetMarketplaceTerms.json index 3f5450947e51..2a12ce8d3143 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SetMarketplaceTerms.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/SetMarketplaceTerms.json @@ -37,7 +37,7 @@ "accepted": true } } - } + }, "415": { "body": { "Message": "media type unsupported" From 0cf06913469ddc18181dface6d22880caea42140 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:46:08 +0300 Subject: [PATCH 16/23] Update GetMarketplaceTerms.json --- .../stable/2015-06-01/examples/GetMarketplaceTerms.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetMarketplaceTerms.json index 89fb041a503c..95b51e760a59 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetMarketplaceTerms.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetMarketplaceTerms.json @@ -24,7 +24,7 @@ "accepted": true } } - } + }, "415": { "body": { "Message": "media type unsupported" From 4cf7ffbb68e3b591ee8986ae4324d388c7c7ce4d Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:46:19 +0300 Subject: [PATCH 17/23] Update GetAgreementMarketplaceTerms.json --- .../2015-06-01/examples/GetAgreementMarketplaceTerms.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json index bcac9cfa85fc..e45b6c83751b 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/GetAgreementMarketplaceTerms.json @@ -21,7 +21,7 @@ "state": "Canceled" } } - } + }, "415": { "body": { "Message": "media type unsupported" From dd3e4eb47086d698f05b847d628fdc9654a7a66d Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 17:52:17 +0300 Subject: [PATCH 18/23] Update ListMarketplaceTerms.json --- .../examples/ListMarketplaceTerms.json | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/ListMarketplaceTerms.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/ListMarketplaceTerms.json index 8e51d7f75001..2e5c80bf94bc 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/ListMarketplaceTerms.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/examples/ListMarketplaceTerms.json @@ -13,17 +13,19 @@ "type": "Microsoft.MarketplaceOrdering/offertypes", "properties": { "publisher": "pubid", - "product": "offid", - "plan": "planid", - "licenseTextLink": "test.licenseLink", - "privacyPolicyLink": "test.privacyPolicyLink", - "retrieveDatetime": "2017-08-15T11:33:07.12132Z", - "signature": "ASDFSDAFWEFASDGWERLWER", - "accepted": true + "offer": "offid", + "signDate": "2019-04-26T05:57:25.3013164Z", + "cancelDate": "2019-04-27T05:57:25.3013164Z", + "state": "Active" } } ] } + }, + "415": { + "body": { + "Message": "media type unsupported" + } } } } From e0ff3f87840bf7304ff60d5835f6b60ce4e9aa0c Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Sun, 25 Jul 2021 18:01:02 +0300 Subject: [PATCH 19/23] Update Agreements.json --- .../stable/2015-06-01/Agreements.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json index f390631a5052..60b724605f83 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json @@ -441,7 +441,7 @@ } }, "AgreementTerms": { - "type":"object", + "type": "object", "properties": { "properties": { "$ref": "#/definitions/AgreementProperties", @@ -457,7 +457,7 @@ "description": "Terms properties for provided Publisher/Offer/Plan tuple" }, "AgreementProperties": { - "type":"object", + "type": "object", "properties": { "publisher": { "type": "string", @@ -617,7 +617,7 @@ }, "OperationListResult": { "description": "Result of the request to list MarketplaceOrdering operations. It contains a list of operations and a URL link to get the next set of results.", - "type":"object", + "type": "object", "properties": { "value": { "type": "array", From 1810f0fb95865f0eb1e963015e8aa7f44c6ac0c4 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Tue, 27 Jul 2021 13:39:39 +0300 Subject: [PATCH 20/23] Update Agreements.json --- .../stable/2015-06-01/Agreements.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json index 60b724605f83..2566c843184b 100644 --- a/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +++ b/specification/marketplaceordering/resource-manager/Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json @@ -565,16 +565,16 @@ "description": "Error response indicates Microsoft.MarketplaceOrdering service is not able to process the incoming request. The reason is provided in the error message.", "type": "object", "properties": { - "Error": { + "error": { "type": "object", "description": "The details of the error.", "properties": { - "Code": { + "code": { "description": "Error code.", "type": "string", "readOnly": true }, - "Message": { + "message": { "description": "Error message indicating why the operation failed.", "type": "string", "readOnly": true From 7a9f495442dbe679966d2f96302e089c85ec7ae7 Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Wed, 4 Aug 2021 10:53:10 +0300 Subject: [PATCH 21/23] Update readme.md --- specification/marketplaceordering/resource-manager/readme.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md index 97a75484d98f..0683bda35a4d 100644 --- a/specification/marketplaceordering/resource-manager/readme.md +++ b/specification/marketplaceordering/resource-manager/readme.md @@ -67,6 +67,11 @@ These settings apply only when `--tag=package-2015-06-01` is specified on the co ``` yaml $(tag) == 'package-2015-06-01' input-file: - Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json +directive: + # suppress each RPC 3016 error +- where: $.definitions.UnsupportedMediaTypeErrorResponse + suppress: R3016 + reason: This requires a change in code thats in production for several years ``` From 573311b7c8ac870d730d89eefb5a47a6639afddb Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Wed, 4 Aug 2021 12:45:39 +0300 Subject: [PATCH 22/23] Update readme.md --- specification/marketplaceordering/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md index 0683bda35a4d..008693c093a0 100644 --- a/specification/marketplaceordering/resource-manager/readme.md +++ b/specification/marketplaceordering/resource-manager/readme.md @@ -69,7 +69,7 @@ input-file: - Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json directive: # suppress each RPC 3016 error -- where: $.definitions.UnsupportedMediaTypeErrorResponse +- where: $.definitions.UnsupportedMediaTypeErrorResponse.Message suppress: R3016 reason: This requires a change in code thats in production for several years ``` From 9b5c6b814dff785a5e1b1cb6a4cbd54591675f0a Mon Sep 17 00:00:00 2001 From: alkigel <77278418+alkigel@users.noreply.github.com> Date: Wed, 4 Aug 2021 13:08:46 +0300 Subject: [PATCH 23/23] Update readme.md --- specification/marketplaceordering/resource-manager/readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/marketplaceordering/resource-manager/readme.md b/specification/marketplaceordering/resource-manager/readme.md index 008693c093a0..1ec1afdcc45e 100644 --- a/specification/marketplaceordering/resource-manager/readme.md +++ b/specification/marketplaceordering/resource-manager/readme.md @@ -69,7 +69,7 @@ input-file: - Microsoft.MarketplaceOrdering/stable/2015-06-01/Agreements.json directive: # suppress each RPC 3016 error -- where: $.definitions.UnsupportedMediaTypeErrorResponse.Message +- where: $.definitions.UnsupportedMediaTypeErrorResponse.properties.Message suppress: R3016 reason: This requires a change in code thats in production for several years ```