You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: generator/README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,8 @@ View the Pipeline Configuration [here](/azure-pipelines-autogen.yml).
34
34
#### Onboarding teams to autogeneration pipeline
35
35
36
36
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