Skip to content

Commit d5edaed

Browse files
Feat: Clean up response codes
1 parent c35994d commit d5edaed

File tree

91 files changed

+333
-463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+333
-463
lines changed

dist/paystack.yaml

Lines changed: 74 additions & 126 deletions
Large diffs are not rendered by default.

main/paystack.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,6 @@ paths:
205205
$ref: './resources/dispute/resolve.yaml'
206206
/dispute/{id}/evidence:
207207
$ref: './resources/dispute/evidence.yaml'
208-
/bvn/match:
209-
$ref: './resources/verification/bvn-match.yaml'
210-
/bank/resolve_bvn/{bvn}:
211-
$ref: './resources/verification/resolve-bvn.yaml'
212208
/bank/resolve:
213209
$ref: './resources/verification/resolve-bank.yaml'
214210
/decision/bin/{bin}:

main/resources/balance/fetch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ get:
66
description: Check your Paystack account balance
77
responses:
88
200:
9-
$ref: '../../responses/created.yaml'
9+
$ref: '../../responses/ok.yaml'
1010
401:
1111
$ref: '../../responses/unauthorized.yaml'
1212
404:

main/resources/balance/ledger.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ get:
2828
description: The end date
2929
responses:
3030
200:
31-
$ref: '../../responses/created.yaml'
31+
$ref: '../../responses/ok.yaml'
3232
401:
3333
$ref: '../../responses/unauthorized.yaml'
3434
404:

main/resources/bulk-charge/charges.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ get:
1212
type: string
1313
responses:
1414
200:
15-
$ref: '../../responses/created.yaml'
15+
$ref: '../../responses/ok.yaml'
1616
401:
1717
$ref: '../../responses/unauthorized.yaml'
1818
404:

main/resources/bulk-charge/fetch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ get:
1212
operationId: bulkCharge_fetch
1313
responses:
1414
200:
15-
$ref: '../../responses/created.yaml'
15+
$ref: '../../responses/ok.yaml'
1616
401:
1717
$ref: '../../responses/unauthorized.yaml'
1818
404:

main/resources/bulk-charge/index.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ post:
2121
items:
2222
$ref: '../../schemas/bulk-charge/Initiate.yaml'
2323
responses:
24-
201:
25-
$ref: '../../responses/created.yaml'
24+
200:
25+
$ref: '../../responses/ok.yaml'
2626
401:
2727
$ref: '../../responses/unauthorized.yaml'
2828
default:
@@ -57,7 +57,7 @@ get:
5757
description: The end date
5858
responses:
5959
200:
60-
$ref: '../../responses/created.yaml'
60+
$ref: '../../responses/ok.yaml'
6161
401:
6262
$ref: '../../responses/unauthorized.yaml'
6363
404:

main/resources/bulk-charge/pause.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ get:
1212
type: string
1313
responses:
1414
200:
15-
$ref: '../../responses/created.yaml'
15+
$ref: '../../responses/ok.yaml'
1616
401:
1717
$ref: '../../responses/unauthorized.yaml'
1818
404:

main/resources/bulk-charge/resume-charge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ get:
1414
type: string
1515
responses:
1616
200:
17-
$ref: '../../responses/created.yaml'
17+
$ref: '../../responses/ok.yaml'
1818
401:
1919
$ref: '../../responses/unauthorized.yaml'
2020
404:

main/resources/charge/create.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ post:
1212
schema:
1313
$ref: '../../schemas/charge/Charge.yaml'
1414
responses:
15-
201:
16-
$ref: '../../responses/created.yaml'
15+
200:
16+
$ref: '../../responses/ok.yaml'
1717
401:
1818
$ref: '../../responses/unauthorized.yaml'
1919
default:

0 commit comments

Comments
 (0)