From 501fa39687acdd37b4eab110ed4be3dba7ade1e7 Mon Sep 17 00:00:00 2001 From: pakrym-stripe <99349468+pakrym-stripe@users.noreply.github.com> Date: Wed, 22 Jun 2022 14:25:42 -0700 Subject: [PATCH] Use the generated API version (#1482) * Use the generated API version 2 * remove comment --- api_version.go | 11 +++++++++++ stripe.go | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 api_version.go diff --git a/api_version.go b/api_version.go new file mode 100644 index 0000000000..63ecf7fccd --- /dev/null +++ b/api_version.go @@ -0,0 +1,11 @@ +// +// +// File generated from our OpenAPI spec +// +// + +package stripe + +const ( + apiVersion string = "2020-08-27" +) diff --git a/stripe.go b/stripe.go index 8b17692ff2..decec37623 100644 --- a/stripe.go +++ b/stripe.go @@ -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"