lmazuel / autorest.python.v3

Autorest for Python based on Autorest core v3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Autorest plugin configuration

Mapper

use-extension:
  "@microsoft.azure/autorest.remodeler": "beta"

pipeline:

# --- extension remodeler ---

  # "Shake the tree", and normalize the model
  remodeler:
    input: openapi-document/multi-api/identity     # the plugin where we get inputs from

  # allow developer to do transformations on the code model.
  remodeler/new-transform:
    input: remodeler

  # Make some interpretations about what some things in the model mean
  tweakcodemodel:
    input: remodeler/new-transform

  mapper:
    input: tweakcodemodel      # the plugin where we get inputs from
    output-artifact: python-files

  mapper/emitter:
    input: mapper
    scope: scope-mapper/emitter

scope-mapper/emitter:
    input-artifact: python-files
    output-uri-expr: $key

output-artifact: python-files

About

Autorest for Python based on Autorest core v3

License:MIT License


Languages

Language:Python 77.1%Language:HTML 22.9%