Skip to content

Commit

Permalink
chore: add formatter to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis committed Jul 29, 2023
1 parent d453064 commit 0b2fc2f
Show file tree
Hide file tree
Showing 144 changed files with 204 additions and 194 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/codegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
- name: Generate docs
run: |
mix docs
- name: Run formatter
run: mix format
- name: Update latest tag file
run: |
echo "${LATEST_STRIPE_SDK_TAG}" > .latest-tag-stripe-openapi-sdk
Expand Down
2 changes: 1 addition & 1 deletion lib/generated/account.ex
Original file line number Diff line number Diff line change
Expand Up @@ -920,4 +920,4 @@ defmodule Stripe.Account do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/account_link.ex
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ defmodule Stripe.AccountLink do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/api_errors.ex
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ defmodule Stripe.ApiErrors do
type: binary
}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/apple_pay_domain.ex
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ defmodule Stripe.ApplePayDomain do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/application_fee.ex
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ defmodule Stripe.ApplicationFee do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/apps__secret.ex
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@ defmodule Stripe.Apps.Secret do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/balance.ex
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ defmodule Stripe.Balance do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/balance_transaction.ex
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,4 @@ defmodule Stripe.BalanceTransaction do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/bank_account.ex
Original file line number Diff line number Diff line change
Expand Up @@ -256,4 +256,4 @@ defmodule Stripe.BankAccount do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/billing_portal__configuration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -291,4 +291,4 @@ defmodule Stripe.BillingPortal.Configuration do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/billing_portal__session.ex
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,4 @@ defmodule Stripe.BillingPortal.Session do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/capability.ex
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,4 @@ defmodule Stripe.Capability do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/card.ex
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,4 @@ defmodule Stripe.Card do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/cash_balance.ex
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ defmodule Stripe.CashBalance do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/charge.ex
Original file line number Diff line number Diff line change
Expand Up @@ -410,4 +410,4 @@ defmodule Stripe.Charge do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/checkout__session.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1269,4 +1269,4 @@ defmodule Stripe.Checkout.Session do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/country_spec.ex
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ defmodule Stripe.CountrySpec do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/coupon.ex
Original file line number Diff line number Diff line change
Expand Up @@ -248,4 +248,4 @@ defmodule Stripe.Coupon do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/credit_note.ex
Original file line number Diff line number Diff line change
Expand Up @@ -361,4 +361,4 @@ defmodule Stripe.CreditNote do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/credit_note_line_item.ex
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ defmodule Stripe.CreditNoteLineItem do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/customer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -805,4 +805,4 @@ defmodule Stripe.Customer do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/customer_balance_transaction.ex
Original file line number Diff line number Diff line change
Expand Up @@ -255,4 +255,4 @@ defmodule Stripe.CustomerBalanceTransaction do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/customer_cash_balance_transaction.ex
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,4 @@ defmodule Stripe.CustomerCashBalanceTransaction do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_account.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedAccount do
@typedoc "The `deleted_account` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_apple_pay_domain.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedApplePayDomain do
@typedoc "The `deleted_apple_pay_domain` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_coupon.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedCoupon do
@typedoc "The `deleted_coupon` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_customer.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedCustomer do
@typedoc "The `deleted_customer` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_discount.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ defmodule Stripe.DeletedDiscount do
subscription: binary | nil
}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_external_account.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ defmodule Stripe.DeletedExternalAccount do
@typedoc "The `deleted_external_account` type.\n\n\n"
@type t :: %__MODULE__{}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_invoice.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedInvoice do
@typedoc "The `deleted_invoice` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_invoiceitem.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedInvoiceitem do
@typedoc "The `deleted_invoiceitem` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_payment_source.ex
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ defmodule Stripe.DeletedPaymentSource do
@typedoc "The `deleted_payment_source` type.\n\n\n"
@type t :: %__MODULE__{}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_person.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedPerson do
@typedoc "The `deleted_person` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_plan.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedPlan do
@typedoc "The `deleted_plan` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_product.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedProduct do
@typedoc "The `deleted_product` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_radar__value_list.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedRadar.ValueList do
@typedoc "The `deleted_radar.value_list` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_radar__value_list_item.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedRadar.ValueListItem do
@typedoc "The `deleted_radar.value_list_item` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_subscription_item.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedSubscriptionItem do
@typedoc "The `deleted_subscription_item` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_tax_id.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedTaxId do
@typedoc "The `deleted_tax_id` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_terminal__configuration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedTerminal.Configuration do
@typedoc "The `deleted_terminal.configuration` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_terminal__location.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedTerminal.Location do
@typedoc "The `deleted_terminal.location` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_terminal__reader.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedTerminal.Reader do
@typedoc "The `deleted_terminal.reader` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_test_helpers__test_clock.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedTestHelpers.TestClock do
@typedoc "The `deleted_test_helpers.test_clock` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/deleted_webhook_endpoint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ defmodule Stripe.DeletedWebhookEndpoint do
@typedoc "The `deleted_webhook_endpoint` type.\n\n * `deleted` Always true for a deleted object\n * `id` Unique identifier for the object.\n * `object` String representing the object's type. Objects of the same type share the same value.\n"
@type t :: %__MODULE__{deleted: boolean, id: binary, object: binary}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/dispute.ex
Original file line number Diff line number Diff line change
Expand Up @@ -245,4 +245,4 @@ defmodule Stripe.Dispute do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/ephemeral_key.ex
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,4 @@ defmodule Stripe.EphemeralKey do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/event.ex
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,4 @@ defmodule Stripe.Event do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/exchange_rate.ex
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ defmodule Stripe.ExchangeRate do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/external_account.ex
Original file line number Diff line number Diff line change
Expand Up @@ -301,4 +301,4 @@ defmodule Stripe.ExternalAccount do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/fee_refund.ex
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,4 @@ defmodule Stripe.FeeRefund do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/file.ex
Original file line number Diff line number Diff line change
Expand Up @@ -146,4 +146,4 @@ defmodule Stripe.File do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/file_link.ex
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@ defmodule Stripe.FileLink do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/financial_connections__account.ex
Original file line number Diff line number Diff line change
Expand Up @@ -266,4 +266,4 @@ defmodule Stripe.FinancialConnections.Account do
end
)
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/financial_connections__account_owner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ defmodule Stripe.FinancialConnections.AccountOwner do
refreshed_at: integer | nil
}
)
end
end
2 changes: 1 addition & 1 deletion lib/generated/financial_connections__session.ex
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ defmodule Stripe.FinancialConnections.Session do
end
)
)
end
end
Loading

0 comments on commit 0b2fc2f

Please sign in to comment.