Azure / typespec-azure

About TypeSpec Azure Libraries
https://azure.github.io/typespec-azure/
MIT License
15 stars 41 forks source link

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

Open josefree opened 1 week ago

josefree commented 1 week ago

Clear and concise description of the problem

suggest to improve the TypeSpec project templates for Azure. New Azure service can start from "tsp init https://aka.ms/typespec/azure-init" to scaffolding their TypeSpec project. Currently, after initializing, the tspconfig.yaml has only autorest configuration. The expectation is that it should be initialized with typespec- configurations too, referring to azure-rest-api-specs/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml at main · Azure/azure-rest-api-specs ('contoso' should be replaced by the namespace specified by user in responding to the question "Please provide ARM Resource Provider Name in Pascal case". see screenshot below.).

Image

Checklist

maririos commented 1 week ago

I believe this is the same as issue I recently opened: https://github.com/Azure/azure-sdk-tools/issues/9382