Skip to content

Commit

Permalink
Add api version for java (Azure#31805)
Browse files Browse the repository at this point in the history
* Add api version for java

* Add clientNamespace and clientName for java

* fix comments and format client.tsp
  • Loading branch information
v-hongli1 authored Dec 10, 2024
1 parent e6bf6e8 commit 30844aa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,12 @@ import "@azure-tools/typespec-client-generator-core";

using Azure.ClientGenerator.Core;

@@clientNamespace(Microsoft.DeviceRegistry,
"com.azure.resourcemanager.deviceregistry",
"java"
);
@@clientName(Microsoft.DeviceRegistry, "DeviceRegistryMgmt", "python");
@@clientName(Microsoft.DeviceRegistry,
"DeviceRegistryManagementClient",
"java"
);
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ options:
"@azure-tools/typespec-java":
package-dir: "azure-resourcemanager-deviceregistry"
flavor: "azure"
namespace: "com.azure.resourcemanager.deviceregistry"
service-name: "Device Registry"
api-version: "2024-09-01-preview"
"@azure-tools/typespec-ts":
azureSdkForJs: true
isModularLibrary: true
Expand Down

0 comments on commit 30844aa

Please sign in to comment.