diff --git a/documentation/RLC-Swagger-quickstart.md b/documentation/RLC-Swagger-quickstart.md index 2d3faedbb1b6..bb5b8aafccde 100644 --- a/documentation/RLC-Swagger-quickstart.md +++ b/documentation/RLC-Swagger-quickstart.md @@ -47,7 +47,7 @@ We are working on to automatically generate everything right now, but currently security: AADToken security-scopes: https://farmbeats.azure.net/.default use-extension: - "@autorest/typescript": "6.0.0-rc.5" + "@autorest/typescript": "6.0.0-rc.8" ``` ~~~ diff --git a/documentation/RLC-quickstart.md b/documentation/RLC-quickstart.md index 9cb8d7c3ec7d..c647aaca4896 100644 --- a/documentation/RLC-quickstart.md +++ b/documentation/RLC-quickstart.md @@ -32,18 +32,11 @@ We are working on to automatically generate everything right now, but currently ```json "dependencies": { ... - "@azure-tools/cadl-typescript": "1.0.0-beta.7" + "@azure-tools/cadl-typescript": "latest" }, ``` - --- - **NOTE** - - It's always recommended to replace the version of emitter cadl-typescript with the latest version you can find in [npmjs.com](https://www.npmjs.com/package/@azure-tools/cadl-typescript) in latest tag. - - --- - -1. **Configure TypeScript emitter in cadl-project.yaml** +2. **Configure TypeScript emitter in cadl-project.yaml** In Cadl project, modify (or create) `cadl-project.yaml` and configure the SDK generated, using the emitter options on `@azure-tools/cadl-typescript` @@ -72,7 +65,7 @@ We are working on to automatically generate everything right now, but currently --- -1. **Edit rush.json** +3. **Edit rush.json** As the libraries in azure-sdk-for-js repository are managed by rush, you need to add an entry in rush.json under projects section for the first time to make sure it works. For example: ``` @@ -92,7 +85,7 @@ We are working on to automatically generate everything right now, but currently --- -1. **Run command to generate the SDK** +4. **Run command to generate the SDK** We need to configure `--output-dir` to put generated code. The output dir contains two parts: the {SDK_REPO_ROOT} and {PROJECT_ROOT}.