microsoft/azure-devops-go-api

[Get Projects Args ] - Wrong type of `ContinuationToken` in SDK, it should be `string` not `int`

Opened this issue · 3 comments

Hi @xuzhang3 unfortunately the owners of the projects API changed this type to int recently, the specs are not fully up to date. In the current specs from which I generated the clients it looks like this:

          {
            "in": "query",
            "name": "continuationToken",
            "description": "Pointer that shows how many projects already been fetched.",
            "required": false,
            "type": "integer",
            "format": "int32"
          },

@nechvatalp thanks for the update

@nechvatalp GetProjectsResponseValue.ContinuationToken should also change to int type
https://github.com/microsoft/azure-devops-go-api/blob/dev/azuredevops/v7/core/client.go#L556