Code Generation Process - Azure/autorest.swift GitHub Wiki

  1. Install autorest on your machine.

  2. Convert your Swagger.json to code using:

autorest --verbose --input-file=~/Documents/swagger.json --output-folder=~/Documents/generated/sdk/NAME --namespace=NAMESPACE --use=~/repos/autorest.swift/
  1. If desired, go to the root of the generated code and run jazzy to generate documentation.

  2. Run . /scripts/git_sync.sh to copy the generated files to the private repo branch for review.