Skip to content

Commit

Permalink
Fix typo (#4904)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadelesh authored Mar 12, 2024
1 parent 8d137ce commit 746b972
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@autorest/openapi-to-typespec",
"comment": "fix wrong client lib import name",
"type": "patch"
}
],
"packageName": "@autorest/openapi-to-typespec"
}
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export function getPropertyClientDecorators(element: Property | Parameter): Type
if (element.extensions?.["x-ms-client-flatten"]) {
decorators.push({
name: "flattenProperty",
module: "@typespec/typespec-client-generator-core",
module: "@azure-tools/typespec-client-generator-core",
namespace: "Azure.ClientGenerator.Core",
suppressionCode: "deprecated",
suppressionMessage: "@flattenProperty decorator is not recommended to use.",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Azure.ResourceManager.AlertsManagement;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Azure.ResourceManager.Analysis;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Azure.ResourceManager.ApiManagement;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Azure.ResourceManager.Authorization;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Microsoft.IntegrationSpaces;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Microsoft.Compute;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Azure.ResourceManager.Dns;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Azure.ResourceManager.MachineLearning;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Microsoft.NetworkAnalytics;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Microsoft.AzurePlaywrightService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Microsoft.ServiceNetworking;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Microsoft.AzureSphere;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Microsoft.Storage;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Microsoft.Test;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using AutoRestComplexTestService;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "./main.tsp";
import "@typespec/typespec-client-generator-core";
import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;
using Azure.Keyvault;
Expand Down

0 comments on commit 746b972

Please sign in to comment.