autorest/Samples
Garrett Serack d43c07052d work-in-progress 2019-01-28 10:34:19 -08:00
..
3b-custom-transformations/generated merged from master, fixed some conflicts 2019-01-25 11:58:24 -08:00
openapi-v2 work-in-progress 2019-01-28 10:34:19 -08:00
openapi-v3/1a-code-generation-minimal Revert "Rolled back to changes before modifications to OpenAPI3 loader and testing." 2018-10-11 16:07:52 -07:00
test work-in-progress 2019-01-28 10:34:19 -08:00
readme.md

readme.md

Samples

The samples in this folder cover a wide variety of AutoRest features in a tutorial fashion:

  1. Common code generation scenarios
  2. Validation
  3. Advanced topics, e.g.
    • custom transformations
    • conditional configuration

Running an example

To run any of these examples, call

autorest <path to configuration file>

For instance, if the current directory is this folder (<repo>/Samples), you may run

autorest 1a-code-generation-minimal/readme.md

Alternatively, you may run

autorest 1a-code-generation-minimal

since AutoRest automatically searches folders for a configuration file.