autorest/Samples
Johannes Bader 0fb641b58d Enum stuff (#2394)
* x-ms-enum update docs

* test

* reduce complexity
2017-06-27 10:57:27 -07:00
..
1a-code-generation-minimal Content type overrides for streams (#2369) 2017-06-20 10:52:58 -07:00
1b-code-generation-multilang Enum stuff (#2394) 2017-06-27 10:57:27 -07:00
1c-multiple-input-swaggers dead code hunt (#2395) 2017-06-27 10:57:10 -07:00
1d-common-settings max-comment-columns setting (#2392) 2017-06-26 10:15:30 -07:00
2a-validation Things (#2377) 2017-06-21 06:23:17 -07:00
2b-suppressions Things (#2377) 2017-06-21 06:23:17 -07:00
3a-literate-swagger Content type overrides for streams (#2369) 2017-06-20 10:52:58 -07:00
3b-custom-transformations Enum stuff (#2394) 2017-06-27 10:57:27 -07:00
3c-guards Things (#2377) 2017-06-21 06:23:17 -07:00
3d-custom-validation Things (#2377) 2017-06-21 06:23:17 -07:00
test dead code hunt (#2395) 2017-06-27 10:57:10 -07:00
readme.md level up (#2308) 2017-06-01 09:04:20 -07:00

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.