-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add sdk emitters to arm template #1977
base: main
Are you sure you want to change the base?
Conversation
No changes needing a change description found. |
enableOperationGroup: true | ||
packageDetails: | ||
name: "@azure/{{#normalizePackageName}}{{parameters.ServiceNamespace}}{{/normalizePackageName}}" | ||
"@azure-tools/typespec-go": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tadelesh could you verify?
clear-output-folder: true | ||
model-namespace: false | ||
namespace: "{package-dir}" | ||
"@azure-tools/typespec-python": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@msyyc could you verify?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what is the meaning of normalizePackageName
and ServiceNamespace
and you can refer to the template https://github.com/Azure/azure-rest-api-specs/blob/ab67c148ec716a0d0075770742d54468f128c72e/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml#L18-L23
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied it from the data plane template:
package-dir: "{{#normalizePackageName}}{{parameters.ServiceNamespace}}{{/normalizePackageName}}" |
What do you recommend the generic value for
package-dir
should be?
package-dir: "{{#normalizePackageName}}{{parameters.ServiceNamespace}}{{/normalizePackageName}}" | ||
namespace: com.{{#toLowerCase}}{{parameters.ServiceNamespace}}{{/toLowerCase}} | ||
service-name: "{service-name}" | ||
"@azure-tools/typespec-ts": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wanlwanl could you verify? is modular what we recommend for the template?
You can try these changes here
|
Fixes: #1842
We have been working on updating and reviewing the template for SDK emitters on arm. Adding values here so people get the template when they do
tsp init