AutoRest Ansible Extension
Перейти к файлу
Zim Kalinowski 758e5e83d6 moved initial files in 2020-06-12 09:07:40 +02:00
.scripts moved initial files in 2020-06-12 09:07:40 +02:00
azure-pipelines moved initial files in 2020-06-12 09:07:40 +02:00
common moved initial files in 2020-06-12 09:07:40 +02:00
src moved initial files in 2020-06-12 09:07:40 +02:00
.gitignore moved initial files in 2020-06-12 09:07:40 +02:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2020-06-01 23:52:54 -07:00
LICENSE Initial LICENSE commit 2020-06-01 23:52:50 -07:00
README.md moved initial files in 2020-06-12 09:07:40 +02:00
SECURITY.md moved initial files in 2020-06-12 09:07:40 +02:00
package.json moved initial files in 2020-06-12 09:07:40 +02:00
readme.az.common.md moved initial files in 2020-06-12 09:07:40 +02:00
rush.json moved initial files in 2020-06-12 09:07:40 +02:00
tsconfig.json moved initial files in 2020-06-12 09:07:40 +02:00

README.md

configuration

See documentation here


python:
    reason: 'make sure python flag exists to load config in python.md'
azure-arm: true

output-folder: $(az-output-folder)
debug-output-folder: $(az-output-folder)/_az_debug

use-extension:
  "@autorest/python": "5.0.0-preview.7"
  "@autorest/clicommon": "0.4.9"
  #"@autorest/python": "latest"
  
cli:
    reason: 'make sure cli flag exists to load config in cli.md'
    naming:
        default:
            parameter: 'snake'
            property: 'snake'
            operation: 'snake'
            operationGroup:  'pascal'
            choice:  'pascal'
            choiceValue:  'snake'
            constant:  'snake'
            type:  'pascal'

require:
  - ./readme.python.md
  - ./readme.cli.md
  - $(this-folder)/readme.az.common.md

pipeline-model: v3

modelerfour:
    lenient-model-deduplication: true
    group-parameters: true
    flatten-models: true
    flatten-payloads: true


#payload-flattening-threshold: 4
#recursive-payload-flattening: true

pipeline:
    python/m2r:
        input: clicommon/identity
    az/merger:
        input: python/namer
        #output-artifact: source-file-merger
    az/aznamer:
        input: az/merger
        #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/merger
            #- az/aznamer
            #- az/modifiers
            - az/azgenerator
        scope: scope-az

scope-az:
    is-object: false
    output-artifact:
        #- source-file-pynamer
        #- source-file-aznamer
        #- source-file-modifiers
        #- source-file-merger
        - source-file-extension
    output-folder: $(az-output-folder)

scope-clicommon:
    output-folder: $(debug-output-folder)