Skip to content

Commit

Permalink
Use the generated API version (#1479)
Browse files Browse the repository at this point in the history
* Use the generated API version

* update the file
  • Loading branch information
pakrym-stripe authored Jun 22, 2022
1 parent b200cf5 commit 2efb19b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions api_version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//
//
// File generated from our OpenAPI spec
//
//

package stripe

const (
apiVersion string = "2020-08-27"
)

//
// Suppress the unused constant warning
// The constant is not used for GA releases but is used in betas
var _ = apiVersion
2 changes: 1 addition & 1 deletion stripe.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (

const (
// APIVersion is the currently supported API version
APIVersion string = "2020-08-27"
APIVersion string = apiVersion

// APIBackend is a constant representing the API service backend.
APIBackend SupportedBackend = "api"
Expand Down

0 comments on commit 2efb19b

Please sign in to comment.