See documentation here
use-extension:
"@autorest/python": "5.0.0-dev.20200211.1"
"@autorest/clicommon": "0.3.3"
#"@autorest/python": "latest"
python:
reason: 'make sure python flag exists to load config in python.md'
cli:
reason: 'make sure cli flag exists to load config in cli.md'
require:
- ./readme.python.md
- ./readme.cli.md
- $(this-folder)/readme.az.common.md
pipeline-model: v3
modelerfour:
group-parameters: true
flatten-models: true
flatten-payloads: true
#payload-flattening-threshold: 4
#recursive-payload-flattening: true
pipeline:
python/m2r:
input: clicommon/identity
az/aznamer:
input: python/namer
#output-artifact: source-file-aznamer
az/modifiers:
input: az/aznamer
#output-artifact: source-file-modifiers
az/azgenerator:
input: az/modifiers
output-artifact: source-file-extension
az/emitter:
input:
#- az/clicommon
#- az/aznamer
#- az/modifiers
- az/azgenerator
scope: scope-az
scope-clicommon: false
scope-az:
is-object: false
output-artifact:
#- source-file-pynamer
#- source-file-aznamer
#- source-file-modifiers
- source-file-extension
no-namespace-folders: true
license-header: MICROSOFT_MIT_NO_VERSION
#clear-output-folder: true
scope-codegen/emitter:
output-folder: "$(python-sdk-output-folder)"