Skip to content

Commit 5b5ae2b

Browse files
authored
1 parent b48297e commit 5b5ae2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

documentation/Generate-code-from-TypeSpec.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ It is recommended to configure TypeSpec package on [REST API specifications](htt
3434
### How to configure tspconfig.yaml
3535
You can reference these two config files to configure the Modular or RLC package:
3636
- [Modular tspconfig.yaml](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/contosowidgetmanager/Contoso.Management/tspconfig.yaml)
37-
- [RLC tspconfig.yaml](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/ai/Face/tspconfig.yaml)
37+
- [RLC tspconfig.yaml](https://github.com/Azure/azure-rest-api-specs/blob/main/specification/contosowidgetmanager/Contoso.WidgetManager/tspconfig.yaml)
3838
39-
Please make sure `service-dir`, `package-dir`, `package-details`, `is-modular-library`, `flavor`(for typespec-ts) is correctly configured. `experimental-extensible-enums` is the optional config.
40-
If you want to enable sample generation with typespec-ts, you should add
39+
Please make sure `service-dir`, `package-dir`, `package-details`, `flavor`(for typespec-ts) is correctly configured. `experimental-extensible-enums` is the optional config.
40+
For control-plane SDKs, the `is-modular-library` option is true by default, while for data-plane SDKs it is false. If you want to generate Modular libraries for data-plane SDKs and you need to get architects approval for that, then you should add
4141
```
42-
generate-sample:true
42+
is-modular-library:true
4343
```
4444
in your tspconfig.yaml
4545

0 commit comments

Comments
 (0)