Skip to content

Commit

Permalink
http-specs, clientNamespace for java (#771)
Browse files Browse the repository at this point in the history
* bump tcgc to 0.48.1

* clientNamespace for azure/example/basic
  • Loading branch information
weidongxu-microsoft authored Nov 20, 2024
1 parent 7f6800b commit 7719b7a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .changeset/tiny-fishes-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@azure-tools/cadl-ranch-specs": patch
---

Set clientNamespace for java
3 changes: 3 additions & 0 deletions packages/cadl-ranch-specs/http/azure/example/basic/client.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ using Azure.ClientGenerator.Core;
@route("/azure/example/basic")
namespace Client;

@@clientNamespace(Client, "azure.example.basic", "java");
@@clientNamespace(_Specs_.Azure.Example.Basic, "azure.example.basic", "java");

@client({
name: "AzureExampleClient",
service: _Specs_.Azure.Example.Basic,
Expand Down
2 changes: 1 addition & 1 deletion packages/cadl-ranch-specs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"devDependencies": {
"@azure-tools/typespec-autorest": "0.48.0",
"@azure-tools/typespec-azure-resource-manager": "0.48.0",
"@azure-tools/typespec-client-generator-core": "0.48.0",
"@azure-tools/typespec-client-generator-core": "0.48.1",
"@types/node": "^22.1.0",
"@typespec/openapi": "~0.62.0",
"@typespec/openapi3": "~0.62.0",
Expand Down
16 changes: 8 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7719b7a

Please sign in to comment.