From 8b85f6714477a2b08a17de7225abc8e220fbed45 Mon Sep 17 00:00:00 2001 From: "Jiao Di (MSFT)" Date: Fri, 28 Nov 2025 18:00:02 +0800 Subject: [PATCH 1/5] update --- .chronus/changes/fix-spell-error-2025-11-28-17-56-11.md | 7 +++++++ packages/samples/common-types/openapi/v3/types.json | 4 ++-- packages/samples/common-types/openapi/v4/types.json | 4 ++-- packages/samples/common-types/openapi/v5/types.json | 4 ++-- packages/samples/common-types/openapi/v6/types.json | 4 ++-- .../lib/common-types/types-ref.tsp | 2 +- .../lib/common-types/types.tsp | 2 +- .../azure-resource-manager/reference/data-types.md | 2 +- 8 files changed, 18 insertions(+), 11 deletions(-) create mode 100644 .chronus/changes/fix-spell-error-2025-11-28-17-56-11.md diff --git a/.chronus/changes/fix-spell-error-2025-11-28-17-56-11.md b/.chronus/changes/fix-spell-error-2025-11-28-17-56-11.md new file mode 100644 index 0000000000..c14997b1a0 --- /dev/null +++ b/.chronus/changes/fix-spell-error-2025-11-28-17-56-11.md @@ -0,0 +1,7 @@ +--- +changeKind: fix +packages: + - "@azure-tools/typespec-azure-resource-manager" +--- + +Corrected spelling of 'for an operation' from 'for and operation'. diff --git a/packages/samples/common-types/openapi/v3/types.json b/packages/samples/common-types/openapi/v3/types.json index 3d38b861ca..1c17676c7d 100644 --- a/packages/samples/common-types/openapi/v3/types.json +++ b/packages/samples/common-types/openapi/v3/types.json @@ -265,7 +265,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for and operation.", + "description": "Localized display information for an operation.", "properties": { "provider": { "type": "string", @@ -765,4 +765,4 @@ "x-ms-parameter-location": "client" } } -} \ No newline at end of file +} diff --git a/packages/samples/common-types/openapi/v4/types.json b/packages/samples/common-types/openapi/v4/types.json index 0f328e1f6f..a687b73b98 100644 --- a/packages/samples/common-types/openapi/v4/types.json +++ b/packages/samples/common-types/openapi/v4/types.json @@ -267,7 +267,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for and operation.", + "description": "Localized display information for an operation.", "properties": { "provider": { "type": "string", @@ -816,4 +816,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/packages/samples/common-types/openapi/v5/types.json b/packages/samples/common-types/openapi/v5/types.json index 06208f6264..a329689bd1 100644 --- a/packages/samples/common-types/openapi/v5/types.json +++ b/packages/samples/common-types/openapi/v5/types.json @@ -267,7 +267,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for and operation.", + "description": "Localized display information for an operation.", "properties": { "provider": { "type": "string", @@ -823,4 +823,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/packages/samples/common-types/openapi/v6/types.json b/packages/samples/common-types/openapi/v6/types.json index 418397e576..4f2f5fbec4 100644 --- a/packages/samples/common-types/openapi/v6/types.json +++ b/packages/samples/common-types/openapi/v6/types.json @@ -245,7 +245,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for and operation.", + "description": "Localized display information for an operation.", "properties": { "provider": { "type": "string", @@ -801,4 +801,4 @@ "x-ms-parameter-location": "method" } } -} \ No newline at end of file +} diff --git a/packages/typespec-azure-resource-manager/lib/common-types/types-ref.tsp b/packages/typespec-azure-resource-manager/lib/common-types/types-ref.tsp index 6498cccac2..1c520ddf45 100644 --- a/packages/typespec-azure-resource-manager/lib/common-types/types-ref.tsp +++ b/packages/typespec-azure-resource-manager/lib/common-types/types-ref.tsp @@ -131,7 +131,7 @@ namespace Azure.ResourceManager.CommonTypes; @@armCommonDefinition(Operation, "Operation", Azure.ResourceManager.CommonTypes.Versions.v6); /** - * Localized display information for and operation. + * Localized display information for an operation. */ @@armCommonDefinition(OperationDisplay, "OperationDisplay", diff --git a/packages/typespec-azure-resource-manager/lib/common-types/types.tsp b/packages/typespec-azure-resource-manager/lib/common-types/types.tsp index 7421e34b0d..318652cc81 100644 --- a/packages/typespec-azure-resource-manager/lib/common-types/types.tsp +++ b/packages/typespec-azure-resource-manager/lib/common-types/types.tsp @@ -164,7 +164,7 @@ model Operation { } /** - * Localized display information for and operation. + * Localized display information for an operation. */ model OperationDisplay { /** diff --git a/website/src/content/docs/docs/libraries/azure-resource-manager/reference/data-types.md b/website/src/content/docs/docs/libraries/azure-resource-manager/reference/data-types.md index a4a0575963..e0cef6ad88 100644 --- a/website/src/content/docs/docs/libraries/azure-resource-manager/reference/data-types.md +++ b/website/src/content/docs/docs/libraries/azure-resource-manager/reference/data-types.md @@ -1984,7 +1984,7 @@ model Azure.ResourceManager.CommonTypes.Operation ### `OperationDisplay` {#Azure.ResourceManager.CommonTypes.OperationDisplay} -Localized display information for and operation. +Localized display information for an operation. ```typespec model Azure.ResourceManager.CommonTypes.OperationDisplay From 393df9bca8be9f76aa158bac83bcd796855ba658 Mon Sep 17 00:00:00 2001 From: "Jiao Di (MSFT)" Date: Tue, 2 Dec 2025 11:06:43 +0800 Subject: [PATCH 2/5] revert --- packages/samples/common-types/openapi/v3/types.json | 2 +- packages/samples/common-types/openapi/v4/types.json | 2 +- packages/samples/common-types/openapi/v5/types.json | 2 +- packages/samples/common-types/openapi/v6/types.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/samples/common-types/openapi/v3/types.json b/packages/samples/common-types/openapi/v3/types.json index 1c17676c7d..e0d203a4d5 100644 --- a/packages/samples/common-types/openapi/v3/types.json +++ b/packages/samples/common-types/openapi/v3/types.json @@ -265,7 +265,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for an operation.", + "description": "Localized display information for and operation.", "properties": { "provider": { "type": "string", diff --git a/packages/samples/common-types/openapi/v4/types.json b/packages/samples/common-types/openapi/v4/types.json index a687b73b98..0bedafe2b0 100644 --- a/packages/samples/common-types/openapi/v4/types.json +++ b/packages/samples/common-types/openapi/v4/types.json @@ -267,7 +267,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for an operation.", + "description": "Localized display information for and operation.", "properties": { "provider": { "type": "string", diff --git a/packages/samples/common-types/openapi/v5/types.json b/packages/samples/common-types/openapi/v5/types.json index a329689bd1..769c6108a4 100644 --- a/packages/samples/common-types/openapi/v5/types.json +++ b/packages/samples/common-types/openapi/v5/types.json @@ -267,7 +267,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for an operation.", + "description": "Localized display information for and operation.", "properties": { "provider": { "type": "string", diff --git a/packages/samples/common-types/openapi/v6/types.json b/packages/samples/common-types/openapi/v6/types.json index 4f2f5fbec4..a0d3fef29e 100644 --- a/packages/samples/common-types/openapi/v6/types.json +++ b/packages/samples/common-types/openapi/v6/types.json @@ -245,7 +245,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for an operation.", + "description": "Localized display information for and operation.", "properties": { "provider": { "type": "string", From 13bb74715532268f5f88739840fa06023e6a575d Mon Sep 17 00:00:00 2001 From: "Jiao Di (MSFT)" Date: Tue, 2 Dec 2025 11:29:51 +0800 Subject: [PATCH 3/5] update --- packages/samples/common-types/openapi/v3/types.json | 2 +- packages/samples/common-types/openapi/v4/types.json | 2 +- packages/samples/common-types/openapi/v5/types.json | 2 +- packages/samples/common-types/openapi/v6/types.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/samples/common-types/openapi/v3/types.json b/packages/samples/common-types/openapi/v3/types.json index e0d203a4d5..1c17676c7d 100644 --- a/packages/samples/common-types/openapi/v3/types.json +++ b/packages/samples/common-types/openapi/v3/types.json @@ -265,7 +265,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for and operation.", + "description": "Localized display information for an operation.", "properties": { "provider": { "type": "string", diff --git a/packages/samples/common-types/openapi/v4/types.json b/packages/samples/common-types/openapi/v4/types.json index 0bedafe2b0..a687b73b98 100644 --- a/packages/samples/common-types/openapi/v4/types.json +++ b/packages/samples/common-types/openapi/v4/types.json @@ -267,7 +267,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for and operation.", + "description": "Localized display information for an operation.", "properties": { "provider": { "type": "string", diff --git a/packages/samples/common-types/openapi/v5/types.json b/packages/samples/common-types/openapi/v5/types.json index 769c6108a4..a329689bd1 100644 --- a/packages/samples/common-types/openapi/v5/types.json +++ b/packages/samples/common-types/openapi/v5/types.json @@ -267,7 +267,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for and operation.", + "description": "Localized display information for an operation.", "properties": { "provider": { "type": "string", diff --git a/packages/samples/common-types/openapi/v6/types.json b/packages/samples/common-types/openapi/v6/types.json index a0d3fef29e..4f2f5fbec4 100644 --- a/packages/samples/common-types/openapi/v6/types.json +++ b/packages/samples/common-types/openapi/v6/types.json @@ -245,7 +245,7 @@ }, "OperationDisplay": { "type": "object", - "description": "Localized display information for and operation.", + "description": "Localized display information for an operation.", "properties": { "provider": { "type": "string", From 5fa8242784e2eeb4a30a50618c351c27134cb753 Mon Sep 17 00:00:00 2001 From: "Jiao Di (MSFT)" <80496810+v-jiaodi@users.noreply.github.com> Date: Tue, 2 Dec 2025 11:30:51 +0800 Subject: [PATCH 4/5] Fix missing newline at end of types.json From 354c7e0cf12315b9db21199b66f56e67f38d45d6 Mon Sep 17 00:00:00 2001 From: "Jiao Di (MSFT)" Date: Tue, 2 Dec 2025 11:40:53 +0800 Subject: [PATCH 5/5] update --- packages/samples/common-types/openapi/v3/types.json | 2 +- packages/samples/common-types/openapi/v4/types.json | 2 +- packages/samples/common-types/openapi/v5/types.json | 2 +- packages/samples/common-types/openapi/v6/types.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/samples/common-types/openapi/v3/types.json b/packages/samples/common-types/openapi/v3/types.json index 1c17676c7d..db5bbe5660 100644 --- a/packages/samples/common-types/openapi/v3/types.json +++ b/packages/samples/common-types/openapi/v3/types.json @@ -765,4 +765,4 @@ "x-ms-parameter-location": "client" } } -} +} \ No newline at end of file diff --git a/packages/samples/common-types/openapi/v4/types.json b/packages/samples/common-types/openapi/v4/types.json index a687b73b98..6d2e02442c 100644 --- a/packages/samples/common-types/openapi/v4/types.json +++ b/packages/samples/common-types/openapi/v4/types.json @@ -816,4 +816,4 @@ "x-ms-parameter-location": "method" } } -} +} \ No newline at end of file diff --git a/packages/samples/common-types/openapi/v5/types.json b/packages/samples/common-types/openapi/v5/types.json index a329689bd1..19a1f7bb6b 100644 --- a/packages/samples/common-types/openapi/v5/types.json +++ b/packages/samples/common-types/openapi/v5/types.json @@ -823,4 +823,4 @@ "x-ms-parameter-location": "method" } } -} +} \ No newline at end of file diff --git a/packages/samples/common-types/openapi/v6/types.json b/packages/samples/common-types/openapi/v6/types.json index 4f2f5fbec4..f68098f9fa 100644 --- a/packages/samples/common-types/openapi/v6/types.json +++ b/packages/samples/common-types/openapi/v6/types.json @@ -801,4 +801,4 @@ "x-ms-parameter-location": "method" } } -} +} \ No newline at end of file