autorest/Samples
Deepak Shankargouda 668aabe2a3 Demoting message importance for missing validator paths (#2590)
* Demoting path not found to verbose

* Regened code

* unused change
2017-10-02 13:56:05 -07:00
..
1a-code-generation-minimal Minor tweaks (#2626) 2017-09-29 13:55:46 -07:00
1b-code-generation-multilang Minor tweaks (#2626) 2017-09-29 13:55:46 -07:00
1c-multiple-input-swaggers Minor tweaks (#2626) 2017-09-29 13:55:46 -07:00
1d-common-settings Minor tweaks (#2626) 2017-09-29 13:55:46 -07:00
2a-validation Demoting message importance for missing validator paths (#2590) 2017-10-02 13:56:05 -07:00
2b-suppressions Demoting message importance for missing validator paths (#2590) 2017-10-02 13:56:05 -07:00
3a-literate-swagger Minor tweaks (#2626) 2017-09-29 13:55:46 -07:00
3b-custom-transformations Demoting message importance for missing validator paths (#2590) 2017-10-02 13:56:05 -07:00
3c-guards Minor tweaks (#2626) 2017-09-29 13:55:46 -07:00
3d-custom-validation Minor tweaks (#2626) 2017-09-29 13:55:46 -07:00
3e-batch-mode Minor tweaks (#2626) 2017-09-29 13:55:46 -07:00
3f-example-generation Minor tweaks (#2626) 2017-09-29 13:55:46 -07:00
test Demoting message importance for missing validator paths (#2590) 2017-10-02 13:56:05 -07: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.