Skip to content

Commit 49a93e0

Browse files
Update README.md
1 parent 61678c3 commit 49a93e0

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

generator/README.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ View the Pipeline Configuration [here](/azure-pipelines-autogen.yml).
3434
#### Onboarding teams to autogeneration pipeline
3535

3636
1. Run `npm run list-basepaths` to discover the specs repo path containing the swagger definitions.
37-
2. Run `npm run generate-single {basePath}` to generate schemas for them. Save the console output to file.
38-
3. Remove all references to the provider namespace from [schemas/2019-04-01/deploymentTemplate.json](/schemas/2019-04-01/deploymentTemplate.json).
39-
4. If there are any modifications to [schemas/common/autogeneratedResources.json](/schemas/common/autogeneratedResources.json), you may need to make corresponding changes to [schemas/2014-04-01-preview/deploymentTemplate.json](/schemas/2014-04-01-preview/deploymentTemplate.json) and [schemas/2015-01-01/deploymentTemplate.json](/schemas/2015-01-01/deploymentTemplate.json).
40-
5. Add the {basePath} to the autogenlist array in [autogenlist.ts](./autogenlist.ts).
41-
6. Commit all the changed files, and submit a PR to this repo with title "Onboarding {provider} for autogeneration". Include the full output saved in step 2 as a comment.
42-
7. Ensure all CI tests pass, and ask the team to review the PR (including tool output) to ensure that all expected resources have been detected and generated as expected.
37+
1. Run `npm run generate-single {basePath}` to generate schemas for them. Save the console output to file.
38+
1. Remove all references to the provider namespace from [schemas/2019-04-01/deploymentTemplate.json](/schemas/2019-04-01/deploymentTemplate.json).
39+
1. Add the {basePath} to the autogenlist array in [autogenlist.ts](./autogenlist.ts).
40+
1. Commit all the changed files, and submit a PR to this repo with title "Onboarding {provider} for autogeneration". Include the full output saved in step 2 as a comment.
41+
1. Ensure all CI tests pass, and ask the team to review the PR (including tool output) to ensure that all expected resources have been detected and generated as expected.

0 commit comments

Comments
 (0)