Skip to content

Commit f64d232

Browse files
track2 GA (#10778)
1 parent fc8fba8 commit f64d232

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

documentation/code-gen/configure-python-sdk.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ This is not used by Autorest itself.
8686
8787
``` yaml $(swagger-to-sdk)
8888
swagger-to-sdk:
89-
- repo: azure-sdk-for-python
89+
- repo: azure-sdk-for-python // for track1 SDK
90+
- repo: azure-sdk-for-python-track2 // for track2 SDK
9091
- ...
9192
9293
@@ -226,12 +227,13 @@ After configure all the readme files, autorest can be used to generate SDK.
226227
Track1 SDK is based on AutoRest version V2 that's going to be replaced by version V3.
227228

228229
~~~
229-
autorest --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=C:\ZZ\projects\codegen\azure-sdk-for-python\sdk [email protected]/autorest.python@~4.0.71 --version=V2 ..\azure-rest-api-specs\specification\appconfiguration\resource-manager\readme.md
230+
> autorest --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=C:\ZZ\projects\codegen\azure-sdk-for-python\sdk [email protected]/autorest.python@~4.0.71 --version=V2 ..\azure-rest-api-specs\specification\appconfiguration\resource-manager\readme.md
230231
~~~
231232

232233
### Track2 (for latest Autorest)
233234
Track 2 is based on the latest AutoRest code generator
234235

235236
~~~
236-
autorest --python --track2 --use=@autorest/[email protected] --python-sdks-folder=..\azure-sdk-for-python\sdk --multiapi --python-mode=update ..\azure-rest-api-specs\specification\appconfiguration\resource-manager\readme.md
237+
> autorest --reset
238+
> autorest --python --track2 --use=@autorest/[email protected] --python-sdks-folder=..\azure-sdk-for-python\sdk --multiapi --python-mode=update ..\azure-rest-api-specs\specification\appconfiguration\resource-manager\readme.md
237239
~~~

0 commit comments

Comments
 (0)