From e235487856842b89eaa2d7e872d53e78bb6417df Mon Sep 17 00:00:00 2001 From: v-ajnava Date: Sun, 9 May 2021 20:21:42 -0700 Subject: [PATCH 1/3] Changes to Fix Swagger Correctness : part 1 --- .../preview/2018-01-01-preview/Clusters-preview.json | 1 - .../preview/2018-01-01-preview/namespaces-preview.json | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/Clusters-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/Clusters-preview.json index 9300b0e7a82a..54fa3cdb8dfe 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/Clusters-preview.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/Clusters-preview.json @@ -383,7 +383,6 @@ }, "capacity": { "format": "int32", - "maximum": 32, "minimum": 1, "type": "integer", "description": "The quantity of Event Hubs Cluster Capacity Units contained in this cluster." diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json index 02608d7b5225..2cef0f38c262 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json @@ -615,6 +615,11 @@ "type": "string", "description": "Provisioning state of the Namespace." }, + "Status": { + "readOnly": true, + "type": "string", + "description": "Status of the Namespace." + }, "createdAt": { "readOnly": true, "format": "date-time", @@ -704,7 +709,6 @@ }, "capacity": { "format": "int32", - "maximum": 20, "minimum": 0, "type": "integer", "description": "The Event Hubs throughput units, value should be 0 to 20 throughput units." From e608cc5c27592114e884080aac6813999e13bb05 Mon Sep 17 00:00:00 2001 From: v-ajnava Date: Sun, 9 May 2021 23:24:18 -0700 Subject: [PATCH 2/3] sismilar changes to 2021-01-01-preview --- .../preview/2021-01-01-preview/namespaces-preview.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json index 9d2ae9f568aa..5d8a60b9c37e 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json @@ -614,6 +614,11 @@ "type": "string", "description": "Provisioning state of the Namespace." }, + "Status": { + "readOnly": true, + "type": "string", + "description": "Status of the Namespace." + }, "createdAt": { "readOnly": true, "format": "date-time", @@ -712,7 +717,6 @@ }, "capacity": { "format": "int32", - "maximum": 20, "minimum": 0, "type": "integer", "description": "The Event Hubs throughput units for Basic or Standard tiers, where value should be 0 to 20 throughput units. The Event Hubs premium units for Premium tier, where value should be 0 to 10 premium units." From 095ced15219ffb4facbb0e4b771142fdc0396bca Mon Sep 17 00:00:00 2001 From: v-ajnava Date: Mon, 10 May 2021 10:03:37 -0700 Subject: [PATCH 3/3] lower case fix --- .../preview/2018-01-01-preview/namespaces-preview.json | 2 +- .../preview/2021-01-01-preview/namespaces-preview.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json index 2cef0f38c262..d478155de650 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2018-01-01-preview/namespaces-preview.json @@ -615,7 +615,7 @@ "type": "string", "description": "Provisioning state of the Namespace." }, - "Status": { + "status": { "readOnly": true, "type": "string", "description": "Status of the Namespace." diff --git a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json index 5d8a60b9c37e..27229f88fa20 100644 --- a/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json +++ b/specification/eventhub/resource-manager/Microsoft.EventHub/preview/2021-01-01-preview/namespaces-preview.json @@ -614,7 +614,7 @@ "type": "string", "description": "Provisioning state of the Namespace." }, - "Status": { + "status": { "readOnly": true, "type": "string", "description": "Status of the Namespace."