Open TKIPisalegacycipher opened 3 months ago
Note that the community version of the go SDK already uses and should continue to use golang-meraki/*
to differentiate.
UserAgent is now custom. And with format golang-meraki/* at default
And with format golang-meraki/* at default
This doesn't sound like the right solution, based on my report.
Prerequisites
Describe the bug In https://github.com/meraki/dashboard-api-go/blob/main/sdk/api_client.go, line 85 reads
c.SetUserAgent("MerakiGolang/2.0.4 Cisco")
This UA string has a couple of issues.
Expected behavior
go-meraki/{equivalent Meraki OAS revision number}
, e.g.go-meraki/1.47.0
ApplicationName VendorName
(similar to the python SDK, see line 86 here and line 75 here)ApplicationName VendorName
) so that the full UA string submitted ends up following this format:go-meraki/1.47.0 ApplicationName VendorName
where1.47.0
is the dashboard API revision for which the library is builtScreenshots N/A
Environment (please complete the following information): N/A
Thanks in advance for helping with this.