Skip to content

Request to add Service Endpoint #81

Closed

Description

I'd like to see the Service Endpoint REST API added to this library (https://docs.microsoft.com/en-us/rest/api/vsts/serviceendpoint/endpoints?view=vsts-rest-4.1). It would help when programmatically creating endpoints.

Could you also explain how the APIs are generated? I'm guessing they're autogenerated from OpenAPI/Swagger definitions. I didn't find anything in the scripts directory that shows how to generate the code. Any pointers there would be helpful.

Thanks,

Brandon Richins

Activity

  1. tedchamb commented on Jun 13, 2018

    @tedchamb
    Member

    Brandon Richins (@brichins) The clients are generated using an internal tool available only in the product build system. It uses reflection on the binaries to find information on our controllers, models and routes. We use this tool to generate c#, typescript, node.js, swagger 2.0, java, and python clients. The documentation you found for the REST end points is then generated from the swagger 2.0.

  2. brichins commented on Jun 13, 2018

    @brichins
    Author

    Thanks for your response describing the process. As far as adding the VSTS Service Endpoint REST API to the python-api, are you accepting that as a feature request?

  3. tedchamb commented on Jun 13, 2018

    @tedchamb
    Member

    Brandon Richins (@brichins) Yes, see following pull request: #82

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions