See documentation here
use-extension:
"@microsoft.azure/autorest.modeler": "2.3.45"
pipeline:
cli/imodeler1:
input: openapi-document/identity
output-artifact: code-model-v1
scope: cli
cli/commonmarker:
input: imodeler1
output-artifact: code-model-v1
cli/cm/transform:
input: commonmarker
output-artifact: code-model-v1
cli/cm/emitter:
input: transform
scope: scope-cm/emitter
cli/generate:
plugin: cli
input: cm/transform
output-artifact: source-file-cli
cli/transform:
input: generate
output-artifact: source-file-cli
scope: scope-transform-string
cli/emitter:
input: transform
scope: scope-cli/emitter
scope-cli/emitter:
input-artifact: source-file-cli
output-uri-expr: $key
output-artifact:
- source-file-cli
#``` yaml
#use-extension:
"cli": "$(this-folder)"
#```