Skip to content

Commit 0827ae4

Browse files
committed
CreditCard required
1 parent 2f87445 commit 0827ae4

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

openapi.yaml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,8 @@ paths:
546546
/account/credit-card:
547547
x-linode-cli-command: account
548548
post:
549+
deprecated: true
550+
x-linode-cli-skip: true
549551
x-linode-grant: read_write
550552
tags:
551553
- Account
@@ -566,8 +568,7 @@ paths:
566568
content:
567569
application/json:
568570
schema:
569-
allOf:
570-
- $ref: '#/components/schemas/CreditCard'
571+
$ref: '#/components/schemas/CreditCard'
571572
responses:
572573
'200':
573574
description: Credit Card updated.
@@ -1721,21 +1722,7 @@ paths:
17211722
is_default:
17221723
$ref: '#/components/schemas/PaymentMethod/properties/is_default'
17231724
data:
1724-
type: object
1725-
required:
1726-
- card_number
1727-
- expiry_month
1728-
- expiry_year
1729-
- cvv
1730-
properties:
1731-
card_number:
1732-
$ref: '#/components/schemas/CreditCard/properties/card_number'
1733-
expiry_month:
1734-
$ref: '#/components/schemas/CreditCard/properties/expiry_month'
1735-
expiry_year:
1736-
$ref: '#/components/schemas/CreditCard/properties/expiry_year'
1737-
cvv:
1738-
$ref: '#/components/schemas/CreditCard/properties/cvv'
1725+
$ref: '#/components/schemas/CreditCard'
17391726
responses:
17401727
'200':
17411728
description: Payment Method added.

0 commit comments

Comments
 (0)