Skip to content
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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

maririos
Copy link
Member

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

@azure-sdk
Copy link
Collaborator

No changes needing a change description found.

enableOperationGroup: true
packageDetails:
name: "@azure/{{#normalizePackageName}}{{parameters.ServiceNamespace}}{{/normalizePackageName}}"
"@azure-tools/typespec-go":
Copy link
Member Author

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":
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@msyyc could you verify?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

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":
Copy link
Member Author

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?

@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 📚 Next docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[tsp init] Azure project should be initiated with a tspconfig file with options for client code generation
3 participants