@microsoft.azure/autorest.go

    2.0.24 • Public • Published

    Issues

    If you're reading this, you've likely noticed that this repository hasn't enabled issues. That isn't because we don't want your feedback! Please file issues for the repository in one of the following repositories as appropriate:

    • Azure/azure-sdk-for-go : When you're experiencing trouble with the Go SDK, but not with other languages, this is the repository to report bugs to. i.e. What we generate for Long Running Operations doesn't make sense or there's something hard coded that shouldn't be.
    • Azure/go-autorest : File bugs here when your troubles aren't related to a particular operation, or even the pattern of generation, but the core infrastructure that we use to build HTTP request or authenticate. i.e. Retry or Authentication aren't working the way you wanted.
    • Azure/autorest : Should you run into duplicated types, or fundamentally flawed enums, and it seems consistent across languages, but doesn't seem like the problems lies with the actual Azure Service, the problem could lie with how we're modeling the problem as we see it in the Open API Spec. File bugs matching this description to our parent project, "Autorest".
    • Azure/azure-rest-api-specs : If you're getting an error message from the service, saying that it requires a different set of parameters, or you're targeting the wrong endpoint, the problem is likely with the Azure OpenAPI Specs repository. i.e. It seems like the service isn't acurately described.

    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 extension configuration

    use-extension:
      "@microsoft.azure/autorest.modeler": "~2.0.0"
     
    pipeline:
      go/modeler:
        input: swagger-document/identity
        output-artifact: code-model-v1
        scope: go
      go/commonmarker:
        input: modeler
        output-artifact: code-model-v1
      go/cm/transform:
        input: commonmarker
        output-artifact: code-model-v1
      go/cm/emitter:
        input: transform
        scope: scope-cm/emitter
      go/generate:
        plugin: go
        input: cm/transform
        output-artifact: source-file-go
      go/transform:
        input: generate
        output-artifact: source-file-go
        scope: scope-transform-string
      go/emitter:
        input: transform
        scope: scope-go/emitter
     
    scope-go/emitter:
      input-artifact: source-file-go
      output-uri-expr: $key
     
    output-artifact:
    - source-file-go

    Install

    npm i @microsoft.azure/autorest.go

    DownloadsWeekly Downloads

    745

    Version

    2.0.24

    License

    MIT

    Last publish

    Collaborators

    • windowsazure
    • fearthecowboy