Skip to content

Code Generation Process

Travis Prescott edited this page Aug 26, 2020 · 8 revisions
  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.