grokify/go-ringcentral-client

Back compat issues with new spec

grokify opened this issue · 1 comments

v3.0.0 of the SDK is being actively worked on in the v3.0.0 branch.

Note: This is a major version change based on a change in the RingCentral API Swagger spec.

This issue is to track a new Swagger spec that is in the works.

1) Glip and Meetings tags now end with [Beta]

apiUtil.ApiClient.GlipApi undefined (type *"github.com/grokify/go-ringcentral/client".APIClient has no field or method GlipApi)

Fix with:

$ perl -p -i -e 's/\s+\[Beta\]\s*$/\n/g' swagger_spec.yaml

2) Various changes

apiUtil.ApiClient.GlipApi.LoadGroup undefined (type *"github.com/grokify/go-ringcentral/client".GlipApiService has no field or method LoadGroup)

  • Old: LoadGroup
  • New: LoadGlipGroup

cannot use groupId (type string) as type []string in argument to apiUtil.ApiClient.GlipApi.LoadGlipGroup

  • Old: string
  • New: []string

apiClient.GlipApi.LoadGroupList undefined (type *"github.com/grokify/go-ringcentral/client".GlipApiService has no field or method LoadGroupList)

  • Old : LoadGroupList
  • New: ListGlipGroups

Closing this for now. Will examine moving to updated RingCentral spec after formal introduction into API Reference / API Explorer due to name changes.