Install autorest
Generate
The autorest.typescript
SDK generator could generate a new Rest Level Client (LLC/RLC). This generation of RLC is integrated into the existing SDK generator itself and could be activated by passing in the flag --rest-level-client
.
For example, if you would like to generate a RLC Client for body-string-rest
package , the command will be:
autorest --typescript --rest-level-client=true --title=BodyStringRest --license-header=true --security=AADToken --security-scopes= "https://example.org/.default" --package-version=1.0.0-beta.1 --input-file=./swagger/body-string.json --clear-output-folder=true --output-folder=./src/generated/bodyStringRest --package-name=body-string-rest