Consolidate '{output-dir}' to the default 'service-dir'
Open
Central-EngSys
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 144
Description
Once all the languages adopt the 'emitter-output-dir' configuration in its emitter option, we would like to move the common `{output-dir}` part to the default `service-dir`. The plan is to have a batch PR to update all the existing 'tspconfig.yaml' in spec repos.
Sample of current config:
```yml
parameters:
"service-dir":
default: "sdk/contoso"
options:
"@azure-tools/typespec-csharp":
emitter-output-dir: "{output-dir}/{service-dir}/{namespace}"
flavor: azure
clear-output-folder: true
model-namespace: true
namespace: "Azure.ResourceManager.Contoso"
```
Contributor guide
Assessment
This issue has not been assessed yet.