Skip to content

Commit 35f305a

Browse files
Correct readme typo
1 parent 91deec7 commit 35f305a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ If you want to preview or troubleshoot generation locally, you can use the gener
2424
npm --prefix bicep-types-az/bicep-types/src/bicep-types run build
2525
npm --prefix bicep-types-az/src/autorest.bicep ci
2626
npm --prefix bicep-types-az/src/autorest.bicep run build
27-
1. Run the following commands (replace the base path accordingly - valid paths can be disovered with `npm run list-basepaths -- --specs-dir path/to/azure-rest-api-specs`):
27+
1. Run the following commands, replacing `../azure-rest-api-specs` with your relative path to the swagger repo, and `myprovider/resource-manager` with the base path (discovered with `npm --prefix generator run list-basepaths`)
2828
```bash
29-
cd generator
3029
npm --prefix generator ci
31-
npm --prefix generator run generate-single -- --specs-dir path/to/azure-rest-api-specs --base-path myprovider/resource-manager
30+
npm --prefix generator run generate-single -- --specs-dir ../azure-rest-api-specs --base-path myprovider/resource-manager
3231
```
3332

3433
### Runing Unit Tests

0 commit comments

Comments
 (0)