Skip to content

Commit

Permalink
Add missing security for Storefront operations (#1740)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashkarpetin authored Jan 16, 2024
1 parent 9577a26 commit 516ebba
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions openapi/paths/storefront/deposit-strategies@{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ get:
summary: Retrieve a deposit strategy
operationId: StorefrontGetDepositStrategy
x-sdk-operation-name: get
security:
- CustomerJWT: []
description: Retrieves a deposit strategy with a specified ID.
responses:
'200':
Expand Down
2 changes: 2 additions & 0 deletions openapi/paths/storefront/plans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ get:
summary: Retrieve a list of plans
operationId: StorefrontGetPlanCollection
x-sdk-operation-name: getAll
security:
- CustomerJWT: []
description: Retrieves a list of plans.
parameters:
- $ref: ../../components/parameters/collectionFilter.yaml
Expand Down
2 changes: 2 additions & 0 deletions openapi/paths/storefront/plans@{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ get:
summary: Retrieve a plan
operationId: StorefrontGetPlan
x-sdk-operation-name: get
security:
- CustomerJWT: []
description: Retrieves a plan with a specified ID.
parameters:
- $ref: ../../components/parameters/collectionExpand.yaml
Expand Down
2 changes: 2 additions & 0 deletions openapi/paths/storefront/products.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ get:
summary: Retrieve products
operationId: StorefrontGetProductCollection
x-sdk-operation-name: getAll
security:
- CustomerJWT: []
description: Retrieves a list of products.
parameters:
- $ref: ../../components/parameters/collectionFilter.yaml
Expand Down
2 changes: 2 additions & 0 deletions openapi/paths/storefront/products@{id}.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ get:
summary: Retrieve a product
operationId: StorefrontGetProduct
x-sdk-operation-name: get
security:
- CustomerJWT: []
description: Retrieves a product with a specified ID.
responses:
200:
Expand Down
1 change: 1 addition & 0 deletions openapi/paths/storefront/ready-to-pay.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ post:
operationId: StorefrontPostReadyToPay
x-sdk-operation-name: readyToPay
security:
- CustomerJWT: []
- PublishableApiKey: []
description: |-
Retrieves available payment methods for a specific transaction or purchase.
Expand Down
2 changes: 1 addition & 1 deletion openapi/paths/storefront/ready-to-payout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ post:
operationId: StorefrontPostReadyToPayout
x-sdk-operation-name: readyToPayout
security:
- PublishableApiKey: []
- CustomerJWT: []
description: |-
Retrieves available payment methods for a specific payout amount and currency.
Expand Down

0 comments on commit 516ebba

Please sign in to comment.