зеркало из https://github.com/Azure/autorest.git
0fb641b58d
* x-ms-enum update docs * test * reduce complexity |
||
---|---|---|
.. | ||
1a-code-generation-minimal | ||
1b-code-generation-multilang | ||
1c-multiple-input-swaggers | ||
1d-common-settings | ||
2a-validation | ||
2b-suppressions | ||
3a-literate-swagger | ||
3b-custom-transformations | ||
3c-guards | ||
3d-custom-validation | ||
test | ||
readme.md |
readme.md
Samples
The samples in this folder cover a wide variety of AutoRest features in a tutorial fashion:
- Common code generation scenarios
- Validation
- 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.