Skip to content

Commit

Permalink
sdk automation, fix TypeSpec java config (#32943)
Browse files Browse the repository at this point in the history
* sdk automation, fix TypeSpec java config

* package-dir

* fix service-dir
  • Loading branch information
XiaofeiCao authored Mar 6, 2025
1 parent 9bf72e0 commit 51ef3f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ parameters:
default: "{project-root}/azure-sdk-for-js/"
"csharp-sdk-folder":
default: "{project-root}/azure-sdk-for-net/"
"service-directory-name":
default: "anomalydetector"
"service-dir":
default: "sdk/anomalydetector"
emit:
- "@azure-tools/typespec-autorest"
linter:
Expand All @@ -23,6 +23,7 @@ options:
emitter-output-dir: "{project-root}/../"
# Uncomment this line and add "@azure-tools/typespec-java" to your package.json to generate Java code
"@azure-tools/typespec-java":
package-dir: "azure-ai-anomalydetector"
namespace: com.azure.ai.anomalydetector
partial-update: true
emitter-output-dir: "{java-sdk-folder}/sdk/{service-directory-name}/azure-ai-anomalydetector"
Expand Down
2 changes: 1 addition & 1 deletion specification/trustedsigning/TrustedSigning/tspconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ options:
description: "Azure trusted signing service"
flavor: azure
"@azure-tools/typespec-java":
package-dir: "azure-developer-trusedsigning"
package-dir: "azure-developer-trustedsigning"
namespace: "com.azure.developer.trustedsigning"
flavor: azure

0 comments on commit 51ef3f8

Please sign in to comment.