Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
docs: remove pdf download requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
bbortt committed Jun 5, 2024
1 parent 1cc3d3a commit 423455d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 146 deletions.
17 changes: 4 additions & 13 deletions spec/Req_Swisshacks.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,7 @@ As a customer, I want to view my transaction history online for tracking purpose
- **When** I click on "Transaction History"
- **Then** I should see a list of recent transactions

## User Story 6: Account Statement Download
As a customer, I want to download my account statement in PDF format for record-keeping.

### Scenario:
- **Given** I am logged into my online banking account
- **When** I navigate to "Account Statements"
- **And** select the desired statement period
- **Then** I should be able to download the statement in PDF format

## User Story 7: Change Password
## User Story 6: Change Password
As a customer, I want to change my online banking password for security reasons.

### Scenario:
Expand All @@ -65,7 +56,7 @@ As a customer, I want to change my online banking password for security reasons.
- **And** enter my current and new password
- **Then** my password should be updated successfully

## User Story 8: Card Management
## User Story 7: Card Management
As a customer, I want to manage my debit/credit cards online, such as activating, blocking, or requesting replacements.

### Scenario:
Expand All @@ -74,7 +65,7 @@ As a customer, I want to manage my debit/credit cards online, such as activating
- **And** choose the desired card action (e.g., activate, block, replace)
- **Then** the card status should be updated accordingly

## User Story 9: Account Settings Update
## User Story 8: Account Settings Update
As a customer, I want to update my personal details and account preferences online.

### Scenario:
Expand All @@ -83,7 +74,7 @@ As a customer, I want to update my personal details and account preferences onli
- **And** update my contact information or notification preferences
- **Then** my settings should be saved successfully

## User Story 10: Customer Support
## User Story 9: Customer Support
As a customer, I want to contact customer support online for assistance with banking services.

### Scenario:
Expand Down
101 changes: 0 additions & 101 deletions spec/Req_Swisshacks.txt

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import io.quarkus.security.Authenticated;
import jakarta.annotation.security.RolesAllowed;
import jakarta.inject.Inject;
import jakarta.ws.rs.core.Response;
import java.util.List;

@Authenticated
Expand All @@ -31,9 +30,4 @@ public List<AccountBalance> checkAccountBalance() {
.toList())
.orElseThrow();
}

@Override
public Response downloadAccountStatement(String period) {
return null;
}
}
26 changes: 0 additions & 26 deletions src/main/resources/openapi/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,32 +100,6 @@ paths:
$ref: '#/components/schemas/TransactionHistory'
'401':
description: Unauthorized
/accounts/statements:
get:
summary: Download account statement
description: Download an account statement for a specified period.
security:
- bearerAuth: []
parameters:
- name: period
in: query
required: true
schema:
type: string
example: '2022-01'
description: Statement period in YYYY-MM format
responses:
'200':
description: PDF account statement
content:
application/pdf:
schema:
type: string
format: binary
'400':
description: Invalid period format
'401':
description: Unauthorized
/customers/password:
put:
summary: Change password
Expand Down

0 comments on commit 423455d

Please sign in to comment.