Created
April 24, 2023 06:54
-
-
Save thisdougb/4da05f4e4e95e12f9ca3efa1167766b6 to your computer and use it in GitHub Desktop.
Modified model_lat_lng for strava v3 api
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Strava API v3 | |
* | |
* The [Swagger Playground](https://developers.strava.com/playground) is the easiest way to familiarize yourself with the Strava API by submitting HTTP requests and observing the responses before you write any client code. It will show what a response will look like with different endpoints depending on the authorization scope you receive from your athletes. To use the Playground, go to https://www.strava.com/settings/api and change your “Authorization Callback Domain” to developers.strava.com. Please note, we only support Swagger 2.0. There is a known issue where you can only select one scope at a time. For more information, please check the section “client code” at https://developers.strava.com/docs. | |
* | |
* API version: 3.0.0 | |
* Generated by: Swagger Codegen (https://github.com/strava-api/strava-codegen.git) | |
*/ | |
package strava | |
// A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. | |
// Original type, which fails to scan the lat/lng values. | |
//type LatLng struct { | |
//} | |
// modified, and now the lat/lng values are scanned correctly. | |
type LatLng []float64 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment